hostinger-api-sdk 0.0.13 → 0.0.15
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/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- package/README.md +2 -2
- package/api.ts +557 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +469 -103
- package/dist/api.js +352 -12
- 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 +469 -103
- package/dist/esm/api.js +345 -9
- 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/ReachContactsApi.md +224 -0
- package/docs/ReachListContactsV1200Response.md +22 -0
- package/docs/ReachV1ContactsContactResource.md +34 -0
- package/docs/ReachV1ContactsGroupsContactGroupResource.md +22 -0
- package/docs/ReachV1ContactsStoreRequest.md +28 -0
- package/docs/VPSDockerManagerApi.md +2 -2
- package/docs/VPSV1BackupBackupResource.md +4 -0
- package/docs/VPSV1DockerManagerContainerResource.md +2 -0
- package/docs/VPSV1DockerManagerContentResource.md +2 -0
- package/docs/VPSV1DockerManagerProjectResource.md +2 -0
- package/docs/VPSV1SnapshotSnapshotResource.md +2 -0
- package/docs/VPSV1VirtualMachineDockerManagerUpRequest.md +2 -0
- package/docs/VPSV1VirtualMachineVirtualMachineResource.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.
|
|
4
|
+
* API Version: 0.1.7
|
|
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
|
|
@@ -1429,6 +1429,147 @@ export interface InlineObject2Errors {
|
|
|
1429
1429
|
*/
|
|
1430
1430
|
'field_2': Array<any>;
|
|
1431
1431
|
}
|
|
1432
|
+
/**
|
|
1433
|
+
*
|
|
1434
|
+
* @export
|
|
1435
|
+
* @interface ReachListContactsV1200Response
|
|
1436
|
+
*/
|
|
1437
|
+
export interface ReachListContactsV1200Response {
|
|
1438
|
+
/**
|
|
1439
|
+
* Array of [`Reach.V1.Contacts.ContactResource`](#model/reachv1contactscontactresource)
|
|
1440
|
+
* @type {Array<ReachV1ContactsContactResource>}
|
|
1441
|
+
* @memberof ReachListContactsV1200Response
|
|
1442
|
+
*/
|
|
1443
|
+
'data': Array<ReachV1ContactsContactResource>;
|
|
1444
|
+
/**
|
|
1445
|
+
*
|
|
1446
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
1447
|
+
* @memberof ReachListContactsV1200Response
|
|
1448
|
+
*/
|
|
1449
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @export
|
|
1454
|
+
* @interface ReachV1ContactsContactResource
|
|
1455
|
+
*/
|
|
1456
|
+
export interface ReachV1ContactsContactResource {
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof ReachV1ContactsContactResource
|
|
1461
|
+
*/
|
|
1462
|
+
'uuid': string;
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @type {string}
|
|
1466
|
+
* @memberof ReachV1ContactsContactResource
|
|
1467
|
+
*/
|
|
1468
|
+
'name': string;
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @type {string}
|
|
1472
|
+
* @memberof ReachV1ContactsContactResource
|
|
1473
|
+
*/
|
|
1474
|
+
'surname': string;
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @type {string}
|
|
1478
|
+
* @memberof ReachV1ContactsContactResource
|
|
1479
|
+
*/
|
|
1480
|
+
'email': string;
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {string}
|
|
1484
|
+
* @memberof ReachV1ContactsContactResource
|
|
1485
|
+
*/
|
|
1486
|
+
'subscription_status': ReachV1ContactsContactResourceSubscriptionStatusEnum;
|
|
1487
|
+
/**
|
|
1488
|
+
*
|
|
1489
|
+
* @type {string}
|
|
1490
|
+
* @memberof ReachV1ContactsContactResource
|
|
1491
|
+
*/
|
|
1492
|
+
'subscribed_at': string;
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @type {string}
|
|
1496
|
+
* @memberof ReachV1ContactsContactResource
|
|
1497
|
+
*/
|
|
1498
|
+
'source': ReachV1ContactsContactResourceSourceEnum | null;
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @type {string}
|
|
1502
|
+
* @memberof ReachV1ContactsContactResource
|
|
1503
|
+
*/
|
|
1504
|
+
'note': string | null;
|
|
1505
|
+
}
|
|
1506
|
+
export declare const ReachV1ContactsContactResourceSubscriptionStatusEnum: {
|
|
1507
|
+
readonly Subscribed: "subscribed";
|
|
1508
|
+
readonly Unsubscribed: "unsubscribed";
|
|
1509
|
+
};
|
|
1510
|
+
export type ReachV1ContactsContactResourceSubscriptionStatusEnum = typeof ReachV1ContactsContactResourceSubscriptionStatusEnum[keyof typeof ReachV1ContactsContactResourceSubscriptionStatusEnum];
|
|
1511
|
+
export declare const ReachV1ContactsContactResourceSourceEnum: {
|
|
1512
|
+
readonly Sync: "sync";
|
|
1513
|
+
readonly Import: "import";
|
|
1514
|
+
readonly Manual: "manual";
|
|
1515
|
+
};
|
|
1516
|
+
export type ReachV1ContactsContactResourceSourceEnum = typeof ReachV1ContactsContactResourceSourceEnum[keyof typeof ReachV1ContactsContactResourceSourceEnum];
|
|
1517
|
+
/**
|
|
1518
|
+
*
|
|
1519
|
+
* @export
|
|
1520
|
+
* @interface ReachV1ContactsGroupsContactGroupResource
|
|
1521
|
+
*/
|
|
1522
|
+
export interface ReachV1ContactsGroupsContactGroupResource {
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @memberof ReachV1ContactsGroupsContactGroupResource
|
|
1527
|
+
*/
|
|
1528
|
+
'uuid': string;
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @type {string}
|
|
1532
|
+
* @memberof ReachV1ContactsGroupsContactGroupResource
|
|
1533
|
+
*/
|
|
1534
|
+
'title': string;
|
|
1535
|
+
}
|
|
1536
|
+
/**
|
|
1537
|
+
*
|
|
1538
|
+
* @export
|
|
1539
|
+
* @interface ReachV1ContactsStoreRequest
|
|
1540
|
+
*/
|
|
1541
|
+
export interface ReachV1ContactsStoreRequest {
|
|
1542
|
+
/**
|
|
1543
|
+
*
|
|
1544
|
+
* @type {string}
|
|
1545
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
1546
|
+
*/
|
|
1547
|
+
'email': string;
|
|
1548
|
+
/**
|
|
1549
|
+
*
|
|
1550
|
+
* @type {string}
|
|
1551
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
1552
|
+
*/
|
|
1553
|
+
'name': string | null;
|
|
1554
|
+
/**
|
|
1555
|
+
*
|
|
1556
|
+
* @type {string}
|
|
1557
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
1558
|
+
*/
|
|
1559
|
+
'surname': string | null;
|
|
1560
|
+
/**
|
|
1561
|
+
*
|
|
1562
|
+
* @type {Array<string>}
|
|
1563
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
1564
|
+
*/
|
|
1565
|
+
'group_uuids': Array<string> | null;
|
|
1566
|
+
/**
|
|
1567
|
+
*
|
|
1568
|
+
* @type {string}
|
|
1569
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
1570
|
+
*/
|
|
1571
|
+
'note': string | null;
|
|
1572
|
+
}
|
|
1432
1573
|
/**
|
|
1433
1574
|
*
|
|
1434
1575
|
* @export
|
|
@@ -1581,6 +1722,18 @@ export interface VPSV1BackupBackupResource {
|
|
|
1581
1722
|
* @memberof VPSV1BackupBackupResource
|
|
1582
1723
|
*/
|
|
1583
1724
|
'id': number;
|
|
1725
|
+
/**
|
|
1726
|
+
* Backup size in kilobytes
|
|
1727
|
+
* @type {number}
|
|
1728
|
+
* @memberof VPSV1BackupBackupResource
|
|
1729
|
+
*/
|
|
1730
|
+
'size': number;
|
|
1731
|
+
/**
|
|
1732
|
+
* Estimated backup restore time in seconds
|
|
1733
|
+
* @type {number}
|
|
1734
|
+
* @memberof VPSV1BackupBackupResource
|
|
1735
|
+
*/
|
|
1736
|
+
'restore_time': number;
|
|
1584
1737
|
/**
|
|
1585
1738
|
* Location of the backup
|
|
1586
1739
|
* @type {string}
|
|
@@ -1746,6 +1899,12 @@ export interface VPSV1DockerManagerContainerResource {
|
|
|
1746
1899
|
* @memberof VPSV1DockerManagerContainerResource
|
|
1747
1900
|
*/
|
|
1748
1901
|
'state': VPSV1DockerManagerContainerResourceStateEnum;
|
|
1902
|
+
/**
|
|
1903
|
+
* Container health status
|
|
1904
|
+
* @type {string}
|
|
1905
|
+
* @memberof VPSV1DockerManagerContainerResource
|
|
1906
|
+
*/
|
|
1907
|
+
'health': VPSV1DockerManagerContainerResourceHealthEnum;
|
|
1749
1908
|
/**
|
|
1750
1909
|
* Array of [`VPS.V1.DockerManager.ContainerPortResource`](#model/vpsv1dockermanagercontainerportresource)
|
|
1751
1910
|
* @type {Array<VPSV1DockerManagerContainerPortResource>}
|
|
@@ -1769,6 +1928,13 @@ export declare const VPSV1DockerManagerContainerResourceStateEnum: {
|
|
|
1769
1928
|
readonly Stopping: "stopping";
|
|
1770
1929
|
};
|
|
1771
1930
|
export type VPSV1DockerManagerContainerResourceStateEnum = typeof VPSV1DockerManagerContainerResourceStateEnum[keyof typeof VPSV1DockerManagerContainerResourceStateEnum];
|
|
1931
|
+
export declare const VPSV1DockerManagerContainerResourceHealthEnum: {
|
|
1932
|
+
readonly Starting: "starting";
|
|
1933
|
+
readonly Healthy: "healthy";
|
|
1934
|
+
readonly Unhealthy: "unhealthy";
|
|
1935
|
+
readonly Empty: "";
|
|
1936
|
+
};
|
|
1937
|
+
export type VPSV1DockerManagerContainerResourceHealthEnum = typeof VPSV1DockerManagerContainerResourceHealthEnum[keyof typeof VPSV1DockerManagerContainerResourceHealthEnum];
|
|
1772
1938
|
/**
|
|
1773
1939
|
*
|
|
1774
1940
|
* @export
|
|
@@ -1824,6 +1990,12 @@ export interface VPSV1DockerManagerContentResource {
|
|
|
1824
1990
|
* @memberof VPSV1DockerManagerContentResource
|
|
1825
1991
|
*/
|
|
1826
1992
|
'content': string;
|
|
1993
|
+
/**
|
|
1994
|
+
* Project environment variables
|
|
1995
|
+
* @type {string}
|
|
1996
|
+
* @memberof VPSV1DockerManagerContentResource
|
|
1997
|
+
*/
|
|
1998
|
+
'environment': string | null;
|
|
1827
1999
|
}
|
|
1828
2000
|
/**
|
|
1829
2001
|
*
|
|
@@ -1893,6 +2065,12 @@ export interface VPSV1DockerManagerProjectResource {
|
|
|
1893
2065
|
* @memberof VPSV1DockerManagerProjectResource
|
|
1894
2066
|
*/
|
|
1895
2067
|
'path': string;
|
|
2068
|
+
/**
|
|
2069
|
+
* Array of [`VPS.V1.DockerManager.ContainerResource`](#model/vpsv1dockermanagercontainerresource)
|
|
2070
|
+
* @type {Array<VPSV1DockerManagerContainerResource>}
|
|
2071
|
+
* @memberof VPSV1DockerManagerProjectResource
|
|
2072
|
+
*/
|
|
2073
|
+
'containers': Array<VPSV1DockerManagerContainerResource>;
|
|
1896
2074
|
}
|
|
1897
2075
|
export declare const VPSV1DockerManagerProjectResourceStateEnum: {
|
|
1898
2076
|
readonly Running: "running";
|
|
@@ -2329,6 +2507,12 @@ export interface VPSV1SnapshotSnapshotResource {
|
|
|
2329
2507
|
* @memberof VPSV1SnapshotSnapshotResource
|
|
2330
2508
|
*/
|
|
2331
2509
|
'id': number;
|
|
2510
|
+
/**
|
|
2511
|
+
* Estimated snapshot restore time in seconds
|
|
2512
|
+
* @type {number}
|
|
2513
|
+
* @memberof VPSV1SnapshotSnapshotResource
|
|
2514
|
+
*/
|
|
2515
|
+
'restore_time': number;
|
|
2332
2516
|
/**
|
|
2333
2517
|
*
|
|
2334
2518
|
* @type {string}
|
|
@@ -2391,6 +2575,12 @@ export interface VPSV1VirtualMachineDockerManagerUpRequest {
|
|
|
2391
2575
|
* @memberof VPSV1VirtualMachineDockerManagerUpRequest
|
|
2392
2576
|
*/
|
|
2393
2577
|
'content': string;
|
|
2578
|
+
/**
|
|
2579
|
+
* Project environment variables
|
|
2580
|
+
* @type {string}
|
|
2581
|
+
* @memberof VPSV1VirtualMachineDockerManagerUpRequest
|
|
2582
|
+
*/
|
|
2583
|
+
'environment': string | null;
|
|
2394
2584
|
}
|
|
2395
2585
|
/**
|
|
2396
2586
|
*
|
|
@@ -2673,6 +2863,12 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
|
|
|
2673
2863
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
2674
2864
|
*/
|
|
2675
2865
|
'subscription_id': string | null;
|
|
2866
|
+
/**
|
|
2867
|
+
* Data center ID
|
|
2868
|
+
* @type {number}
|
|
2869
|
+
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
2870
|
+
*/
|
|
2871
|
+
'data_center_id': number | null;
|
|
2676
2872
|
/**
|
|
2677
2873
|
* VPS plan name
|
|
2678
2874
|
* @type {string}
|
|
@@ -2843,7 +3039,7 @@ export declare class BillingCatalogApi extends BaseAPI {
|
|
|
2843
3039
|
* @throws {RequiredError}
|
|
2844
3040
|
* @memberof BillingCatalogApi
|
|
2845
3041
|
*/
|
|
2846
|
-
getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1CatalogCatalogItemResource[], any>>;
|
|
3042
|
+
getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1CatalogCatalogItemResource[], any, {}>>;
|
|
2847
3043
|
}
|
|
2848
3044
|
/**
|
|
2849
3045
|
* @export
|
|
@@ -2914,7 +3110,7 @@ export declare class BillingOrdersApi extends BaseAPI {
|
|
|
2914
3110
|
* @throws {RequiredError}
|
|
2915
3111
|
* @memberof BillingOrdersApi
|
|
2916
3112
|
*/
|
|
2917
|
-
createServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
|
|
3113
|
+
createServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any, {}>>;
|
|
2918
3114
|
}
|
|
2919
3115
|
/**
|
|
2920
3116
|
* BillingPaymentMethodsApi - axios parameter creator
|
|
@@ -3018,7 +3214,7 @@ export declare class BillingPaymentMethodsApi extends BaseAPI {
|
|
|
3018
3214
|
* @throws {RequiredError}
|
|
3019
3215
|
* @memberof BillingPaymentMethodsApi
|
|
3020
3216
|
*/
|
|
3021
|
-
deletePaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3217
|
+
deletePaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3022
3218
|
/**
|
|
3023
3219
|
* Retrieve available payment methods that can be used for placing new orders. If you want to add new payment method, please use [hPanel](https://hpanel.hostinger.com/billing/payment-methods). Use this endpoint to view available payment options before creating orders.
|
|
3024
3220
|
* @summary Get payment method list
|
|
@@ -3026,7 +3222,7 @@ export declare class BillingPaymentMethodsApi extends BaseAPI {
|
|
|
3026
3222
|
* @throws {RequiredError}
|
|
3027
3223
|
* @memberof BillingPaymentMethodsApi
|
|
3028
3224
|
*/
|
|
3029
|
-
getPaymentMethodListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1PaymentMethodPaymentMethodResource[], any>>;
|
|
3225
|
+
getPaymentMethodListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1PaymentMethodPaymentMethodResource[], any, {}>>;
|
|
3030
3226
|
/**
|
|
3031
3227
|
* Set the default payment method for your account. Use this endpoint to configure the primary payment method for future orders.
|
|
3032
3228
|
* @summary Set default payment method
|
|
@@ -3035,7 +3231,7 @@ export declare class BillingPaymentMethodsApi extends BaseAPI {
|
|
|
3035
3231
|
* @throws {RequiredError}
|
|
3036
3232
|
* @memberof BillingPaymentMethodsApi
|
|
3037
3233
|
*/
|
|
3038
|
-
setDefaultPaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3234
|
+
setDefaultPaymentMethodV1(paymentMethodId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3039
3235
|
}
|
|
3040
3236
|
/**
|
|
3041
3237
|
* BillingSubscriptionsApi - axios parameter creator
|
|
@@ -3119,7 +3315,7 @@ export declare class BillingSubscriptionsApi extends BaseAPI {
|
|
|
3119
3315
|
* @throws {RequiredError}
|
|
3120
3316
|
* @memberof BillingSubscriptionsApi
|
|
3121
3317
|
*/
|
|
3122
|
-
cancelSubscriptionV1(subscriptionId: string, billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3318
|
+
cancelSubscriptionV1(subscriptionId: string, billingV1SubscriptionCancelRequest: BillingV1SubscriptionCancelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3123
3319
|
/**
|
|
3124
3320
|
* Retrieve a list of all subscriptions associated with your account. Use this endpoint to monitor active services and billing status.
|
|
3125
3321
|
* @summary Get subscription list
|
|
@@ -3127,7 +3323,7 @@ export declare class BillingSubscriptionsApi extends BaseAPI {
|
|
|
3127
3323
|
* @throws {RequiredError}
|
|
3128
3324
|
* @memberof BillingSubscriptionsApi
|
|
3129
3325
|
*/
|
|
3130
|
-
getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1SubscriptionSubscriptionResource[], any>>;
|
|
3326
|
+
getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1SubscriptionSubscriptionResource[], any, {}>>;
|
|
3131
3327
|
}
|
|
3132
3328
|
/**
|
|
3133
3329
|
* DNSSnapshotApi - axios parameter creator
|
|
@@ -3240,7 +3436,7 @@ export declare class DNSSnapshotApi extends BaseAPI {
|
|
|
3240
3436
|
* @throws {RequiredError}
|
|
3241
3437
|
* @memberof DNSSnapshotApi
|
|
3242
3438
|
*/
|
|
3243
|
-
getDNSSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotResource[], any>>;
|
|
3439
|
+
getDNSSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotResource[], any, {}>>;
|
|
3244
3440
|
/**
|
|
3245
3441
|
* Retrieve particular DNS snapshot with contents of DNS zone records. Use this endpoint to view historical DNS configurations for domains.
|
|
3246
3442
|
* @summary Get DNS snapshot
|
|
@@ -3250,7 +3446,7 @@ export declare class DNSSnapshotApi extends BaseAPI {
|
|
|
3250
3446
|
* @throws {RequiredError}
|
|
3251
3447
|
* @memberof DNSSnapshotApi
|
|
3252
3448
|
*/
|
|
3253
|
-
getDNSSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotWithContentResource, any>>;
|
|
3449
|
+
getDNSSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotWithContentResource, any, {}>>;
|
|
3254
3450
|
/**
|
|
3255
3451
|
* Restore DNS zone to the selected snapshot. Use this endpoint to revert domain DNS to a previous configuration.
|
|
3256
3452
|
* @summary Restore DNS snapshot
|
|
@@ -3260,7 +3456,7 @@ export declare class DNSSnapshotApi extends BaseAPI {
|
|
|
3260
3456
|
* @throws {RequiredError}
|
|
3261
3457
|
* @memberof DNSSnapshotApi
|
|
3262
3458
|
*/
|
|
3263
|
-
restoreDNSSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3459
|
+
restoreDNSSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3264
3460
|
}
|
|
3265
3461
|
/**
|
|
3266
3462
|
* DNSZoneApi - axios parameter creator
|
|
@@ -3428,7 +3624,7 @@ export declare class DNSZoneApi extends BaseAPI {
|
|
|
3428
3624
|
* @throws {RequiredError}
|
|
3429
3625
|
* @memberof DNSZoneApi
|
|
3430
3626
|
*/
|
|
3431
|
-
deleteDNSRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3627
|
+
deleteDNSRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3432
3628
|
/**
|
|
3433
3629
|
* Retrieve DNS zone records for a specific domain. Use this endpoint to view current DNS configuration for domain management.
|
|
3434
3630
|
* @summary Get DNS records
|
|
@@ -3437,7 +3633,7 @@ export declare class DNSZoneApi extends BaseAPI {
|
|
|
3437
3633
|
* @throws {RequiredError}
|
|
3438
3634
|
* @memberof DNSZoneApi
|
|
3439
3635
|
*/
|
|
3440
|
-
getDNSRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1ZoneRecordResource[], any>>;
|
|
3636
|
+
getDNSRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1ZoneRecordResource[], any, {}>>;
|
|
3441
3637
|
/**
|
|
3442
3638
|
* Reset DNS zone to the default records. Use this endpoint to restore domain DNS to original configuration.
|
|
3443
3639
|
* @summary Reset DNS records
|
|
@@ -3447,7 +3643,7 @@ export declare class DNSZoneApi extends BaseAPI {
|
|
|
3447
3643
|
* @throws {RequiredError}
|
|
3448
3644
|
* @memberof DNSZoneApi
|
|
3449
3645
|
*/
|
|
3450
|
-
resetDNSRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3646
|
+
resetDNSRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3451
3647
|
/**
|
|
3452
3648
|
* Update DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added. Use this endpoint to modify domain DNS configuration.
|
|
3453
3649
|
* @summary Update DNS records
|
|
@@ -3457,7 +3653,7 @@ export declare class DNSZoneApi extends BaseAPI {
|
|
|
3457
3653
|
* @throws {RequiredError}
|
|
3458
3654
|
* @memberof DNSZoneApi
|
|
3459
3655
|
*/
|
|
3460
|
-
updateDNSRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3656
|
+
updateDNSRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3461
3657
|
/**
|
|
3462
3658
|
* Validate DNS records prior to update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code. Use this endpoint to verify DNS record validity before applying changes.
|
|
3463
3659
|
* @summary Validate DNS records
|
|
@@ -3467,7 +3663,7 @@ export declare class DNSZoneApi extends BaseAPI {
|
|
|
3467
3663
|
* @throws {RequiredError}
|
|
3468
3664
|
* @memberof DNSZoneApi
|
|
3469
3665
|
*/
|
|
3470
|
-
validateDNSRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3666
|
+
validateDNSRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3471
3667
|
}
|
|
3472
3668
|
/**
|
|
3473
3669
|
* DomainsAvailabilityApi - axios parameter creator
|
|
@@ -3526,7 +3722,7 @@ export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
|
3526
3722
|
* @throws {RequiredError}
|
|
3527
3723
|
* @memberof DomainsAvailabilityApi
|
|
3528
3724
|
*/
|
|
3529
|
-
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1AvailabilityAvailabilityResource[], any>>;
|
|
3725
|
+
checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1AvailabilityAvailabilityResource[], any, {}>>;
|
|
3530
3726
|
}
|
|
3531
3727
|
/**
|
|
3532
3728
|
* DomainsForwardingApi - axios parameter creator
|
|
@@ -3633,7 +3829,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
3633
3829
|
* @throws {RequiredError}
|
|
3634
3830
|
* @memberof DomainsForwardingApi
|
|
3635
3831
|
*/
|
|
3636
|
-
createDomainForwardingV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any>>;
|
|
3832
|
+
createDomainForwardingV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}>>;
|
|
3637
3833
|
/**
|
|
3638
3834
|
* Delete domain forwarding data. Use this endpoint to remove redirect configuration from domains.
|
|
3639
3835
|
* @summary Delete domain forwarding
|
|
@@ -3642,7 +3838,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
3642
3838
|
* @throws {RequiredError}
|
|
3643
3839
|
* @memberof DomainsForwardingApi
|
|
3644
3840
|
*/
|
|
3645
|
-
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
3841
|
+
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3646
3842
|
/**
|
|
3647
3843
|
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
3648
3844
|
* @summary Get domain forwarding
|
|
@@ -3651,7 +3847,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
3651
3847
|
* @throws {RequiredError}
|
|
3652
3848
|
* @memberof DomainsForwardingApi
|
|
3653
3849
|
*/
|
|
3654
|
-
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any>>;
|
|
3850
|
+
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}>>;
|
|
3655
3851
|
}
|
|
3656
3852
|
/**
|
|
3657
3853
|
* DomainsPortfolioApi - axios parameter creator
|
|
@@ -3878,7 +4074,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3878
4074
|
* @throws {RequiredError}
|
|
3879
4075
|
* @memberof DomainsPortfolioApi
|
|
3880
4076
|
*/
|
|
3881
|
-
disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
4077
|
+
disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3882
4078
|
/**
|
|
3883
4079
|
* Disable privacy protection for the domain. When privacy protection is disabled, domain owner\'s personal information is visible in public WHOIS database. Use this endpoint to make domain owner\'s information publicly visible.
|
|
3884
4080
|
* @summary Disable privacy protection
|
|
@@ -3887,7 +4083,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3887
4083
|
* @throws {RequiredError}
|
|
3888
4084
|
* @memberof DomainsPortfolioApi
|
|
3889
4085
|
*/
|
|
3890
|
-
disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
4086
|
+
disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3891
4087
|
/**
|
|
3892
4088
|
* Enable domain lock for the domain. When domain lock is enabled, the domain cannot be transferred to another registrar without first disabling the lock. Use this endpoint to secure domains against unauthorized transfers.
|
|
3893
4089
|
* @summary Enable domain lock
|
|
@@ -3896,7 +4092,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3896
4092
|
* @throws {RequiredError}
|
|
3897
4093
|
* @memberof DomainsPortfolioApi
|
|
3898
4094
|
*/
|
|
3899
|
-
enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
4095
|
+
enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3900
4096
|
/**
|
|
3901
4097
|
* Enable privacy protection for the domain. When privacy protection is enabled, domain owner\'s personal information is hidden from public WHOIS database. Use this endpoint to protect domain owner\'s personal information from public view.
|
|
3902
4098
|
* @summary Enable privacy protection
|
|
@@ -3905,7 +4101,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3905
4101
|
* @throws {RequiredError}
|
|
3906
4102
|
* @memberof DomainsPortfolioApi
|
|
3907
4103
|
*/
|
|
3908
|
-
enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
4104
|
+
enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3909
4105
|
/**
|
|
3910
4106
|
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
3911
4107
|
* @summary Get domain details
|
|
@@ -3914,7 +4110,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3914
4110
|
* @throws {RequiredError}
|
|
3915
4111
|
* @memberof DomainsPortfolioApi
|
|
3916
4112
|
*/
|
|
3917
|
-
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any>>;
|
|
4113
|
+
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any, {}>>;
|
|
3918
4114
|
/**
|
|
3919
4115
|
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
3920
4116
|
* @summary Get domain list
|
|
@@ -3922,7 +4118,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3922
4118
|
* @throws {RequiredError}
|
|
3923
4119
|
* @memberof DomainsPortfolioApi
|
|
3924
4120
|
*/
|
|
3925
|
-
getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any>>;
|
|
4121
|
+
getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any, {}>>;
|
|
3926
4122
|
/**
|
|
3927
4123
|
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing purchase. Use this endpoint to register new domains for users.
|
|
3928
4124
|
* @summary Purchase new domain
|
|
@@ -3931,7 +4127,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3931
4127
|
* @throws {RequiredError}
|
|
3932
4128
|
* @memberof DomainsPortfolioApi
|
|
3933
4129
|
*/
|
|
3934
|
-
purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
|
|
4130
|
+
purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any, {}>>;
|
|
3935
4131
|
/**
|
|
3936
4132
|
* Set nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable. Use this endpoint to configure custom DNS hosting for domains.
|
|
3937
4133
|
* @summary Update domain nameservers
|
|
@@ -3941,7 +4137,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
3941
4137
|
* @throws {RequiredError}
|
|
3942
4138
|
* @memberof DomainsPortfolioApi
|
|
3943
4139
|
*/
|
|
3944
|
-
updateDomainNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
4140
|
+
updateDomainNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
3945
4141
|
}
|
|
3946
4142
|
/**
|
|
3947
4143
|
* DomainsWHOISApi - axios parameter creator
|
|
@@ -4096,7 +4292,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
4096
4292
|
* @throws {RequiredError}
|
|
4097
4293
|
* @memberof DomainsWHOISApi
|
|
4098
4294
|
*/
|
|
4099
|
-
createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any>>;
|
|
4295
|
+
createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any, {}>>;
|
|
4100
4296
|
/**
|
|
4101
4297
|
* Delete WHOIS contact profile. Use this endpoint to remove unused contact profiles from account.
|
|
4102
4298
|
* @summary Delete WHOIS profile
|
|
@@ -4105,7 +4301,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
4105
4301
|
* @throws {RequiredError}
|
|
4106
4302
|
* @memberof DomainsWHOISApi
|
|
4107
4303
|
*/
|
|
4108
|
-
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
4304
|
+
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
4109
4305
|
/**
|
|
4110
4306
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
4111
4307
|
* @summary Get WHOIS profile list
|
|
@@ -4114,7 +4310,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
4114
4310
|
* @throws {RequiredError}
|
|
4115
4311
|
* @memberof DomainsWHOISApi
|
|
4116
4312
|
*/
|
|
4117
|
-
getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource[], any>>;
|
|
4313
|
+
getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource[], any, {}>>;
|
|
4118
4314
|
/**
|
|
4119
4315
|
* Retrieve domain list where provided WHOIS contact profile is used. Use this endpoint to view which domains use specific contact profiles.
|
|
4120
4316
|
* @summary Get WHOIS profile usage
|
|
@@ -4123,7 +4319,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
4123
4319
|
* @throws {RequiredError}
|
|
4124
4320
|
* @memberof DomainsWHOISApi
|
|
4125
4321
|
*/
|
|
4126
|
-
getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
4322
|
+
getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
4127
4323
|
/**
|
|
4128
4324
|
* Retrieve a WHOIS contact profile. Use this endpoint to view domain registration contact information.
|
|
4129
4325
|
* @summary Get WHOIS profile
|
|
@@ -4132,8 +4328,178 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
4132
4328
|
* @throws {RequiredError}
|
|
4133
4329
|
* @memberof DomainsWHOISApi
|
|
4134
4330
|
*/
|
|
4135
|
-
getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any>>;
|
|
4331
|
+
getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any, {}>>;
|
|
4332
|
+
}
|
|
4333
|
+
/**
|
|
4334
|
+
* ReachContactsApi - axios parameter creator
|
|
4335
|
+
* @export
|
|
4336
|
+
*/
|
|
4337
|
+
export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4338
|
+
/**
|
|
4339
|
+
* 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.
|
|
4340
|
+
* @summary Create a new contact
|
|
4341
|
+
* @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
|
|
4342
|
+
* @param {*} [options] Override http request option.
|
|
4343
|
+
* @throws {RequiredError}
|
|
4344
|
+
*/
|
|
4345
|
+
createANewContactV1: (reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4346
|
+
/**
|
|
4347
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
4348
|
+
* @summary Delete a contact
|
|
4349
|
+
* @param {string} uuid UUID of the contact to delete
|
|
4350
|
+
* @param {*} [options] Override http request option.
|
|
4351
|
+
* @throws {RequiredError}
|
|
4352
|
+
*/
|
|
4353
|
+
deleteAContactV1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4354
|
+
/**
|
|
4355
|
+
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
4356
|
+
* @summary List contact groups
|
|
4357
|
+
* @param {*} [options] Override http request option.
|
|
4358
|
+
* @throws {RequiredError}
|
|
4359
|
+
*/
|
|
4360
|
+
listContactGroupsV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4361
|
+
/**
|
|
4362
|
+
* 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.
|
|
4363
|
+
* @summary List contacts
|
|
4364
|
+
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
4365
|
+
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
4366
|
+
* @param {number} [page] Page number
|
|
4367
|
+
* @param {*} [options] Override http request option.
|
|
4368
|
+
* @throws {RequiredError}
|
|
4369
|
+
*/
|
|
4370
|
+
listContactsV1: (groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4371
|
+
};
|
|
4372
|
+
/**
|
|
4373
|
+
* ReachContactsApi - functional programming interface
|
|
4374
|
+
* @export
|
|
4375
|
+
*/
|
|
4376
|
+
export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
4377
|
+
/**
|
|
4378
|
+
* 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.
|
|
4379
|
+
* @summary Create a new contact
|
|
4380
|
+
* @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
|
|
4381
|
+
* @param {*} [options] Override http request option.
|
|
4382
|
+
* @throws {RequiredError}
|
|
4383
|
+
*/
|
|
4384
|
+
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsContactResource>>;
|
|
4385
|
+
/**
|
|
4386
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
4387
|
+
* @summary Delete a contact
|
|
4388
|
+
* @param {string} uuid UUID of the contact to delete
|
|
4389
|
+
* @param {*} [options] Override http request option.
|
|
4390
|
+
* @throws {RequiredError}
|
|
4391
|
+
*/
|
|
4392
|
+
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
4393
|
+
/**
|
|
4394
|
+
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
4395
|
+
* @summary List contact groups
|
|
4396
|
+
* @param {*} [options] Override http request option.
|
|
4397
|
+
* @throws {RequiredError}
|
|
4398
|
+
*/
|
|
4399
|
+
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>>;
|
|
4400
|
+
/**
|
|
4401
|
+
* 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.
|
|
4402
|
+
* @summary List contacts
|
|
4403
|
+
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
4404
|
+
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
4405
|
+
* @param {number} [page] Page number
|
|
4406
|
+
* @param {*} [options] Override http request option.
|
|
4407
|
+
* @throws {RequiredError}
|
|
4408
|
+
*/
|
|
4409
|
+
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListContactsV1200Response>>;
|
|
4410
|
+
};
|
|
4411
|
+
/**
|
|
4412
|
+
* ReachContactsApi - factory interface
|
|
4413
|
+
* @export
|
|
4414
|
+
*/
|
|
4415
|
+
export declare const ReachContactsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4416
|
+
/**
|
|
4417
|
+
* 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.
|
|
4418
|
+
* @summary Create a new contact
|
|
4419
|
+
* @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
|
|
4420
|
+
* @param {*} [options] Override http request option.
|
|
4421
|
+
* @throws {RequiredError}
|
|
4422
|
+
*/
|
|
4423
|
+
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsContactResource>;
|
|
4424
|
+
/**
|
|
4425
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
4426
|
+
* @summary Delete a contact
|
|
4427
|
+
* @param {string} uuid UUID of the contact to delete
|
|
4428
|
+
* @param {*} [options] Override http request option.
|
|
4429
|
+
* @throws {RequiredError}
|
|
4430
|
+
*/
|
|
4431
|
+
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
4432
|
+
/**
|
|
4433
|
+
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
4434
|
+
* @summary List contact groups
|
|
4435
|
+
* @param {*} [options] Override http request option.
|
|
4436
|
+
* @throws {RequiredError}
|
|
4437
|
+
*/
|
|
4438
|
+
listContactGroupsV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<ReachV1ContactsGroupsContactGroupResource>>;
|
|
4439
|
+
/**
|
|
4440
|
+
* 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.
|
|
4441
|
+
* @summary List contacts
|
|
4442
|
+
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
4443
|
+
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
4444
|
+
* @param {number} [page] Page number
|
|
4445
|
+
* @param {*} [options] Override http request option.
|
|
4446
|
+
* @throws {RequiredError}
|
|
4447
|
+
*/
|
|
4448
|
+
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListContactsV1200Response>;
|
|
4449
|
+
};
|
|
4450
|
+
/**
|
|
4451
|
+
* ReachContactsApi - object-oriented interface
|
|
4452
|
+
* @export
|
|
4453
|
+
* @class ReachContactsApi
|
|
4454
|
+
* @extends {BaseAPI}
|
|
4455
|
+
*/
|
|
4456
|
+
export declare class ReachContactsApi extends BaseAPI {
|
|
4457
|
+
/**
|
|
4458
|
+
* 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.
|
|
4459
|
+
* @summary Create a new contact
|
|
4460
|
+
* @param {ReachV1ContactsStoreRequest} reachV1ContactsStoreRequest
|
|
4461
|
+
* @param {*} [options] Override http request option.
|
|
4462
|
+
* @throws {RequiredError}
|
|
4463
|
+
* @memberof ReachContactsApi
|
|
4464
|
+
*/
|
|
4465
|
+
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsContactResource, any, {}>>;
|
|
4466
|
+
/**
|
|
4467
|
+
* Delete a contact with the specified UUID. This endpoint permanently removes a contact from the email marketing system.
|
|
4468
|
+
* @summary Delete a contact
|
|
4469
|
+
* @param {string} uuid UUID of the contact to delete
|
|
4470
|
+
* @param {*} [options] Override http request option.
|
|
4471
|
+
* @throws {RequiredError}
|
|
4472
|
+
* @memberof ReachContactsApi
|
|
4473
|
+
*/
|
|
4474
|
+
deleteAContactV1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
4475
|
+
/**
|
|
4476
|
+
* Get a list of all contact groups. This endpoint returns a list of contact groups that can be used to organize contacts.
|
|
4477
|
+
* @summary List contact groups
|
|
4478
|
+
* @param {*} [options] Override http request option.
|
|
4479
|
+
* @throws {RequiredError}
|
|
4480
|
+
* @memberof ReachContactsApi
|
|
4481
|
+
*/
|
|
4482
|
+
listContactGroupsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsGroupsContactGroupResource[], any, {}>>;
|
|
4483
|
+
/**
|
|
4484
|
+
* 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.
|
|
4485
|
+
* @summary List contacts
|
|
4486
|
+
* @param {string} [groupUuid] Filter contacts by group UUID
|
|
4487
|
+
* @param {ListContactsV1SubscriptionStatusEnum} [subscriptionStatus] Filter contacts by subscription status
|
|
4488
|
+
* @param {number} [page] Page number
|
|
4489
|
+
* @param {*} [options] Override http request option.
|
|
4490
|
+
* @throws {RequiredError}
|
|
4491
|
+
* @memberof ReachContactsApi
|
|
4492
|
+
*/
|
|
4493
|
+
listContactsV1(groupUuid?: string, subscriptionStatus?: ListContactsV1SubscriptionStatusEnum, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListContactsV1200Response, any, {}>>;
|
|
4136
4494
|
}
|
|
4495
|
+
/**
|
|
4496
|
+
* @export
|
|
4497
|
+
*/
|
|
4498
|
+
export declare const ListContactsV1SubscriptionStatusEnum: {
|
|
4499
|
+
readonly Subscribed: "subscribed";
|
|
4500
|
+
readonly Unsubscribed: "unsubscribed";
|
|
4501
|
+
};
|
|
4502
|
+
export type ListContactsV1SubscriptionStatusEnum = typeof ListContactsV1SubscriptionStatusEnum[keyof typeof ListContactsV1SubscriptionStatusEnum];
|
|
4137
4503
|
/**
|
|
4138
4504
|
* VPSActionsApi - axios parameter creator
|
|
4139
4505
|
* @export
|
|
@@ -4222,7 +4588,7 @@ export declare class VPSActionsApi extends BaseAPI {
|
|
|
4222
4588
|
* @throws {RequiredError}
|
|
4223
4589
|
* @memberof VPSActionsApi
|
|
4224
4590
|
*/
|
|
4225
|
-
getActionDetailsV1(virtualMachineId: number, actionId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
4591
|
+
getActionDetailsV1(virtualMachineId: number, actionId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4226
4592
|
/**
|
|
4227
4593
|
* Retrieve actions performed on a specified virtual machine. Actions are operations or events that have been executed on the virtual machine, such as starting, stopping, or modifying the machine. This endpoint allows you to view the history of these actions, providing details about each action, such as the action name, timestamp, and status. Use this endpoint to view VPS operation history and troubleshoot issues.
|
|
4228
4594
|
* @summary Get actions
|
|
@@ -4232,7 +4598,7 @@ export declare class VPSActionsApi extends BaseAPI {
|
|
|
4232
4598
|
* @throws {RequiredError}
|
|
4233
4599
|
* @memberof VPSActionsApi
|
|
4234
4600
|
*/
|
|
4235
|
-
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetActionsV1200Response, any>>;
|
|
4601
|
+
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetActionsV1200Response, any, {}>>;
|
|
4236
4602
|
}
|
|
4237
4603
|
/**
|
|
4238
4604
|
* VPSBackupsApi - axios parameter creator
|
|
@@ -4322,7 +4688,7 @@ export declare class VPSBackupsApi extends BaseAPI {
|
|
|
4322
4688
|
* @throws {RequiredError}
|
|
4323
4689
|
* @memberof VPSBackupsApi
|
|
4324
4690
|
*/
|
|
4325
|
-
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetBackupsV1200Response, any>>;
|
|
4691
|
+
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetBackupsV1200Response, any, {}>>;
|
|
4326
4692
|
/**
|
|
4327
4693
|
* Restore a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.** Use this endpoint to recover VPS data from backup points.
|
|
4328
4694
|
* @summary Restore backup
|
|
@@ -4332,7 +4698,7 @@ export declare class VPSBackupsApi extends BaseAPI {
|
|
|
4332
4698
|
* @throws {RequiredError}
|
|
4333
4699
|
* @memberof VPSBackupsApi
|
|
4334
4700
|
*/
|
|
4335
|
-
restoreBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
4701
|
+
restoreBackupV1(virtualMachineId: number, backupId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4336
4702
|
}
|
|
4337
4703
|
/**
|
|
4338
4704
|
* VPSDataCentersApi - axios parameter creator
|
|
@@ -4387,7 +4753,7 @@ export declare class VPSDataCentersApi extends BaseAPI {
|
|
|
4387
4753
|
* @throws {RequiredError}
|
|
4388
4754
|
* @memberof VPSDataCentersApi
|
|
4389
4755
|
*/
|
|
4390
|
-
getDataCenterListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DataCenterDataCenterResource[], any>>;
|
|
4756
|
+
getDataCenterListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DataCenterDataCenterResource[], any, {}>>;
|
|
4391
4757
|
}
|
|
4392
4758
|
/**
|
|
4393
4759
|
* VPSDockerManagerApi - axios parameter creator
|
|
@@ -4395,7 +4761,7 @@ export declare class VPSDataCentersApi extends BaseAPI {
|
|
|
4395
4761
|
*/
|
|
4396
4762
|
export declare const VPSDockerManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4397
4763
|
/**
|
|
4398
|
-
* 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,
|
|
4764
|
+
* 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.
|
|
4399
4765
|
* @summary Create new project
|
|
4400
4766
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4401
4767
|
* @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
|
|
@@ -4431,7 +4797,7 @@ export declare const VPSDockerManagerApiAxiosParamCreator: (configuration?: Conf
|
|
|
4431
4797
|
*/
|
|
4432
4798
|
getProjectContentsV1: (virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4433
4799
|
/**
|
|
4434
|
-
* 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
|
|
4800
|
+
* 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.
|
|
4435
4801
|
* @summary Get project list
|
|
4436
4802
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4437
4803
|
* @param {*} [options] Override http request option.
|
|
@@ -4490,7 +4856,7 @@ export declare const VPSDockerManagerApiAxiosParamCreator: (configuration?: Conf
|
|
|
4490
4856
|
*/
|
|
4491
4857
|
export declare const VPSDockerManagerApiFp: (configuration?: Configuration) => {
|
|
4492
4858
|
/**
|
|
4493
|
-
* 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,
|
|
4859
|
+
* 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.
|
|
4494
4860
|
* @summary Create new project
|
|
4495
4861
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4496
4862
|
* @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
|
|
@@ -4526,7 +4892,7 @@ export declare const VPSDockerManagerApiFp: (configuration?: Configuration) => {
|
|
|
4526
4892
|
*/
|
|
4527
4893
|
getProjectContentsV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1DockerManagerContentResource>>;
|
|
4528
4894
|
/**
|
|
4529
|
-
* 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
|
|
4895
|
+
* 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.
|
|
4530
4896
|
* @summary Get project list
|
|
4531
4897
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4532
4898
|
* @param {*} [options] Override http request option.
|
|
@@ -4585,7 +4951,7 @@ export declare const VPSDockerManagerApiFp: (configuration?: Configuration) => {
|
|
|
4585
4951
|
*/
|
|
4586
4952
|
export declare const VPSDockerManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4587
4953
|
/**
|
|
4588
|
-
* 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,
|
|
4954
|
+
* 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.
|
|
4589
4955
|
* @summary Create new project
|
|
4590
4956
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4591
4957
|
* @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
|
|
@@ -4621,7 +4987,7 @@ export declare const VPSDockerManagerApiFactory: (configuration?: Configuration,
|
|
|
4621
4987
|
*/
|
|
4622
4988
|
getProjectContentsV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1DockerManagerContentResource>;
|
|
4623
4989
|
/**
|
|
4624
|
-
* 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
|
|
4990
|
+
* 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.
|
|
4625
4991
|
* @summary Get project list
|
|
4626
4992
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4627
4993
|
* @param {*} [options] Override http request option.
|
|
@@ -4682,7 +5048,7 @@ export declare const VPSDockerManagerApiFactory: (configuration?: Configuration,
|
|
|
4682
5048
|
*/
|
|
4683
5049
|
export declare class VPSDockerManagerApi extends BaseAPI {
|
|
4684
5050
|
/**
|
|
4685
|
-
* 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,
|
|
5051
|
+
* 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.
|
|
4686
5052
|
* @summary Create new project
|
|
4687
5053
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4688
5054
|
* @param {VPSV1VirtualMachineDockerManagerUpRequest} vPSV1VirtualMachineDockerManagerUpRequest
|
|
@@ -4690,7 +5056,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4690
5056
|
* @throws {RequiredError}
|
|
4691
5057
|
* @memberof VPSDockerManagerApi
|
|
4692
5058
|
*/
|
|
4693
|
-
createNewProjectV1(virtualMachineId: number, vPSV1VirtualMachineDockerManagerUpRequest: VPSV1VirtualMachineDockerManagerUpRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5059
|
+
createNewProjectV1(virtualMachineId: number, vPSV1VirtualMachineDockerManagerUpRequest: VPSV1VirtualMachineDockerManagerUpRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4694
5060
|
/**
|
|
4695
5061
|
* Completely removes a Docker Compose project from the virtual machine, stopping all containers and cleaning up associated resources including networks, volumes, and images. This operation is irreversible and will delete all project data. Use this when you want to permanently remove a project and free up system resources.
|
|
4696
5062
|
* @summary Delete project
|
|
@@ -4700,7 +5066,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4700
5066
|
* @throws {RequiredError}
|
|
4701
5067
|
* @memberof VPSDockerManagerApi
|
|
4702
5068
|
*/
|
|
4703
|
-
deleteProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5069
|
+
deleteProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4704
5070
|
/**
|
|
4705
5071
|
* Retrieves a list of all containers belonging to a specific Docker Compose project on the virtual machine. This endpoint returns detailed information about each container including their current status, port mappings, and runtime configuration. Use this to monitor the health and state of all services within your Docker Compose project.
|
|
4706
5072
|
* @summary Get project containers
|
|
@@ -4710,7 +5076,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4710
5076
|
* @throws {RequiredError}
|
|
4711
5077
|
* @memberof VPSDockerManagerApi
|
|
4712
5078
|
*/
|
|
4713
|
-
getProjectContainersV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerContainerResource[], any>>;
|
|
5079
|
+
getProjectContainersV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerContainerResource[], any, {}>>;
|
|
4714
5080
|
/**
|
|
4715
5081
|
* Retrieves the complete project information including the docker-compose.yml file contents, project metadata, and current deployment status. This endpoint provides the full configuration and state details of a specific Docker Compose project. Use this to inspect project settings, review the compose file, or check the overall project health.
|
|
4716
5082
|
* @summary Get project contents
|
|
@@ -4720,16 +5086,16 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4720
5086
|
* @throws {RequiredError}
|
|
4721
5087
|
* @memberof VPSDockerManagerApi
|
|
4722
5088
|
*/
|
|
4723
|
-
getProjectContentsV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerContentResource, any>>;
|
|
5089
|
+
getProjectContentsV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerContentResource, any, {}>>;
|
|
4724
5090
|
/**
|
|
4725
|
-
* 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
|
|
5091
|
+
* 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.
|
|
4726
5092
|
* @summary Get project list
|
|
4727
5093
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
4728
5094
|
* @param {*} [options] Override http request option.
|
|
4729
5095
|
* @throws {RequiredError}
|
|
4730
5096
|
* @memberof VPSDockerManagerApi
|
|
4731
5097
|
*/
|
|
4732
|
-
getProjectListV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerProjectResource[], any>>;
|
|
5098
|
+
getProjectListV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerProjectResource[], any, {}>>;
|
|
4733
5099
|
/**
|
|
4734
5100
|
* Retrieves aggregated log entries from all services within a Docker Compose project. This endpoint returns recent log output from each container, organized by service name with timestamps. The response contains the last 300 log entries across all services. Use this for debugging, monitoring application behavior, and troubleshooting issues across your entire project stack.
|
|
4735
5101
|
* @summary Get project logs
|
|
@@ -4739,7 +5105,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4739
5105
|
* @throws {RequiredError}
|
|
4740
5106
|
* @memberof VPSDockerManagerApi
|
|
4741
5107
|
*/
|
|
4742
|
-
getProjectLogsV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerLogsResource[], any>>;
|
|
5108
|
+
getProjectLogsV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1DockerManagerLogsResource[], any, {}>>;
|
|
4743
5109
|
/**
|
|
4744
5110
|
* Restarts all services in a Docker Compose project by stopping and starting containers in the correct dependency order. This operation preserves data volumes and network configurations while refreshing the running containers. Use this to apply configuration changes or recover from service failures.
|
|
4745
5111
|
* @summary Restart project
|
|
@@ -4749,7 +5115,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4749
5115
|
* @throws {RequiredError}
|
|
4750
5116
|
* @memberof VPSDockerManagerApi
|
|
4751
5117
|
*/
|
|
4752
|
-
restartProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5118
|
+
restartProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4753
5119
|
/**
|
|
4754
5120
|
* Starts all services in a Docker Compose project that are currently stopped. This operation brings up containers in the correct dependency order as defined in the compose file. Use this to resume a project that was previously stopped or to start services after a system reboot.
|
|
4755
5121
|
* @summary Start project
|
|
@@ -4759,7 +5125,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4759
5125
|
* @throws {RequiredError}
|
|
4760
5126
|
* @memberof VPSDockerManagerApi
|
|
4761
5127
|
*/
|
|
4762
|
-
startProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5128
|
+
startProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4763
5129
|
/**
|
|
4764
5130
|
* Stops all running services in a Docker Compose project while preserving container configurations and data volumes. This operation gracefully shuts down containers in reverse dependency order. Use this to temporarily halt a project without removing data or configurations.
|
|
4765
5131
|
* @summary Stop project
|
|
@@ -4769,7 +5135,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4769
5135
|
* @throws {RequiredError}
|
|
4770
5136
|
* @memberof VPSDockerManagerApi
|
|
4771
5137
|
*/
|
|
4772
|
-
stopProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5138
|
+
stopProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4773
5139
|
/**
|
|
4774
5140
|
* Updates a Docker Compose project by pulling the latest image versions and recreating containers with new configurations. This operation preserves data volumes while applying changes from the compose file. Use this to deploy application updates, apply configuration changes, or refresh container images to their latest versions.
|
|
4775
5141
|
* @summary Update project
|
|
@@ -4779,7 +5145,7 @@ export declare class VPSDockerManagerApi extends BaseAPI {
|
|
|
4779
5145
|
* @throws {RequiredError}
|
|
4780
5146
|
* @memberof VPSDockerManagerApi
|
|
4781
5147
|
*/
|
|
4782
|
-
updateProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5148
|
+
updateProjectV1(virtualMachineId: number, projectName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
4783
5149
|
}
|
|
4784
5150
|
/**
|
|
4785
5151
|
* VPSFirewallApi - axios parameter creator
|
|
@@ -5076,7 +5442,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5076
5442
|
* @throws {RequiredError}
|
|
5077
5443
|
* @memberof VPSFirewallApi
|
|
5078
5444
|
*/
|
|
5079
|
-
activateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5445
|
+
activateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5080
5446
|
/**
|
|
5081
5447
|
* Create new firewall rule for a specified firewall. By default, the firewall drops all incoming traffic, which means you must add accept rules for all ports you want to use. Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually. Use this endpoint to add new security rules to firewalls.
|
|
5082
5448
|
* @summary Create firewall rule
|
|
@@ -5086,7 +5452,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5086
5452
|
* @throws {RequiredError}
|
|
5087
5453
|
* @memberof VPSFirewallApi
|
|
5088
5454
|
*/
|
|
5089
|
-
createFirewallRuleV1(firewallId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallRuleResource, any>>;
|
|
5455
|
+
createFirewallRuleV1(firewallId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallRuleResource, any, {}>>;
|
|
5090
5456
|
/**
|
|
5091
5457
|
* Create a new firewall. Use this endpoint to set up new firewall configurations for VPS security.
|
|
5092
5458
|
* @summary Create new firewall
|
|
@@ -5095,7 +5461,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5095
5461
|
* @throws {RequiredError}
|
|
5096
5462
|
* @memberof VPSFirewallApi
|
|
5097
5463
|
*/
|
|
5098
|
-
createNewFirewallV1(vPSV1FirewallStoreRequest: VPSV1FirewallStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallResource, any>>;
|
|
5464
|
+
createNewFirewallV1(vPSV1FirewallStoreRequest: VPSV1FirewallStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallResource, any, {}>>;
|
|
5099
5465
|
/**
|
|
5100
5466
|
* Deactivate a firewall for a specified virtual machine. Use this endpoint to remove firewall protection from VPS instances.
|
|
5101
5467
|
* @summary Deactivate firewall
|
|
@@ -5105,7 +5471,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5105
5471
|
* @throws {RequiredError}
|
|
5106
5472
|
* @memberof VPSFirewallApi
|
|
5107
5473
|
*/
|
|
5108
|
-
deactivateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5474
|
+
deactivateFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5109
5475
|
/**
|
|
5110
5476
|
* Delete a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually. Use this endpoint to remove specific firewall rules.
|
|
5111
5477
|
* @summary Delete firewall rule
|
|
@@ -5115,7 +5481,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5115
5481
|
* @throws {RequiredError}
|
|
5116
5482
|
* @memberof VPSFirewallApi
|
|
5117
5483
|
*/
|
|
5118
|
-
deleteFirewallRuleV1(firewallId: number, ruleId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
5484
|
+
deleteFirewallRuleV1(firewallId: number, ruleId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
5119
5485
|
/**
|
|
5120
5486
|
* Delete a specified firewall. Any virtual machine that has this firewall activated will automatically have it deactivated. Use this endpoint to remove unused firewall configurations.
|
|
5121
5487
|
* @summary Delete firewall
|
|
@@ -5124,7 +5490,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5124
5490
|
* @throws {RequiredError}
|
|
5125
5491
|
* @memberof VPSFirewallApi
|
|
5126
5492
|
*/
|
|
5127
|
-
deleteFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
5493
|
+
deleteFirewallV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
5128
5494
|
/**
|
|
5129
5495
|
* Retrieve firewall by its ID and rules associated with it. Use this endpoint to view specific firewall configuration and rules.
|
|
5130
5496
|
* @summary Get firewall details
|
|
@@ -5133,7 +5499,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5133
5499
|
* @throws {RequiredError}
|
|
5134
5500
|
* @memberof VPSFirewallApi
|
|
5135
5501
|
*/
|
|
5136
|
-
getFirewallDetailsV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallResource, any>>;
|
|
5502
|
+
getFirewallDetailsV1(firewallId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallResource, any, {}>>;
|
|
5137
5503
|
/**
|
|
5138
5504
|
* Retrieve all available firewalls. Use this endpoint to view existing firewall configurations.
|
|
5139
5505
|
* @summary Get firewall list
|
|
@@ -5142,7 +5508,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5142
5508
|
* @throws {RequiredError}
|
|
5143
5509
|
* @memberof VPSFirewallApi
|
|
5144
5510
|
*/
|
|
5145
|
-
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetFirewallListV1200Response, any>>;
|
|
5511
|
+
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetFirewallListV1200Response, any, {}>>;
|
|
5146
5512
|
/**
|
|
5147
5513
|
* Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances.
|
|
5148
5514
|
* @summary Sync firewall
|
|
@@ -5152,7 +5518,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5152
5518
|
* @throws {RequiredError}
|
|
5153
5519
|
* @memberof VPSFirewallApi
|
|
5154
5520
|
*/
|
|
5155
|
-
syncFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5521
|
+
syncFirewallV1(firewallId: number, virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5156
5522
|
/**
|
|
5157
5523
|
* Update a specific firewall rule from a specified firewall. Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually. Use this endpoint to modify existing firewall rules.
|
|
5158
5524
|
* @summary Update firewall rule
|
|
@@ -5163,7 +5529,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
5163
5529
|
* @throws {RequiredError}
|
|
5164
5530
|
* @memberof VPSFirewallApi
|
|
5165
5531
|
*/
|
|
5166
|
-
updateFirewallRuleV1(firewallId: number, ruleId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallRuleResource, any>>;
|
|
5532
|
+
updateFirewallRuleV1(firewallId: number, ruleId: number, vPSV1FirewallRulesStoreRequest: VPSV1FirewallRulesStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallFirewallRuleResource, any, {}>>;
|
|
5167
5533
|
}
|
|
5168
5534
|
/**
|
|
5169
5535
|
* VPSMalwareScannerApi - axios parameter creator
|
|
@@ -5270,7 +5636,7 @@ export declare class VPSMalwareScannerApi extends BaseAPI {
|
|
|
5270
5636
|
* @throws {RequiredError}
|
|
5271
5637
|
* @memberof VPSMalwareScannerApi
|
|
5272
5638
|
*/
|
|
5273
|
-
getScanMetricsV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1MalwareMetricsResource, any>>;
|
|
5639
|
+
getScanMetricsV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1MalwareMetricsResource, any, {}>>;
|
|
5274
5640
|
/**
|
|
5275
5641
|
* Install the Monarx malware scanner on a specified virtual machine. [Monarx](https://www.monarx.com/) is a security tool designed to detect and prevent malware infections on virtual machines. By installing Monarx, users can enhance the security of their virtual machines, ensuring that they are protected against malicious software. Use this endpoint to enable malware protection on VPS instances.
|
|
5276
5642
|
* @summary Install Monarx
|
|
@@ -5279,7 +5645,7 @@ export declare class VPSMalwareScannerApi extends BaseAPI {
|
|
|
5279
5645
|
* @throws {RequiredError}
|
|
5280
5646
|
* @memberof VPSMalwareScannerApi
|
|
5281
5647
|
*/
|
|
5282
|
-
installMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5648
|
+
installMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5283
5649
|
/**
|
|
5284
5650
|
* Uninstall the Monarx malware scanner on a specified virtual machine. If Monarx is not installed, the request will still be processed without any effect. Use this endpoint to remove malware scanner from VPS instances.
|
|
5285
5651
|
* @summary Uninstall Monarx
|
|
@@ -5288,7 +5654,7 @@ export declare class VPSMalwareScannerApi extends BaseAPI {
|
|
|
5288
5654
|
* @throws {RequiredError}
|
|
5289
5655
|
* @memberof VPSMalwareScannerApi
|
|
5290
5656
|
*/
|
|
5291
|
-
uninstallMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5657
|
+
uninstallMonarxV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5292
5658
|
}
|
|
5293
5659
|
/**
|
|
5294
5660
|
* VPSOSTemplatesApi - axios parameter creator
|
|
@@ -5368,7 +5734,7 @@ export declare class VPSOSTemplatesApi extends BaseAPI {
|
|
|
5368
5734
|
* @throws {RequiredError}
|
|
5369
5735
|
* @memberof VPSOSTemplatesApi
|
|
5370
5736
|
*/
|
|
5371
|
-
getTemplateDetailsV1(templateId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1TemplateTemplateResource, any>>;
|
|
5737
|
+
getTemplateDetailsV1(templateId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1TemplateTemplateResource, any, {}>>;
|
|
5372
5738
|
/**
|
|
5373
5739
|
* Retrieve available OS templates for virtual machines. Use this endpoint to view operating system options before creating or recreating VPS instances.
|
|
5374
5740
|
* @summary Get templates
|
|
@@ -5376,7 +5742,7 @@ export declare class VPSOSTemplatesApi extends BaseAPI {
|
|
|
5376
5742
|
* @throws {RequiredError}
|
|
5377
5743
|
* @memberof VPSOSTemplatesApi
|
|
5378
5744
|
*/
|
|
5379
|
-
getTemplatesV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1TemplateTemplateResource[], any>>;
|
|
5745
|
+
getTemplatesV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1TemplateTemplateResource[], any, {}>>;
|
|
5380
5746
|
}
|
|
5381
5747
|
/**
|
|
5382
5748
|
* VPSPTRRecordsApi - axios parameter creator
|
|
@@ -5470,7 +5836,7 @@ export declare class VPSPTRRecordsApi extends BaseAPI {
|
|
|
5470
5836
|
* @throws {RequiredError}
|
|
5471
5837
|
* @memberof VPSPTRRecordsApi
|
|
5472
5838
|
*/
|
|
5473
|
-
createPTRRecordV1(virtualMachineId: number, ipAddressId: number, vPSV1VirtualMachinePTRStoreRequest: VPSV1VirtualMachinePTRStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5839
|
+
createPTRRecordV1(virtualMachineId: number, ipAddressId: number, vPSV1VirtualMachinePTRStoreRequest: VPSV1VirtualMachinePTRStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5474
5840
|
/**
|
|
5475
5841
|
* Delete a PTR (Pointer) record for a specified virtual machine. Once deleted, reverse DNS lookups to the virtual machine\'s IP address will no longer return the previously configured hostname. Use this endpoint to remove reverse DNS configuration from VPS instances.
|
|
5476
5842
|
* @summary Delete PTR record
|
|
@@ -5480,7 +5846,7 @@ export declare class VPSPTRRecordsApi extends BaseAPI {
|
|
|
5480
5846
|
* @throws {RequiredError}
|
|
5481
5847
|
* @memberof VPSPTRRecordsApi
|
|
5482
5848
|
*/
|
|
5483
|
-
deletePTRRecordV1(virtualMachineId: number, ipAddressId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
5849
|
+
deletePTRRecordV1(virtualMachineId: number, ipAddressId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5484
5850
|
}
|
|
5485
5851
|
/**
|
|
5486
5852
|
* VPSPostInstallScriptsApi - axios parameter creator
|
|
@@ -5638,7 +6004,7 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
5638
6004
|
* @throws {RequiredError}
|
|
5639
6005
|
* @memberof VPSPostInstallScriptsApi
|
|
5640
6006
|
*/
|
|
5641
|
-
createPostInstallScriptV1(vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any>>;
|
|
6007
|
+
createPostInstallScriptV1(vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any, {}>>;
|
|
5642
6008
|
/**
|
|
5643
6009
|
* Delete a post-install script from your account. Use this endpoint to remove unused automation scripts.
|
|
5644
6010
|
* @summary Delete post-install script
|
|
@@ -5647,7 +6013,7 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
5647
6013
|
* @throws {RequiredError}
|
|
5648
6014
|
* @memberof VPSPostInstallScriptsApi
|
|
5649
6015
|
*/
|
|
5650
|
-
deletePostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
6016
|
+
deletePostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
5651
6017
|
/**
|
|
5652
6018
|
* Retrieve post-install script by its ID. Use this endpoint to view specific automation script details.
|
|
5653
6019
|
* @summary Get post-install script
|
|
@@ -5656,7 +6022,7 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
5656
6022
|
* @throws {RequiredError}
|
|
5657
6023
|
* @memberof VPSPostInstallScriptsApi
|
|
5658
6024
|
*/
|
|
5659
|
-
getPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any>>;
|
|
6025
|
+
getPostInstallScriptV1(postInstallScriptId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any, {}>>;
|
|
5660
6026
|
/**
|
|
5661
6027
|
* Retrieve post-install scripts associated with your account. Use this endpoint to view available automation scripts for VPS deployment.
|
|
5662
6028
|
* @summary Get post-install scripts
|
|
@@ -5665,7 +6031,7 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
5665
6031
|
* @throws {RequiredError}
|
|
5666
6032
|
* @memberof VPSPostInstallScriptsApi
|
|
5667
6033
|
*/
|
|
5668
|
-
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPostInstallScriptsV1200Response, any>>;
|
|
6034
|
+
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPostInstallScriptsV1200Response, any, {}>>;
|
|
5669
6035
|
/**
|
|
5670
6036
|
* Update a specific post-install script. Use this endpoint to modify existing automation scripts.
|
|
5671
6037
|
* @summary Update post-install script
|
|
@@ -5675,7 +6041,7 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
5675
6041
|
* @throws {RequiredError}
|
|
5676
6042
|
* @memberof VPSPostInstallScriptsApi
|
|
5677
6043
|
*/
|
|
5678
|
-
updatePostInstallScriptV1(postInstallScriptId: number, vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any>>;
|
|
6044
|
+
updatePostInstallScriptV1(postInstallScriptId: number, vPSV1PostInstallScriptStoreRequest: VPSV1PostInstallScriptStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptPostInstallScriptResource, any, {}>>;
|
|
5679
6045
|
}
|
|
5680
6046
|
/**
|
|
5681
6047
|
* VPSPublicKeysApi - axios parameter creator
|
|
@@ -5810,7 +6176,7 @@ export declare class VPSPublicKeysApi extends BaseAPI {
|
|
|
5810
6176
|
* @throws {RequiredError}
|
|
5811
6177
|
* @memberof VPSPublicKeysApi
|
|
5812
6178
|
*/
|
|
5813
|
-
attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6179
|
+
attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5814
6180
|
/**
|
|
5815
6181
|
* Add a new public key to your account. Use this endpoint to register SSH keys for VPS authentication.
|
|
5816
6182
|
* @summary Create public key
|
|
@@ -5819,7 +6185,7 @@ export declare class VPSPublicKeysApi extends BaseAPI {
|
|
|
5819
6185
|
* @throws {RequiredError}
|
|
5820
6186
|
* @memberof VPSPublicKeysApi
|
|
5821
6187
|
*/
|
|
5822
|
-
createPublicKeyV1(vPSV1PublicKeyStoreRequest: VPSV1PublicKeyStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyPublicKeyResource, any>>;
|
|
6188
|
+
createPublicKeyV1(vPSV1PublicKeyStoreRequest: VPSV1PublicKeyStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyPublicKeyResource, any, {}>>;
|
|
5823
6189
|
/**
|
|
5824
6190
|
* Delete a public key from your account. **Deleting public key from account does not remove it from virtual machine** Use this endpoint to remove unused SSH keys from account.
|
|
5825
6191
|
* @summary Delete public key
|
|
@@ -5828,7 +6194,7 @@ export declare class VPSPublicKeysApi extends BaseAPI {
|
|
|
5828
6194
|
* @throws {RequiredError}
|
|
5829
6195
|
* @memberof VPSPublicKeysApi
|
|
5830
6196
|
*/
|
|
5831
|
-
deletePublicKeyV1(publicKeyId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
|
|
6197
|
+
deletePublicKeyV1(publicKeyId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
5832
6198
|
/**
|
|
5833
6199
|
* Retrieve public keys associated with your account. Use this endpoint to view available SSH keys for VPS authentication.
|
|
5834
6200
|
* @summary Get public keys
|
|
@@ -5837,7 +6203,7 @@ export declare class VPSPublicKeysApi extends BaseAPI {
|
|
|
5837
6203
|
* @throws {RequiredError}
|
|
5838
6204
|
* @memberof VPSPublicKeysApi
|
|
5839
6205
|
*/
|
|
5840
|
-
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeysV1200Response, any>>;
|
|
6206
|
+
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeysV1200Response, any, {}>>;
|
|
5841
6207
|
}
|
|
5842
6208
|
/**
|
|
5843
6209
|
* VPSRecoveryApi - axios parameter creator
|
|
@@ -5924,7 +6290,7 @@ export declare class VPSRecoveryApi extends BaseAPI {
|
|
|
5924
6290
|
* @throws {RequiredError}
|
|
5925
6291
|
* @memberof VPSRecoveryApi
|
|
5926
6292
|
*/
|
|
5927
|
-
startRecoveryModeV1(virtualMachineId: number, vPSV1VirtualMachineRecoveryStartRequest: VPSV1VirtualMachineRecoveryStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6293
|
+
startRecoveryModeV1(virtualMachineId: number, vPSV1VirtualMachineRecoveryStartRequest: VPSV1VirtualMachineRecoveryStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5928
6294
|
/**
|
|
5929
6295
|
* Stop recovery mode for a specified virtual machine. If virtual machine is not in recovery mode, this operation will fail. Use this endpoint to exit system rescue mode and return VPS to normal operation.
|
|
5930
6296
|
* @summary Stop recovery mode
|
|
@@ -5933,7 +6299,7 @@ export declare class VPSRecoveryApi extends BaseAPI {
|
|
|
5933
6299
|
* @throws {RequiredError}
|
|
5934
6300
|
* @memberof VPSRecoveryApi
|
|
5935
6301
|
*/
|
|
5936
|
-
stopRecoveryModeV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6302
|
+
stopRecoveryModeV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
5937
6303
|
}
|
|
5938
6304
|
/**
|
|
5939
6305
|
* VPSSnapshotsApi - axios parameter creator
|
|
@@ -6064,7 +6430,7 @@ export declare class VPSSnapshotsApi extends BaseAPI {
|
|
|
6064
6430
|
* @throws {RequiredError}
|
|
6065
6431
|
* @memberof VPSSnapshotsApi
|
|
6066
6432
|
*/
|
|
6067
|
-
createSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6433
|
+
createSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6068
6434
|
/**
|
|
6069
6435
|
* Delete a snapshot of a specified virtual machine. Use this endpoint to remove VPS snapshots.
|
|
6070
6436
|
* @summary Delete snapshot
|
|
@@ -6073,7 +6439,7 @@ export declare class VPSSnapshotsApi extends BaseAPI {
|
|
|
6073
6439
|
* @throws {RequiredError}
|
|
6074
6440
|
* @memberof VPSSnapshotsApi
|
|
6075
6441
|
*/
|
|
6076
|
-
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6442
|
+
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6077
6443
|
/**
|
|
6078
6444
|
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
6079
6445
|
* @summary Get snapshot
|
|
@@ -6082,7 +6448,7 @@ export declare class VPSSnapshotsApi extends BaseAPI {
|
|
|
6082
6448
|
* @throws {RequiredError}
|
|
6083
6449
|
* @memberof VPSSnapshotsApi
|
|
6084
6450
|
*/
|
|
6085
|
-
getSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1SnapshotSnapshotResource, any>>;
|
|
6451
|
+
getSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1SnapshotSnapshotResource, any, {}>>;
|
|
6086
6452
|
/**
|
|
6087
6453
|
* Restore a specified virtual machine to a previous state using a snapshot. Restoring from a snapshot allows users to revert the virtual machine to that state, which is useful for system recovery, undoing changes, or testing. Use this endpoint to revert VPS instances to previous saved states.
|
|
6088
6454
|
* @summary Restore snapshot
|
|
@@ -6091,7 +6457,7 @@ export declare class VPSSnapshotsApi extends BaseAPI {
|
|
|
6091
6457
|
* @throws {RequiredError}
|
|
6092
6458
|
* @memberof VPSSnapshotsApi
|
|
6093
6459
|
*/
|
|
6094
|
-
restoreSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6460
|
+
restoreSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6095
6461
|
}
|
|
6096
6462
|
/**
|
|
6097
6463
|
* VPSVirtualMachineApi - axios parameter creator
|
|
@@ -6511,7 +6877,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6511
6877
|
* @throws {RequiredError}
|
|
6512
6878
|
* @memberof VPSVirtualMachineApi
|
|
6513
6879
|
*/
|
|
6514
|
-
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeysV1200Response, any>>;
|
|
6880
|
+
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeysV1200Response, any, {}>>;
|
|
6515
6881
|
/**
|
|
6516
6882
|
* Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
|
|
6517
6883
|
* @summary Get metrics
|
|
@@ -6522,7 +6888,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6522
6888
|
* @throws {RequiredError}
|
|
6523
6889
|
* @memberof VPSVirtualMachineApi
|
|
6524
6890
|
*/
|
|
6525
|
-
getMetricsV1(virtualMachineId: number, dateFrom: string, dateTo: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1MetricsMetricsCollection, any>>;
|
|
6891
|
+
getMetricsV1(virtualMachineId: number, dateFrom: string, dateTo: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1MetricsMetricsCollection, any, {}>>;
|
|
6526
6892
|
/**
|
|
6527
6893
|
* Retrieve detailed information about a specified virtual machine. Use this endpoint to view comprehensive VPS configuration and status.
|
|
6528
6894
|
* @summary Get virtual machine details
|
|
@@ -6531,7 +6897,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6531
6897
|
* @throws {RequiredError}
|
|
6532
6898
|
* @memberof VPSVirtualMachineApi
|
|
6533
6899
|
*/
|
|
6534
|
-
getVirtualMachineDetailsV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any>>;
|
|
6900
|
+
getVirtualMachineDetailsV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any, {}>>;
|
|
6535
6901
|
/**
|
|
6536
6902
|
* Retrieve all available virtual machines. Use this endpoint to view available VPS instances.
|
|
6537
6903
|
* @summary Get virtual machines
|
|
@@ -6539,7 +6905,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6539
6905
|
* @throws {RequiredError}
|
|
6540
6906
|
* @memberof VPSVirtualMachineApi
|
|
6541
6907
|
*/
|
|
6542
|
-
getVirtualMachinesV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource[], any>>;
|
|
6908
|
+
getVirtualMachinesV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource[], any, {}>>;
|
|
6543
6909
|
/**
|
|
6544
6910
|
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
6545
6911
|
* @summary Purchase new virtual machine
|
|
@@ -6548,7 +6914,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6548
6914
|
* @throws {RequiredError}
|
|
6549
6915
|
* @memberof VPSVirtualMachineApi
|
|
6550
6916
|
*/
|
|
6551
|
-
purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderVirtualMachineOrderResource, any>>;
|
|
6917
|
+
purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderVirtualMachineOrderResource, any, {}>>;
|
|
6552
6918
|
/**
|
|
6553
6919
|
* Recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!** Use this endpoint to completely rebuild VPS instances with fresh OS installation.
|
|
6554
6920
|
* @summary Recreate virtual machine
|
|
@@ -6558,7 +6924,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6558
6924
|
* @throws {RequiredError}
|
|
6559
6925
|
* @memberof VPSVirtualMachineApi
|
|
6560
6926
|
*/
|
|
6561
|
-
recreateVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineRecreateRequest: VPSV1VirtualMachineRecreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6927
|
+
recreateVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineRecreateRequest: VPSV1VirtualMachineRecreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6562
6928
|
/**
|
|
6563
6929
|
* Reset hostname and PTR record of a specified virtual machine to default value. Use this endpoint to restore default hostname configuration for VPS instances.
|
|
6564
6930
|
* @summary Reset hostname
|
|
@@ -6567,7 +6933,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6567
6933
|
* @throws {RequiredError}
|
|
6568
6934
|
* @memberof VPSVirtualMachineApi
|
|
6569
6935
|
*/
|
|
6570
|
-
resetHostnameV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6936
|
+
resetHostnameV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6571
6937
|
/**
|
|
6572
6938
|
* Restart a specified virtual machine by fully stopping and starting it. If the virtual machine was stopped, it will be started. Use this endpoint to reboot VPS instances.
|
|
6573
6939
|
* @summary Restart virtual machine
|
|
@@ -6576,7 +6942,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6576
6942
|
* @throws {RequiredError}
|
|
6577
6943
|
* @memberof VPSVirtualMachineApi
|
|
6578
6944
|
*/
|
|
6579
|
-
restartVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6945
|
+
restartVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6580
6946
|
/**
|
|
6581
6947
|
* Set hostname for a specified virtual machine. Changing hostname does not update PTR record automatically. If you want your virtual machine to be reachable by a hostname, you need to point your domain A/AAAA records to virtual machine IP as well. Use this endpoint to configure custom hostnames for VPS instances.
|
|
6582
6948
|
* @summary Set hostname
|
|
@@ -6586,7 +6952,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6586
6952
|
* @throws {RequiredError}
|
|
6587
6953
|
* @memberof VPSVirtualMachineApi
|
|
6588
6954
|
*/
|
|
6589
|
-
setHostnameV1(virtualMachineId: number, vPSV1VirtualMachineHostnameUpdateRequest: VPSV1VirtualMachineHostnameUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6955
|
+
setHostnameV1(virtualMachineId: number, vPSV1VirtualMachineHostnameUpdateRequest: VPSV1VirtualMachineHostnameUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6590
6956
|
/**
|
|
6591
6957
|
* Set nameservers for a specified virtual machine. Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names. Use this endpoint to configure custom DNS resolvers for VPS instances.
|
|
6592
6958
|
* @summary Set nameservers
|
|
@@ -6596,7 +6962,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6596
6962
|
* @throws {RequiredError}
|
|
6597
6963
|
* @memberof VPSVirtualMachineApi
|
|
6598
6964
|
*/
|
|
6599
|
-
setNameserversV1(virtualMachineId: number, vPSV1VirtualMachineNameserversUpdateRequest: VPSV1VirtualMachineNameserversUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6965
|
+
setNameserversV1(virtualMachineId: number, vPSV1VirtualMachineNameserversUpdateRequest: VPSV1VirtualMachineNameserversUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6600
6966
|
/**
|
|
6601
6967
|
* Set panel password for a specified virtual machine. If virtual machine does not use panel OS, the request will still be processed without any effect. Requirements for password are same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate). Use this endpoint to configure control panel access credentials for VPS instances.
|
|
6602
6968
|
* @summary Set panel password
|
|
@@ -6606,7 +6972,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6606
6972
|
* @throws {RequiredError}
|
|
6607
6973
|
* @memberof VPSVirtualMachineApi
|
|
6608
6974
|
*/
|
|
6609
|
-
setPanelPasswordV1(virtualMachineId: number, vPSV1VirtualMachinePanelPasswordUpdateRequest: VPSV1VirtualMachinePanelPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6975
|
+
setPanelPasswordV1(virtualMachineId: number, vPSV1VirtualMachinePanelPasswordUpdateRequest: VPSV1VirtualMachinePanelPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6610
6976
|
/**
|
|
6611
6977
|
* Set root password for a specified virtual machine. Requirements for password are same as in the [recreate virtual machine endpoint](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines/{virtualMachineId}/recreate). Use this endpoint to update administrator credentials for VPS instances.
|
|
6612
6978
|
* @summary Set root password
|
|
@@ -6616,7 +6982,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6616
6982
|
* @throws {RequiredError}
|
|
6617
6983
|
* @memberof VPSVirtualMachineApi
|
|
6618
6984
|
*/
|
|
6619
|
-
setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
6985
|
+
setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6620
6986
|
/**
|
|
6621
6987
|
* Setup newly purchased virtual machine with `initial` state. Use this endpoint to configure and initialize purchased VPS instances.
|
|
6622
6988
|
* @summary Setup purchased virtual machine
|
|
@@ -6626,7 +6992,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6626
6992
|
* @throws {RequiredError}
|
|
6627
6993
|
* @memberof VPSVirtualMachineApi
|
|
6628
6994
|
*/
|
|
6629
|
-
setupPurchasedVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineSetupRequest: VPSV1VirtualMachineSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any>>;
|
|
6995
|
+
setupPurchasedVirtualMachineV1(virtualMachineId: number, vPSV1VirtualMachineSetupRequest: VPSV1VirtualMachineSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any, {}>>;
|
|
6630
6996
|
/**
|
|
6631
6997
|
* Start a specified virtual machine. If the virtual machine is already running, the request will still be processed without any effect. Use this endpoint to power on stopped VPS instances.
|
|
6632
6998
|
* @summary Start virtual machine
|
|
@@ -6635,7 +7001,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6635
7001
|
* @throws {RequiredError}
|
|
6636
7002
|
* @memberof VPSVirtualMachineApi
|
|
6637
7003
|
*/
|
|
6638
|
-
startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
7004
|
+
startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6639
7005
|
/**
|
|
6640
7006
|
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
6641
7007
|
* @summary Stop virtual machine
|
|
@@ -6644,5 +7010,5 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
6644
7010
|
* @throws {RequiredError}
|
|
6645
7011
|
* @memberof VPSVirtualMachineApi
|
|
6646
7012
|
*/
|
|
6647
|
-
stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
|
|
7013
|
+
stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
6648
7014
|
}
|