hostinger-api-sdk 0.0.4 → 0.0.7
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/workflows/build-release.yaml +1 -1
- package/README.md +2 -2
- package/api.ts +210 -216
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +209 -215
- package/dist/api.js +14 -14
- 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 +209 -215
- package/dist/esm/api.js +14 -14
- 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/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 0.0.
|
|
6
|
+
* API Version: 0.0.24
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -31,43 +31,43 @@ export interface BillingV1CatalogCatalogItemPriceResource {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof BillingV1CatalogCatalogItemPriceResource
|
|
33
33
|
*/
|
|
34
|
-
'id'
|
|
34
|
+
'id': string;
|
|
35
35
|
/**
|
|
36
36
|
* Price item name
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof BillingV1CatalogCatalogItemPriceResource
|
|
39
39
|
*/
|
|
40
|
-
'name'
|
|
40
|
+
'name': string;
|
|
41
41
|
/**
|
|
42
42
|
* Currency code
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof BillingV1CatalogCatalogItemPriceResource
|
|
45
45
|
*/
|
|
46
|
-
'currency'
|
|
46
|
+
'currency': string;
|
|
47
47
|
/**
|
|
48
48
|
* Price in cents
|
|
49
49
|
* @type {number}
|
|
50
50
|
* @memberof BillingV1CatalogCatalogItemPriceResource
|
|
51
51
|
*/
|
|
52
|
-
'price'
|
|
52
|
+
'price': number;
|
|
53
53
|
/**
|
|
54
54
|
* First period price in cents
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof BillingV1CatalogCatalogItemPriceResource
|
|
57
57
|
*/
|
|
58
|
-
'first_period_price'
|
|
58
|
+
'first_period_price': number;
|
|
59
59
|
/**
|
|
60
60
|
* Period
|
|
61
61
|
* @type {number}
|
|
62
62
|
* @memberof BillingV1CatalogCatalogItemPriceResource
|
|
63
63
|
*/
|
|
64
|
-
'period'
|
|
64
|
+
'period': number;
|
|
65
65
|
/**
|
|
66
66
|
* Period unit
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof BillingV1CatalogCatalogItemPriceResource
|
|
69
69
|
*/
|
|
70
|
-
'period_unit'
|
|
70
|
+
'period_unit': BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export const BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = {
|
|
@@ -91,25 +91,25 @@ export interface BillingV1CatalogCatalogItemResource {
|
|
|
91
91
|
* @type {string}
|
|
92
92
|
* @memberof BillingV1CatalogCatalogItemResource
|
|
93
93
|
*/
|
|
94
|
-
'id'
|
|
94
|
+
'id': string;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {string}
|
|
98
98
|
* @memberof BillingV1CatalogCatalogItemResource
|
|
99
99
|
*/
|
|
100
|
-
'name'
|
|
100
|
+
'name': string;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof BillingV1CatalogCatalogItemResource
|
|
105
105
|
*/
|
|
106
|
-
'category'
|
|
106
|
+
'category': string;
|
|
107
107
|
/**
|
|
108
108
|
* Array of [`Billing.V1.Catalog.CatalogItemPriceResource`](#model/billingv1catalogcatalogitempriceresource)
|
|
109
109
|
* @type {Array<BillingV1CatalogCatalogItemPriceResource>}
|
|
110
110
|
* @memberof BillingV1CatalogCatalogItemResource
|
|
111
111
|
*/
|
|
112
|
-
'prices'
|
|
112
|
+
'prices': Array<BillingV1CatalogCatalogItemPriceResource>;
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
*
|
|
@@ -122,67 +122,67 @@ export interface BillingV1OrderOrderBillingAddressResource {
|
|
|
122
122
|
* @type {string}
|
|
123
123
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
124
124
|
*/
|
|
125
|
-
'first_name'
|
|
125
|
+
'first_name': string;
|
|
126
126
|
/**
|
|
127
127
|
*
|
|
128
128
|
* @type {string}
|
|
129
129
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
130
130
|
*/
|
|
131
|
-
'last_name'
|
|
131
|
+
'last_name': string;
|
|
132
132
|
/**
|
|
133
133
|
*
|
|
134
134
|
* @type {string}
|
|
135
135
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
136
136
|
*/
|
|
137
|
-
'company'
|
|
137
|
+
'company': string | null;
|
|
138
138
|
/**
|
|
139
139
|
*
|
|
140
140
|
* @type {string}
|
|
141
141
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
142
142
|
*/
|
|
143
|
-
'address_1'
|
|
143
|
+
'address_1': string | null;
|
|
144
144
|
/**
|
|
145
145
|
*
|
|
146
146
|
* @type {string}
|
|
147
147
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
148
148
|
*/
|
|
149
|
-
'address_2'
|
|
149
|
+
'address_2': string | null;
|
|
150
150
|
/**
|
|
151
151
|
*
|
|
152
152
|
* @type {string}
|
|
153
153
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
154
154
|
*/
|
|
155
|
-
'city'
|
|
155
|
+
'city': string | null;
|
|
156
156
|
/**
|
|
157
157
|
*
|
|
158
158
|
* @type {string}
|
|
159
159
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
160
160
|
*/
|
|
161
|
-
'state'
|
|
161
|
+
'state': string | null;
|
|
162
162
|
/**
|
|
163
163
|
*
|
|
164
164
|
* @type {string}
|
|
165
165
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
166
166
|
*/
|
|
167
|
-
'zip'
|
|
167
|
+
'zip': string | null;
|
|
168
168
|
/**
|
|
169
169
|
*
|
|
170
170
|
* @type {string}
|
|
171
171
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
172
172
|
*/
|
|
173
|
-
'country'
|
|
173
|
+
'country': string | null;
|
|
174
174
|
/**
|
|
175
175
|
*
|
|
176
176
|
* @type {string}
|
|
177
177
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
178
178
|
*/
|
|
179
|
-
'phone'
|
|
179
|
+
'phone': string | null;
|
|
180
180
|
/**
|
|
181
181
|
*
|
|
182
182
|
* @type {string}
|
|
183
183
|
* @memberof BillingV1OrderOrderBillingAddressResource
|
|
184
184
|
*/
|
|
185
|
-
'email'
|
|
185
|
+
'email': string;
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
@@ -195,55 +195,55 @@ export interface BillingV1OrderOrderResource {
|
|
|
195
195
|
* @type {number}
|
|
196
196
|
* @memberof BillingV1OrderOrderResource
|
|
197
197
|
*/
|
|
198
|
-
'id'
|
|
198
|
+
'id': number;
|
|
199
199
|
/**
|
|
200
200
|
* Subscription ID
|
|
201
201
|
* @type {string}
|
|
202
202
|
* @memberof BillingV1OrderOrderResource
|
|
203
203
|
*/
|
|
204
|
-
'subscription_id'
|
|
204
|
+
'subscription_id': string;
|
|
205
205
|
/**
|
|
206
206
|
*
|
|
207
207
|
* @type {string}
|
|
208
208
|
* @memberof BillingV1OrderOrderResource
|
|
209
209
|
*/
|
|
210
|
-
'status'
|
|
210
|
+
'status': BillingV1OrderOrderResourceStatusEnum;
|
|
211
211
|
/**
|
|
212
212
|
* Currency code
|
|
213
213
|
* @type {string}
|
|
214
214
|
* @memberof BillingV1OrderOrderResource
|
|
215
215
|
*/
|
|
216
|
-
'currency'
|
|
216
|
+
'currency': string;
|
|
217
217
|
/**
|
|
218
218
|
* Subtotal price (exc. VAT) in cents
|
|
219
219
|
* @type {number}
|
|
220
220
|
* @memberof BillingV1OrderOrderResource
|
|
221
221
|
*/
|
|
222
|
-
'subtotal'
|
|
222
|
+
'subtotal': number;
|
|
223
223
|
/**
|
|
224
224
|
* Total price (inc. VAT) in cents
|
|
225
225
|
* @type {number}
|
|
226
226
|
* @memberof BillingV1OrderOrderResource
|
|
227
227
|
*/
|
|
228
|
-
'total'
|
|
228
|
+
'total': number;
|
|
229
229
|
/**
|
|
230
230
|
*
|
|
231
231
|
* @type {BillingV1OrderOrderBillingAddressResource}
|
|
232
232
|
* @memberof BillingV1OrderOrderResource
|
|
233
233
|
*/
|
|
234
|
-
'billing_address'
|
|
234
|
+
'billing_address': BillingV1OrderOrderBillingAddressResource;
|
|
235
235
|
/**
|
|
236
236
|
*
|
|
237
237
|
* @type {string}
|
|
238
238
|
* @memberof BillingV1OrderOrderResource
|
|
239
239
|
*/
|
|
240
|
-
'created_at'
|
|
240
|
+
'created_at': string;
|
|
241
241
|
/**
|
|
242
242
|
*
|
|
243
243
|
* @type {string}
|
|
244
244
|
* @memberof BillingV1OrderOrderResource
|
|
245
245
|
*/
|
|
246
|
-
'updated_at'
|
|
246
|
+
'updated_at': string;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
export const BillingV1OrderOrderResourceStatusEnum = {
|
|
@@ -283,7 +283,7 @@ export interface BillingV1OrderStoreRequest {
|
|
|
283
283
|
* @type {Array<any>}
|
|
284
284
|
* @memberof BillingV1OrderStoreRequest
|
|
285
285
|
*/
|
|
286
|
-
'coupons'
|
|
286
|
+
'coupons': Array<any>;
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
289
|
*
|
|
@@ -296,13 +296,13 @@ export interface BillingV1OrderStoreRequestItemsInner {
|
|
|
296
296
|
* @type {string}
|
|
297
297
|
* @memberof BillingV1OrderStoreRequestItemsInner
|
|
298
298
|
*/
|
|
299
|
-
'item_id'
|
|
299
|
+
'item_id': string;
|
|
300
300
|
/**
|
|
301
301
|
*
|
|
302
302
|
* @type {number}
|
|
303
303
|
* @memberof BillingV1OrderStoreRequestItemsInner
|
|
304
304
|
*/
|
|
305
|
-
'quantity'
|
|
305
|
+
'quantity': number;
|
|
306
306
|
}
|
|
307
307
|
/**
|
|
308
308
|
*
|
|
@@ -315,55 +315,55 @@ export interface BillingV1PaymentMethodPaymentMethodResource {
|
|
|
315
315
|
* @type {number}
|
|
316
316
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
317
317
|
*/
|
|
318
|
-
'id'
|
|
318
|
+
'id': number;
|
|
319
319
|
/**
|
|
320
320
|
*
|
|
321
321
|
* @type {string}
|
|
322
322
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
323
323
|
*/
|
|
324
|
-
'name'
|
|
324
|
+
'name': string;
|
|
325
325
|
/**
|
|
326
326
|
*
|
|
327
327
|
* @type {string}
|
|
328
328
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
329
329
|
*/
|
|
330
|
-
'identifier'
|
|
330
|
+
'identifier': string;
|
|
331
331
|
/**
|
|
332
332
|
*
|
|
333
333
|
* @type {string}
|
|
334
334
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
335
335
|
*/
|
|
336
|
-
'payment_method'
|
|
336
|
+
'payment_method': string;
|
|
337
337
|
/**
|
|
338
338
|
*
|
|
339
339
|
* @type {boolean}
|
|
340
340
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
341
341
|
*/
|
|
342
|
-
'is_default'
|
|
342
|
+
'is_default': boolean;
|
|
343
343
|
/**
|
|
344
344
|
*
|
|
345
345
|
* @type {boolean}
|
|
346
346
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
347
347
|
*/
|
|
348
|
-
'is_expired'
|
|
348
|
+
'is_expired': boolean;
|
|
349
349
|
/**
|
|
350
350
|
*
|
|
351
351
|
* @type {boolean}
|
|
352
352
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
353
353
|
*/
|
|
354
|
-
'is_suspended'
|
|
354
|
+
'is_suspended': boolean;
|
|
355
355
|
/**
|
|
356
356
|
*
|
|
357
357
|
* @type {string}
|
|
358
358
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
359
359
|
*/
|
|
360
|
-
'created_at'
|
|
360
|
+
'created_at': string;
|
|
361
361
|
/**
|
|
362
362
|
*
|
|
363
363
|
* @type {string}
|
|
364
364
|
* @memberof BillingV1PaymentMethodPaymentMethodResource
|
|
365
365
|
*/
|
|
366
|
-
'expires_at'
|
|
366
|
+
'expires_at': string;
|
|
367
367
|
}
|
|
368
368
|
/**
|
|
369
369
|
*
|
|
@@ -376,13 +376,13 @@ export interface BillingV1SubscriptionCancelRequest {
|
|
|
376
376
|
* @type {string}
|
|
377
377
|
* @memberof BillingV1SubscriptionCancelRequest
|
|
378
378
|
*/
|
|
379
|
-
'reason_code'
|
|
379
|
+
'reason_code': BillingV1SubscriptionCancelRequestReasonCodeEnum | null;
|
|
380
380
|
/**
|
|
381
381
|
* Cancellation option
|
|
382
382
|
* @type {string}
|
|
383
383
|
* @memberof BillingV1SubscriptionCancelRequest
|
|
384
384
|
*/
|
|
385
|
-
'cancel_option'
|
|
385
|
+
'cancel_option': BillingV1SubscriptionCancelRequestCancelOptionEnum | null;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
export const BillingV1SubscriptionCancelRequestReasonCodeEnum = {
|
|
@@ -407,79 +407,73 @@ export interface BillingV1SubscriptionSubscriptionResource {
|
|
|
407
407
|
* @type {string}
|
|
408
408
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
409
409
|
*/
|
|
410
|
-
'id'
|
|
410
|
+
'id': string;
|
|
411
411
|
/**
|
|
412
412
|
*
|
|
413
413
|
* @type {string}
|
|
414
414
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
415
415
|
*/
|
|
416
|
-
'name'
|
|
416
|
+
'name': string;
|
|
417
417
|
/**
|
|
418
418
|
*
|
|
419
419
|
* @type {string}
|
|
420
420
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
421
421
|
*/
|
|
422
|
-
'status'
|
|
422
|
+
'status': BillingV1SubscriptionSubscriptionResourceStatusEnum;
|
|
423
423
|
/**
|
|
424
424
|
*
|
|
425
425
|
* @type {number}
|
|
426
426
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
427
427
|
*/
|
|
428
|
-
'billing_period'
|
|
428
|
+
'billing_period': number;
|
|
429
429
|
/**
|
|
430
430
|
*
|
|
431
431
|
* @type {string}
|
|
432
432
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
433
433
|
*/
|
|
434
|
-
'billing_period_unit'
|
|
434
|
+
'billing_period_unit': string;
|
|
435
435
|
/**
|
|
436
436
|
*
|
|
437
437
|
* @type {string}
|
|
438
438
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
439
439
|
*/
|
|
440
|
-
'currency_code'
|
|
440
|
+
'currency_code': string;
|
|
441
441
|
/**
|
|
442
442
|
* Total price in cents
|
|
443
443
|
* @type {number}
|
|
444
444
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
445
445
|
*/
|
|
446
|
-
'total_price'
|
|
446
|
+
'total_price': number;
|
|
447
447
|
/**
|
|
448
448
|
* Renewal price in cents
|
|
449
449
|
* @type {number}
|
|
450
450
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
451
451
|
*/
|
|
452
|
-
'renewal_price'
|
|
452
|
+
'renewal_price': number;
|
|
453
453
|
/**
|
|
454
454
|
*
|
|
455
455
|
* @type {boolean}
|
|
456
456
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
457
457
|
*/
|
|
458
|
-
'auto_renew'
|
|
458
|
+
'auto_renew': boolean;
|
|
459
459
|
/**
|
|
460
460
|
*
|
|
461
461
|
* @type {string}
|
|
462
462
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
463
463
|
*/
|
|
464
|
-
'created_at'
|
|
464
|
+
'created_at': string;
|
|
465
465
|
/**
|
|
466
466
|
*
|
|
467
467
|
* @type {string}
|
|
468
468
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
469
469
|
*/
|
|
470
|
-
'expires_at'
|
|
470
|
+
'expires_at': string | null;
|
|
471
471
|
/**
|
|
472
472
|
*
|
|
473
473
|
* @type {string}
|
|
474
474
|
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
475
475
|
*/
|
|
476
|
-
'next_billing_at'
|
|
477
|
-
/**
|
|
478
|
-
*
|
|
479
|
-
* @type {string}
|
|
480
|
-
* @memberof BillingV1SubscriptionSubscriptionResource
|
|
481
|
-
*/
|
|
482
|
-
'canceled_at'?: string | null;
|
|
476
|
+
'next_billing_at': string | null;
|
|
483
477
|
}
|
|
484
478
|
|
|
485
479
|
export const BillingV1SubscriptionSubscriptionResourceStatusEnum = {
|
|
@@ -505,13 +499,13 @@ export interface CommonSchemaErrorResponseSchema {
|
|
|
505
499
|
* @type {string}
|
|
506
500
|
* @memberof CommonSchemaErrorResponseSchema
|
|
507
501
|
*/
|
|
508
|
-
'message'
|
|
502
|
+
'message': string;
|
|
509
503
|
/**
|
|
510
504
|
*
|
|
511
505
|
* @type {string}
|
|
512
506
|
* @memberof CommonSchemaErrorResponseSchema
|
|
513
507
|
*/
|
|
514
|
-
'correlation_id'
|
|
508
|
+
'correlation_id': string;
|
|
515
509
|
}
|
|
516
510
|
/**
|
|
517
511
|
*
|
|
@@ -524,19 +518,19 @@ export interface CommonSchemaPaginationMetaSchema {
|
|
|
524
518
|
* @type {number}
|
|
525
519
|
* @memberof CommonSchemaPaginationMetaSchema
|
|
526
520
|
*/
|
|
527
|
-
'current_page'
|
|
521
|
+
'current_page': number;
|
|
528
522
|
/**
|
|
529
523
|
*
|
|
530
524
|
* @type {number}
|
|
531
525
|
* @memberof CommonSchemaPaginationMetaSchema
|
|
532
526
|
*/
|
|
533
|
-
'per_page'
|
|
527
|
+
'per_page': number;
|
|
534
528
|
/**
|
|
535
529
|
*
|
|
536
530
|
* @type {number}
|
|
537
531
|
* @memberof CommonSchemaPaginationMetaSchema
|
|
538
532
|
*/
|
|
539
|
-
'total'
|
|
533
|
+
'total': number;
|
|
540
534
|
}
|
|
541
535
|
/**
|
|
542
536
|
*
|
|
@@ -549,13 +543,13 @@ export interface CommonSchemaUnauthorizedResponseSchema {
|
|
|
549
543
|
* @type {string}
|
|
550
544
|
* @memberof CommonSchemaUnauthorizedResponseSchema
|
|
551
545
|
*/
|
|
552
|
-
'message'
|
|
546
|
+
'message': string;
|
|
553
547
|
/**
|
|
554
548
|
*
|
|
555
549
|
* @type {string}
|
|
556
550
|
* @memberof CommonSchemaUnauthorizedResponseSchema
|
|
557
551
|
*/
|
|
558
|
-
'correlation_id'
|
|
552
|
+
'correlation_id': string;
|
|
559
553
|
}
|
|
560
554
|
/**
|
|
561
555
|
*
|
|
@@ -568,19 +562,19 @@ export interface CommonSchemaUnprocessableContentResponseSchema {
|
|
|
568
562
|
* @type {string}
|
|
569
563
|
* @memberof CommonSchemaUnprocessableContentResponseSchema
|
|
570
564
|
*/
|
|
571
|
-
'message'
|
|
565
|
+
'message': string;
|
|
572
566
|
/**
|
|
573
567
|
*
|
|
574
568
|
* @type {CommonSchemaUnprocessableContentResponseSchemaErrors}
|
|
575
569
|
* @memberof CommonSchemaUnprocessableContentResponseSchema
|
|
576
570
|
*/
|
|
577
|
-
'errors'
|
|
571
|
+
'errors': CommonSchemaUnprocessableContentResponseSchemaErrors;
|
|
578
572
|
/**
|
|
579
573
|
*
|
|
580
574
|
* @type {string}
|
|
581
575
|
* @memberof CommonSchemaUnprocessableContentResponseSchema
|
|
582
576
|
*/
|
|
583
|
-
'correlation_id'
|
|
577
|
+
'correlation_id': string;
|
|
584
578
|
}
|
|
585
579
|
/**
|
|
586
580
|
*
|
|
@@ -593,13 +587,13 @@ export interface CommonSchemaUnprocessableContentResponseSchemaErrors {
|
|
|
593
587
|
* @type {Array<any>}
|
|
594
588
|
* @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
|
|
595
589
|
*/
|
|
596
|
-
'field_1'
|
|
590
|
+
'field_1': Array<any>;
|
|
597
591
|
/**
|
|
598
592
|
*
|
|
599
593
|
* @type {Array<any>}
|
|
600
594
|
* @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
|
|
601
595
|
*/
|
|
602
|
-
'field_2'
|
|
596
|
+
'field_2': Array<any>;
|
|
603
597
|
}
|
|
604
598
|
/**
|
|
605
599
|
*
|
|
@@ -612,7 +606,7 @@ export interface CommonSuccessEmptyResource {
|
|
|
612
606
|
* @type {string}
|
|
613
607
|
* @memberof CommonSuccessEmptyResource
|
|
614
608
|
*/
|
|
615
|
-
'message'
|
|
609
|
+
'message': string;
|
|
616
610
|
}
|
|
617
611
|
/**
|
|
618
612
|
*
|
|
@@ -625,19 +619,19 @@ export interface DNSV1SnapshotSnapshotResource {
|
|
|
625
619
|
* @type {number}
|
|
626
620
|
* @memberof DNSV1SnapshotSnapshotResource
|
|
627
621
|
*/
|
|
628
|
-
'id'
|
|
622
|
+
'id': number;
|
|
629
623
|
/**
|
|
630
624
|
* Reason of the update
|
|
631
625
|
* @type {string}
|
|
632
626
|
* @memberof DNSV1SnapshotSnapshotResource
|
|
633
627
|
*/
|
|
634
|
-
'reason'
|
|
628
|
+
'reason': string;
|
|
635
629
|
/**
|
|
636
630
|
*
|
|
637
631
|
* @type {string}
|
|
638
632
|
* @memberof DNSV1SnapshotSnapshotResource
|
|
639
633
|
*/
|
|
640
|
-
'created_at'
|
|
634
|
+
'created_at': string;
|
|
641
635
|
}
|
|
642
636
|
/**
|
|
643
637
|
*
|
|
@@ -650,25 +644,25 @@ export interface DNSV1SnapshotSnapshotWithContentResource {
|
|
|
650
644
|
* @type {number}
|
|
651
645
|
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
652
646
|
*/
|
|
653
|
-
'id'
|
|
647
|
+
'id': number;
|
|
654
648
|
/**
|
|
655
649
|
* Reason of the update
|
|
656
650
|
* @type {string}
|
|
657
651
|
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
658
652
|
*/
|
|
659
|
-
'reason'
|
|
653
|
+
'reason': string;
|
|
660
654
|
/**
|
|
661
|
-
*
|
|
662
|
-
* @type {
|
|
655
|
+
* Array of [`DNS.V1.Zone.RecordResource`](#model/dnsv1zonerecordresource)
|
|
656
|
+
* @type {Array<DNSV1ZoneRecordResource>}
|
|
663
657
|
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
664
658
|
*/
|
|
665
|
-
'snapshot'
|
|
659
|
+
'snapshot': Array<DNSV1ZoneRecordResource>;
|
|
666
660
|
/**
|
|
667
661
|
*
|
|
668
662
|
* @type {string}
|
|
669
663
|
* @memberof DNSV1SnapshotSnapshotWithContentResource
|
|
670
664
|
*/
|
|
671
|
-
'created_at'
|
|
665
|
+
'created_at': string;
|
|
672
666
|
}
|
|
673
667
|
/**
|
|
674
668
|
*
|
|
@@ -694,13 +688,13 @@ export interface DNSV1ZoneDestroyRequestFiltersInner {
|
|
|
694
688
|
* @type {string}
|
|
695
689
|
* @memberof DNSV1ZoneDestroyRequestFiltersInner
|
|
696
690
|
*/
|
|
697
|
-
'name'
|
|
691
|
+
'name': string;
|
|
698
692
|
/**
|
|
699
693
|
* Type of the record
|
|
700
694
|
* @type {string}
|
|
701
695
|
* @memberof DNSV1ZoneDestroyRequestFiltersInner
|
|
702
696
|
*/
|
|
703
|
-
'type'
|
|
697
|
+
'type': DNSV1ZoneDestroyRequestFiltersInnerTypeEnum;
|
|
704
698
|
}
|
|
705
699
|
|
|
706
700
|
export const DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = {
|
|
@@ -729,13 +723,13 @@ export interface DNSV1ZoneNameRecordResource {
|
|
|
729
723
|
* @type {string}
|
|
730
724
|
* @memberof DNSV1ZoneNameRecordResource
|
|
731
725
|
*/
|
|
732
|
-
'content'
|
|
726
|
+
'content': string;
|
|
733
727
|
/**
|
|
734
728
|
* Flag to mark name record as disabled
|
|
735
729
|
* @type {boolean}
|
|
736
730
|
* @memberof DNSV1ZoneNameRecordResource
|
|
737
731
|
*/
|
|
738
|
-
'disabled'
|
|
732
|
+
'disabled': boolean;
|
|
739
733
|
}
|
|
740
734
|
/**
|
|
741
735
|
*
|
|
@@ -748,25 +742,25 @@ export interface DNSV1ZoneRecordResource {
|
|
|
748
742
|
* @type {string}
|
|
749
743
|
* @memberof DNSV1ZoneRecordResource
|
|
750
744
|
*/
|
|
751
|
-
'name'
|
|
745
|
+
'name': string;
|
|
752
746
|
/**
|
|
753
747
|
* Array of [`DNS.V1.Zone.NameRecordResource`](#model/dnsv1zonenamerecordresource)
|
|
754
748
|
* @type {Array<DNSV1ZoneNameRecordResource>}
|
|
755
749
|
* @memberof DNSV1ZoneRecordResource
|
|
756
750
|
*/
|
|
757
|
-
'records'
|
|
751
|
+
'records': Array<DNSV1ZoneNameRecordResource>;
|
|
758
752
|
/**
|
|
759
753
|
* TTL (Time-To-Live) of the record
|
|
760
754
|
* @type {number}
|
|
761
755
|
* @memberof DNSV1ZoneRecordResource
|
|
762
756
|
*/
|
|
763
|
-
'ttl'
|
|
757
|
+
'ttl': number;
|
|
764
758
|
/**
|
|
765
759
|
* Type of the record
|
|
766
760
|
* @type {string}
|
|
767
761
|
* @memberof DNSV1ZoneRecordResource
|
|
768
762
|
*/
|
|
769
|
-
'type'
|
|
763
|
+
'type': DNSV1ZoneRecordResourceTypeEnum;
|
|
770
764
|
}
|
|
771
765
|
|
|
772
766
|
export const DNSV1ZoneRecordResourceTypeEnum = {
|
|
@@ -795,19 +789,19 @@ export interface DNSV1ZoneResetRequest {
|
|
|
795
789
|
* @type {boolean}
|
|
796
790
|
* @memberof DNSV1ZoneResetRequest
|
|
797
791
|
*/
|
|
798
|
-
'sync'
|
|
792
|
+
'sync': boolean;
|
|
799
793
|
/**
|
|
800
794
|
* Determines if email records should be reset
|
|
801
795
|
* @type {boolean}
|
|
802
796
|
* @memberof DNSV1ZoneResetRequest
|
|
803
797
|
*/
|
|
804
|
-
'reset_email_records'
|
|
798
|
+
'reset_email_records': boolean;
|
|
805
799
|
/**
|
|
806
800
|
* Specifies which record types to not reset
|
|
807
801
|
* @type {Array<string>}
|
|
808
802
|
* @memberof DNSV1ZoneResetRequest
|
|
809
803
|
*/
|
|
810
|
-
'whitelisted_record_types'
|
|
804
|
+
'whitelisted_record_types': Array<string>;
|
|
811
805
|
}
|
|
812
806
|
/**
|
|
813
807
|
*
|
|
@@ -820,7 +814,7 @@ export interface DNSV1ZoneUpdateRequest {
|
|
|
820
814
|
* @type {boolean}
|
|
821
815
|
* @memberof DNSV1ZoneUpdateRequest
|
|
822
816
|
*/
|
|
823
|
-
'overwrite'
|
|
817
|
+
'overwrite': boolean;
|
|
824
818
|
/**
|
|
825
819
|
*
|
|
826
820
|
* @type {Array<DNSV1ZoneUpdateRequestZoneInner>}
|
|
@@ -845,13 +839,13 @@ export interface DNSV1ZoneUpdateRequestZoneInner {
|
|
|
845
839
|
* @type {Array<DNSV1ZoneUpdateRequestZoneInnerRecordsInner>}
|
|
846
840
|
* @memberof DNSV1ZoneUpdateRequestZoneInner
|
|
847
841
|
*/
|
|
848
|
-
'records'
|
|
842
|
+
'records': Array<DNSV1ZoneUpdateRequestZoneInnerRecordsInner>;
|
|
849
843
|
/**
|
|
850
844
|
* TTL (Time-To-Live) of the record
|
|
851
845
|
* @type {number}
|
|
852
846
|
* @memberof DNSV1ZoneUpdateRequestZoneInner
|
|
853
847
|
*/
|
|
854
|
-
'ttl'
|
|
848
|
+
'ttl': number;
|
|
855
849
|
/**
|
|
856
850
|
* Type of the record
|
|
857
851
|
* @type {string}
|
|
@@ -899,37 +893,37 @@ export interface DomainsV1DomainDomainResource {
|
|
|
899
893
|
* @type {number}
|
|
900
894
|
* @memberof DomainsV1DomainDomainResource
|
|
901
895
|
*/
|
|
902
|
-
'id'
|
|
896
|
+
'id': number;
|
|
903
897
|
/**
|
|
904
898
|
* Domain name, `null` when not claimed free domain
|
|
905
899
|
* @type {string}
|
|
906
900
|
* @memberof DomainsV1DomainDomainResource
|
|
907
901
|
*/
|
|
908
|
-
'name'
|
|
902
|
+
'name': string | null;
|
|
909
903
|
/**
|
|
910
904
|
*
|
|
911
905
|
* @type {string}
|
|
912
906
|
* @memberof DomainsV1DomainDomainResource
|
|
913
907
|
*/
|
|
914
|
-
'type'
|
|
908
|
+
'type': DomainsV1DomainDomainResourceTypeEnum;
|
|
915
909
|
/**
|
|
916
910
|
*
|
|
917
911
|
* @type {string}
|
|
918
912
|
* @memberof DomainsV1DomainDomainResource
|
|
919
913
|
*/
|
|
920
|
-
'status'
|
|
914
|
+
'status': DomainsV1DomainDomainResourceStatusEnum;
|
|
921
915
|
/**
|
|
922
916
|
*
|
|
923
917
|
* @type {string}
|
|
924
918
|
* @memberof DomainsV1DomainDomainResource
|
|
925
919
|
*/
|
|
926
|
-
'created_at'
|
|
920
|
+
'created_at': string;
|
|
927
921
|
/**
|
|
928
922
|
*
|
|
929
923
|
* @type {string}
|
|
930
924
|
* @memberof DomainsV1DomainDomainResource
|
|
931
925
|
*/
|
|
932
|
-
'expires_at'
|
|
926
|
+
'expires_at': string | null;
|
|
933
927
|
}
|
|
934
928
|
|
|
935
929
|
export const DomainsV1DomainDomainResourceTypeEnum = {
|
|
@@ -957,13 +951,13 @@ export interface VPSGetActionListV1200Response {
|
|
|
957
951
|
* @type {Array<VPSV1ActionActionResource>}
|
|
958
952
|
* @memberof VPSGetActionListV1200Response
|
|
959
953
|
*/
|
|
960
|
-
'data'
|
|
954
|
+
'data': Array<VPSV1ActionActionResource>;
|
|
961
955
|
/**
|
|
962
956
|
*
|
|
963
957
|
* @type {CommonSchemaPaginationMetaSchema}
|
|
964
958
|
* @memberof VPSGetActionListV1200Response
|
|
965
959
|
*/
|
|
966
|
-
'meta'
|
|
960
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
967
961
|
}
|
|
968
962
|
/**
|
|
969
963
|
*
|
|
@@ -976,13 +970,13 @@ export interface VPSGetBackupListV1200Response {
|
|
|
976
970
|
* @type {Array<VPSV1BackupBackupResource>}
|
|
977
971
|
* @memberof VPSGetBackupListV1200Response
|
|
978
972
|
*/
|
|
979
|
-
'data'
|
|
973
|
+
'data': Array<VPSV1BackupBackupResource>;
|
|
980
974
|
/**
|
|
981
975
|
*
|
|
982
976
|
* @type {CommonSchemaPaginationMetaSchema}
|
|
983
977
|
* @memberof VPSGetBackupListV1200Response
|
|
984
978
|
*/
|
|
985
|
-
'meta'
|
|
979
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
986
980
|
}
|
|
987
981
|
/**
|
|
988
982
|
*
|
|
@@ -995,13 +989,13 @@ export interface VPSGetFirewallListV1200Response {
|
|
|
995
989
|
* @type {Array<VPSV1FirewallFirewallResource>}
|
|
996
990
|
* @memberof VPSGetFirewallListV1200Response
|
|
997
991
|
*/
|
|
998
|
-
'data'
|
|
992
|
+
'data': Array<VPSV1FirewallFirewallResource>;
|
|
999
993
|
/**
|
|
1000
994
|
*
|
|
1001
995
|
* @type {CommonSchemaPaginationMetaSchema}
|
|
1002
996
|
* @memberof VPSGetFirewallListV1200Response
|
|
1003
997
|
*/
|
|
1004
|
-
'meta'
|
|
998
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1005
999
|
}
|
|
1006
1000
|
/**
|
|
1007
1001
|
*
|
|
@@ -1014,13 +1008,13 @@ export interface VPSGetPostInstallScriptListV1200Response {
|
|
|
1014
1008
|
* @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
|
|
1015
1009
|
* @memberof VPSGetPostInstallScriptListV1200Response
|
|
1016
1010
|
*/
|
|
1017
|
-
'data'
|
|
1011
|
+
'data': Array<VPSV1PostInstallScriptPostInstallScriptResource>;
|
|
1018
1012
|
/**
|
|
1019
1013
|
*
|
|
1020
1014
|
* @type {CommonSchemaPaginationMetaSchema}
|
|
1021
1015
|
* @memberof VPSGetPostInstallScriptListV1200Response
|
|
1022
1016
|
*/
|
|
1023
|
-
'meta'
|
|
1017
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1024
1018
|
}
|
|
1025
1019
|
/**
|
|
1026
1020
|
*
|
|
@@ -1033,13 +1027,13 @@ export interface VPSGetPublicKeyListV1200Response {
|
|
|
1033
1027
|
* @type {Array<VPSV1PublicKeyPublicKeyResource>}
|
|
1034
1028
|
* @memberof VPSGetPublicKeyListV1200Response
|
|
1035
1029
|
*/
|
|
1036
|
-
'data'
|
|
1030
|
+
'data': Array<VPSV1PublicKeyPublicKeyResource>;
|
|
1037
1031
|
/**
|
|
1038
1032
|
*
|
|
1039
1033
|
* @type {CommonSchemaPaginationMetaSchema}
|
|
1040
1034
|
* @memberof VPSGetPublicKeyListV1200Response
|
|
1041
1035
|
*/
|
|
1042
|
-
'meta'
|
|
1036
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1043
1037
|
}
|
|
1044
1038
|
/**
|
|
1045
1039
|
*
|
|
@@ -1052,31 +1046,31 @@ export interface VPSV1ActionActionResource {
|
|
|
1052
1046
|
* @type {number}
|
|
1053
1047
|
* @memberof VPSV1ActionActionResource
|
|
1054
1048
|
*/
|
|
1055
|
-
'id'
|
|
1049
|
+
'id': number;
|
|
1056
1050
|
/**
|
|
1057
1051
|
* Action name
|
|
1058
1052
|
* @type {string}
|
|
1059
1053
|
* @memberof VPSV1ActionActionResource
|
|
1060
1054
|
*/
|
|
1061
|
-
'name'
|
|
1055
|
+
'name': string;
|
|
1062
1056
|
/**
|
|
1063
1057
|
* Action state
|
|
1064
1058
|
* @type {string}
|
|
1065
1059
|
* @memberof VPSV1ActionActionResource
|
|
1066
1060
|
*/
|
|
1067
|
-
'state'
|
|
1061
|
+
'state': VPSV1ActionActionResourceStateEnum;
|
|
1068
1062
|
/**
|
|
1069
1063
|
*
|
|
1070
1064
|
* @type {string}
|
|
1071
1065
|
* @memberof VPSV1ActionActionResource
|
|
1072
1066
|
*/
|
|
1073
|
-
'created_at'
|
|
1067
|
+
'created_at': string;
|
|
1074
1068
|
/**
|
|
1075
1069
|
*
|
|
1076
1070
|
* @type {string}
|
|
1077
1071
|
* @memberof VPSV1ActionActionResource
|
|
1078
1072
|
*/
|
|
1079
|
-
'updated_at'
|
|
1073
|
+
'updated_at': string;
|
|
1080
1074
|
}
|
|
1081
1075
|
|
|
1082
1076
|
export const VPSV1ActionActionResourceStateEnum = {
|
|
@@ -1100,19 +1094,19 @@ export interface VPSV1BackupBackupResource {
|
|
|
1100
1094
|
* @type {number}
|
|
1101
1095
|
* @memberof VPSV1BackupBackupResource
|
|
1102
1096
|
*/
|
|
1103
|
-
'id'
|
|
1097
|
+
'id': number;
|
|
1104
1098
|
/**
|
|
1105
1099
|
* Location of the backup
|
|
1106
1100
|
* @type {string}
|
|
1107
1101
|
* @memberof VPSV1BackupBackupResource
|
|
1108
1102
|
*/
|
|
1109
|
-
'location'
|
|
1103
|
+
'location': string;
|
|
1110
1104
|
/**
|
|
1111
1105
|
*
|
|
1112
1106
|
* @type {string}
|
|
1113
1107
|
* @memberof VPSV1BackupBackupResource
|
|
1114
1108
|
*/
|
|
1115
|
-
'created_at'
|
|
1109
|
+
'created_at': string;
|
|
1116
1110
|
}
|
|
1117
1111
|
/**
|
|
1118
1112
|
*
|
|
@@ -1125,31 +1119,31 @@ export interface VPSV1DataCenterDataCenterResource {
|
|
|
1125
1119
|
* @type {number}
|
|
1126
1120
|
* @memberof VPSV1DataCenterDataCenterResource
|
|
1127
1121
|
*/
|
|
1128
|
-
'id'
|
|
1122
|
+
'id': number;
|
|
1129
1123
|
/**
|
|
1130
1124
|
* Data center name
|
|
1131
1125
|
* @type {string}
|
|
1132
1126
|
* @memberof VPSV1DataCenterDataCenterResource
|
|
1133
1127
|
*/
|
|
1134
|
-
'name'
|
|
1128
|
+
'name': string | null;
|
|
1135
1129
|
/**
|
|
1136
1130
|
* Data center location country (two letter code)
|
|
1137
1131
|
* @type {string}
|
|
1138
1132
|
* @memberof VPSV1DataCenterDataCenterResource
|
|
1139
1133
|
*/
|
|
1140
|
-
'location'
|
|
1134
|
+
'location': string | null;
|
|
1141
1135
|
/**
|
|
1142
1136
|
* Data center location city
|
|
1143
1137
|
* @type {string}
|
|
1144
1138
|
* @memberof VPSV1DataCenterDataCenterResource
|
|
1145
1139
|
*/
|
|
1146
|
-
'city'
|
|
1140
|
+
'city': string | null;
|
|
1147
1141
|
/**
|
|
1148
1142
|
* Data center location continent
|
|
1149
1143
|
* @type {string}
|
|
1150
1144
|
* @memberof VPSV1DataCenterDataCenterResource
|
|
1151
1145
|
*/
|
|
1152
|
-
'continent'
|
|
1146
|
+
'continent': string | null;
|
|
1153
1147
|
}
|
|
1154
1148
|
/**
|
|
1155
1149
|
*
|
|
@@ -1162,37 +1156,37 @@ export interface VPSV1FirewallFirewallResource {
|
|
|
1162
1156
|
* @type {number}
|
|
1163
1157
|
* @memberof VPSV1FirewallFirewallResource
|
|
1164
1158
|
*/
|
|
1165
|
-
'id'
|
|
1159
|
+
'id': number;
|
|
1166
1160
|
/**
|
|
1167
1161
|
* Firewall name
|
|
1168
1162
|
* @type {string}
|
|
1169
1163
|
* @memberof VPSV1FirewallFirewallResource
|
|
1170
1164
|
*/
|
|
1171
|
-
'name'
|
|
1165
|
+
'name': string;
|
|
1172
1166
|
/**
|
|
1173
1167
|
* Is current firewall synced with VPS
|
|
1174
1168
|
* @type {boolean}
|
|
1175
1169
|
* @memberof VPSV1FirewallFirewallResource
|
|
1176
1170
|
*/
|
|
1177
|
-
'synced'
|
|
1171
|
+
'synced': boolean;
|
|
1178
1172
|
/**
|
|
1179
1173
|
* Array of [`VPS.V1.Firewall.FirewallRuleResource`](#model/vpsv1firewallfirewallruleresource)
|
|
1180
1174
|
* @type {Array<VPSV1FirewallFirewallRuleResource>}
|
|
1181
1175
|
* @memberof VPSV1FirewallFirewallResource
|
|
1182
1176
|
*/
|
|
1183
|
-
'rules'
|
|
1177
|
+
'rules': Array<VPSV1FirewallFirewallRuleResource>;
|
|
1184
1178
|
/**
|
|
1185
1179
|
*
|
|
1186
1180
|
* @type {string}
|
|
1187
1181
|
* @memberof VPSV1FirewallFirewallResource
|
|
1188
1182
|
*/
|
|
1189
|
-
'created_at'
|
|
1183
|
+
'created_at': string;
|
|
1190
1184
|
/**
|
|
1191
1185
|
*
|
|
1192
1186
|
* @type {string}
|
|
1193
1187
|
* @memberof VPSV1FirewallFirewallResource
|
|
1194
1188
|
*/
|
|
1195
|
-
'updated_at'
|
|
1189
|
+
'updated_at': string;
|
|
1196
1190
|
}
|
|
1197
1191
|
/**
|
|
1198
1192
|
*
|
|
@@ -1205,37 +1199,37 @@ export interface VPSV1FirewallFirewallRuleResource {
|
|
|
1205
1199
|
* @type {number}
|
|
1206
1200
|
* @memberof VPSV1FirewallFirewallRuleResource
|
|
1207
1201
|
*/
|
|
1208
|
-
'id'
|
|
1202
|
+
'id': number;
|
|
1209
1203
|
/**
|
|
1210
1204
|
* Firewall rule action
|
|
1211
1205
|
* @type {string}
|
|
1212
1206
|
* @memberof VPSV1FirewallFirewallRuleResource
|
|
1213
1207
|
*/
|
|
1214
|
-
'action'
|
|
1208
|
+
'action': VPSV1FirewallFirewallRuleResourceActionEnum;
|
|
1215
1209
|
/**
|
|
1216
1210
|
* Firewall rule protocol
|
|
1217
1211
|
* @type {string}
|
|
1218
1212
|
* @memberof VPSV1FirewallFirewallRuleResource
|
|
1219
1213
|
*/
|
|
1220
|
-
'protocol'
|
|
1214
|
+
'protocol': VPSV1FirewallFirewallRuleResourceProtocolEnum;
|
|
1221
1215
|
/**
|
|
1222
1216
|
* Firewall rule destination port: single or port range
|
|
1223
1217
|
* @type {string}
|
|
1224
1218
|
* @memberof VPSV1FirewallFirewallRuleResource
|
|
1225
1219
|
*/
|
|
1226
|
-
'port'
|
|
1220
|
+
'port': string;
|
|
1227
1221
|
/**
|
|
1228
1222
|
* Firewall rule source. Can be `any` or `custom`
|
|
1229
1223
|
* @type {string}
|
|
1230
1224
|
* @memberof VPSV1FirewallFirewallRuleResource
|
|
1231
1225
|
*/
|
|
1232
|
-
'source'
|
|
1226
|
+
'source': string;
|
|
1233
1227
|
/**
|
|
1234
1228
|
* Firewall rule source detail. Can be `any` or IP address, CIDR or range
|
|
1235
1229
|
* @type {string}
|
|
1236
1230
|
* @memberof VPSV1FirewallFirewallRuleResource
|
|
1237
1231
|
*/
|
|
1238
|
-
'source_detail'
|
|
1232
|
+
'source_detail': string;
|
|
1239
1233
|
}
|
|
1240
1234
|
|
|
1241
1235
|
export const VPSV1FirewallFirewallRuleResourceActionEnum = {
|
|
@@ -1342,19 +1336,19 @@ export interface VPSV1IPAddressIPAddressResource {
|
|
|
1342
1336
|
* @type {number}
|
|
1343
1337
|
* @memberof VPSV1IPAddressIPAddressResource
|
|
1344
1338
|
*/
|
|
1345
|
-
'id'
|
|
1339
|
+
'id': number;
|
|
1346
1340
|
/**
|
|
1347
1341
|
* IP address: IPv4 or IPv6
|
|
1348
1342
|
* @type {string}
|
|
1349
1343
|
* @memberof VPSV1IPAddressIPAddressResource
|
|
1350
1344
|
*/
|
|
1351
|
-
'address'
|
|
1345
|
+
'address': string;
|
|
1352
1346
|
/**
|
|
1353
1347
|
* IP address PTR record
|
|
1354
1348
|
* @type {string}
|
|
1355
1349
|
* @memberof VPSV1IPAddressIPAddressResource
|
|
1356
1350
|
*/
|
|
1357
|
-
'ptr'
|
|
1351
|
+
'ptr': string | null;
|
|
1358
1352
|
}
|
|
1359
1353
|
/**
|
|
1360
1354
|
*
|
|
@@ -1367,37 +1361,37 @@ export interface VPSV1MalwareMetricsResource {
|
|
|
1367
1361
|
* @type {number}
|
|
1368
1362
|
* @memberof VPSV1MalwareMetricsResource
|
|
1369
1363
|
*/
|
|
1370
|
-
'records'
|
|
1364
|
+
'records': number;
|
|
1371
1365
|
/**
|
|
1372
1366
|
* Malicious files found during last scan
|
|
1373
1367
|
* @type {number}
|
|
1374
1368
|
* @memberof VPSV1MalwareMetricsResource
|
|
1375
1369
|
*/
|
|
1376
|
-
'malicious'
|
|
1370
|
+
'malicious': number;
|
|
1377
1371
|
/**
|
|
1378
1372
|
* Compromised files found during last scan
|
|
1379
1373
|
* @type {number}
|
|
1380
1374
|
* @memberof VPSV1MalwareMetricsResource
|
|
1381
1375
|
*/
|
|
1382
|
-
'compromised'
|
|
1376
|
+
'compromised': number;
|
|
1383
1377
|
/**
|
|
1384
1378
|
* Total number of files scanned during last scan
|
|
1385
1379
|
* @type {number}
|
|
1386
1380
|
* @memberof VPSV1MalwareMetricsResource
|
|
1387
1381
|
*/
|
|
1388
|
-
'scanned_files'
|
|
1382
|
+
'scanned_files': number;
|
|
1389
1383
|
/**
|
|
1390
1384
|
*
|
|
1391
1385
|
* @type {string}
|
|
1392
1386
|
* @memberof VPSV1MalwareMetricsResource
|
|
1393
1387
|
*/
|
|
1394
|
-
'scan_started_at'
|
|
1388
|
+
'scan_started_at': string;
|
|
1395
1389
|
/**
|
|
1396
1390
|
*
|
|
1397
1391
|
* @type {string}
|
|
1398
1392
|
* @memberof VPSV1MalwareMetricsResource
|
|
1399
1393
|
*/
|
|
1400
|
-
'scan_ended_at'
|
|
1394
|
+
'scan_ended_at': string | null;
|
|
1401
1395
|
}
|
|
1402
1396
|
/**
|
|
1403
1397
|
*
|
|
@@ -1410,37 +1404,37 @@ export interface VPSV1MetricsMetricsCollection {
|
|
|
1410
1404
|
* @type {VPSV1MetricsMetricsCollectionCpuUsage}
|
|
1411
1405
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1412
1406
|
*/
|
|
1413
|
-
'cpu_usage'
|
|
1407
|
+
'cpu_usage': VPSV1MetricsMetricsCollectionCpuUsage | null;
|
|
1414
1408
|
/**
|
|
1415
1409
|
*
|
|
1416
1410
|
* @type {VPSV1MetricsMetricsCollectionRamUsage}
|
|
1417
1411
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1418
1412
|
*/
|
|
1419
|
-
'ram_usage'
|
|
1413
|
+
'ram_usage': VPSV1MetricsMetricsCollectionRamUsage | null;
|
|
1420
1414
|
/**
|
|
1421
1415
|
*
|
|
1422
1416
|
* @type {VPSV1MetricsMetricsCollectionDiskSpace}
|
|
1423
1417
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1424
1418
|
*/
|
|
1425
|
-
'disk_space'
|
|
1419
|
+
'disk_space': VPSV1MetricsMetricsCollectionDiskSpace | null;
|
|
1426
1420
|
/**
|
|
1427
1421
|
*
|
|
1428
1422
|
* @type {VPSV1MetricsMetricsCollectionOutgoingTraffic}
|
|
1429
1423
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1430
1424
|
*/
|
|
1431
|
-
'outgoing_traffic'
|
|
1425
|
+
'outgoing_traffic': VPSV1MetricsMetricsCollectionOutgoingTraffic | null;
|
|
1432
1426
|
/**
|
|
1433
1427
|
*
|
|
1434
1428
|
* @type {VPSV1MetricsMetricsCollectionIncomingTraffic}
|
|
1435
1429
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1436
1430
|
*/
|
|
1437
|
-
'incoming_traffic'
|
|
1431
|
+
'incoming_traffic': VPSV1MetricsMetricsCollectionIncomingTraffic | null;
|
|
1438
1432
|
/**
|
|
1439
1433
|
*
|
|
1440
1434
|
* @type {VPSV1MetricsMetricsCollectionUptime}
|
|
1441
1435
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1442
1436
|
*/
|
|
1443
|
-
'uptime'
|
|
1437
|
+
'uptime': VPSV1MetricsMetricsCollectionUptime | null;
|
|
1444
1438
|
}
|
|
1445
1439
|
/**
|
|
1446
1440
|
* @type VPSV1MetricsMetricsCollectionCpuUsage
|
|
@@ -1495,13 +1489,13 @@ export interface VPSV1MetricsMetricsResource {
|
|
|
1495
1489
|
* @type {string}
|
|
1496
1490
|
* @memberof VPSV1MetricsMetricsResource
|
|
1497
1491
|
*/
|
|
1498
|
-
'unit'
|
|
1492
|
+
'unit': string;
|
|
1499
1493
|
/**
|
|
1500
1494
|
* Object, containing UNIX timestamps as a key and measurement as a value.
|
|
1501
1495
|
* @type {object}
|
|
1502
1496
|
* @memberof VPSV1MetricsMetricsResource
|
|
1503
1497
|
*/
|
|
1504
|
-
'usage'
|
|
1498
|
+
'usage': object;
|
|
1505
1499
|
}
|
|
1506
1500
|
/**
|
|
1507
1501
|
*
|
|
@@ -1514,31 +1508,31 @@ export interface VPSV1PostInstallScriptPostInstallScriptResource {
|
|
|
1514
1508
|
* @type {number}
|
|
1515
1509
|
* @memberof VPSV1PostInstallScriptPostInstallScriptResource
|
|
1516
1510
|
*/
|
|
1517
|
-
'id'
|
|
1511
|
+
'id': number;
|
|
1518
1512
|
/**
|
|
1519
1513
|
* Name of the script
|
|
1520
1514
|
* @type {string}
|
|
1521
1515
|
* @memberof VPSV1PostInstallScriptPostInstallScriptResource
|
|
1522
1516
|
*/
|
|
1523
|
-
'name'
|
|
1517
|
+
'name': string;
|
|
1524
1518
|
/**
|
|
1525
1519
|
* Content of the script
|
|
1526
1520
|
* @type {string}
|
|
1527
1521
|
* @memberof VPSV1PostInstallScriptPostInstallScriptResource
|
|
1528
1522
|
*/
|
|
1529
|
-
'content'
|
|
1523
|
+
'content': string;
|
|
1530
1524
|
/**
|
|
1531
1525
|
*
|
|
1532
1526
|
* @type {string}
|
|
1533
1527
|
* @memberof VPSV1PostInstallScriptPostInstallScriptResource
|
|
1534
1528
|
*/
|
|
1535
|
-
'created_at'
|
|
1529
|
+
'created_at': string;
|
|
1536
1530
|
/**
|
|
1537
1531
|
*
|
|
1538
1532
|
* @type {string}
|
|
1539
1533
|
* @memberof VPSV1PostInstallScriptPostInstallScriptResource
|
|
1540
1534
|
*/
|
|
1541
|
-
'updated_at'
|
|
1535
|
+
'updated_at': string;
|
|
1542
1536
|
}
|
|
1543
1537
|
/**
|
|
1544
1538
|
*
|
|
@@ -1583,19 +1577,19 @@ export interface VPSV1PublicKeyPublicKeyResource {
|
|
|
1583
1577
|
* @type {number}
|
|
1584
1578
|
* @memberof VPSV1PublicKeyPublicKeyResource
|
|
1585
1579
|
*/
|
|
1586
|
-
'id'
|
|
1580
|
+
'id': number;
|
|
1587
1581
|
/**
|
|
1588
1582
|
* Public key name
|
|
1589
1583
|
* @type {string}
|
|
1590
1584
|
* @memberof VPSV1PublicKeyPublicKeyResource
|
|
1591
1585
|
*/
|
|
1592
|
-
'name'
|
|
1586
|
+
'name': string;
|
|
1593
1587
|
/**
|
|
1594
1588
|
* Public key content
|
|
1595
1589
|
* @type {string}
|
|
1596
1590
|
* @memberof VPSV1PublicKeyPublicKeyResource
|
|
1597
1591
|
*/
|
|
1598
|
-
'key'
|
|
1592
|
+
'key': string;
|
|
1599
1593
|
}
|
|
1600
1594
|
/**
|
|
1601
1595
|
*
|
|
@@ -1627,19 +1621,19 @@ export interface VPSV1SnapshotSnapshotResource {
|
|
|
1627
1621
|
* @type {number}
|
|
1628
1622
|
* @memberof VPSV1SnapshotSnapshotResource
|
|
1629
1623
|
*/
|
|
1630
|
-
'id'
|
|
1624
|
+
'id': number;
|
|
1631
1625
|
/**
|
|
1632
1626
|
*
|
|
1633
1627
|
* @type {string}
|
|
1634
1628
|
* @memberof VPSV1SnapshotSnapshotResource
|
|
1635
1629
|
*/
|
|
1636
|
-
'created_at'
|
|
1630
|
+
'created_at': string;
|
|
1637
1631
|
/**
|
|
1638
1632
|
*
|
|
1639
1633
|
* @type {string}
|
|
1640
1634
|
* @memberof VPSV1SnapshotSnapshotResource
|
|
1641
1635
|
*/
|
|
1642
|
-
'expires_at'
|
|
1636
|
+
'expires_at': string;
|
|
1643
1637
|
}
|
|
1644
1638
|
/**
|
|
1645
1639
|
*
|
|
@@ -1652,25 +1646,25 @@ export interface VPSV1TemplateTemplateResource {
|
|
|
1652
1646
|
* @type {number}
|
|
1653
1647
|
* @memberof VPSV1TemplateTemplateResource
|
|
1654
1648
|
*/
|
|
1655
|
-
'id'
|
|
1649
|
+
'id': number;
|
|
1656
1650
|
/**
|
|
1657
1651
|
* Template name
|
|
1658
1652
|
* @type {string}
|
|
1659
1653
|
* @memberof VPSV1TemplateTemplateResource
|
|
1660
1654
|
*/
|
|
1661
|
-
'name'
|
|
1655
|
+
'name': string;
|
|
1662
1656
|
/**
|
|
1663
1657
|
* Template description
|
|
1664
1658
|
* @type {string}
|
|
1665
1659
|
* @memberof VPSV1TemplateTemplateResource
|
|
1666
1660
|
*/
|
|
1667
|
-
'description'
|
|
1661
|
+
'description': string;
|
|
1668
1662
|
/**
|
|
1669
1663
|
* Link to official OS documentation
|
|
1670
1664
|
* @type {string}
|
|
1671
1665
|
* @memberof VPSV1TemplateTemplateResource
|
|
1672
1666
|
*/
|
|
1673
|
-
'documentation'
|
|
1667
|
+
'documentation': string | null;
|
|
1674
1668
|
}
|
|
1675
1669
|
/**
|
|
1676
1670
|
*
|
|
@@ -1702,7 +1696,7 @@ export interface VPSV1VirtualMachineNameserversUpdateRequest {
|
|
|
1702
1696
|
* @type {string}
|
|
1703
1697
|
* @memberof VPSV1VirtualMachineNameserversUpdateRequest
|
|
1704
1698
|
*/
|
|
1705
|
-
'ns2'
|
|
1699
|
+
'ns2': string;
|
|
1706
1700
|
}
|
|
1707
1701
|
/**
|
|
1708
1702
|
*
|
|
@@ -1747,13 +1741,13 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
1747
1741
|
* @type {string}
|
|
1748
1742
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
1749
1743
|
*/
|
|
1750
|
-
'password'
|
|
1744
|
+
'password': string;
|
|
1751
1745
|
/**
|
|
1752
1746
|
* Post-install script ID
|
|
1753
1747
|
* @type {number}
|
|
1754
1748
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
1755
1749
|
*/
|
|
1756
|
-
'post_install_script_id'
|
|
1750
|
+
'post_install_script_id': number;
|
|
1757
1751
|
}
|
|
1758
1752
|
/**
|
|
1759
1753
|
*
|
|
@@ -1791,49 +1785,49 @@ export interface VPSV1VirtualMachineSetupRequest {
|
|
|
1791
1785
|
* @type {number}
|
|
1792
1786
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1793
1787
|
*/
|
|
1794
|
-
'post_install_script_id'
|
|
1788
|
+
'post_install_script_id': number;
|
|
1795
1789
|
/**
|
|
1796
1790
|
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
1797
1791
|
* @type {string}
|
|
1798
1792
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1799
1793
|
*/
|
|
1800
|
-
'password'
|
|
1794
|
+
'password': string;
|
|
1801
1795
|
/**
|
|
1802
1796
|
* Override default hostname of the virtual machine
|
|
1803
1797
|
* @type {string}
|
|
1804
1798
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1805
1799
|
*/
|
|
1806
|
-
'hostname'
|
|
1800
|
+
'hostname': string;
|
|
1807
1801
|
/**
|
|
1808
1802
|
* Install Monarx malware scanner (if supported)
|
|
1809
1803
|
* @type {boolean}
|
|
1810
1804
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1811
1805
|
*/
|
|
1812
|
-
'install_monarx'
|
|
1806
|
+
'install_monarx': boolean;
|
|
1813
1807
|
/**
|
|
1814
1808
|
* Enable weekly backup schedule
|
|
1815
1809
|
* @type {boolean}
|
|
1816
1810
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1817
1811
|
*/
|
|
1818
|
-
'enable_backups'
|
|
1812
|
+
'enable_backups': boolean;
|
|
1819
1813
|
/**
|
|
1820
1814
|
*
|
|
1821
1815
|
* @type {string}
|
|
1822
1816
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1823
1817
|
*/
|
|
1824
|
-
'ns1'
|
|
1818
|
+
'ns1': string;
|
|
1825
1819
|
/**
|
|
1826
1820
|
*
|
|
1827
1821
|
* @type {string}
|
|
1828
1822
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1829
1823
|
*/
|
|
1830
|
-
'ns2'
|
|
1824
|
+
'ns2': string;
|
|
1831
1825
|
/**
|
|
1832
1826
|
*
|
|
1833
1827
|
* @type {VPSV1VirtualMachineSetupRequestPublicKey}
|
|
1834
1828
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
1835
1829
|
*/
|
|
1836
|
-
'public_key'
|
|
1830
|
+
'public_key': VPSV1VirtualMachineSetupRequestPublicKey;
|
|
1837
1831
|
}
|
|
1838
1832
|
/**
|
|
1839
1833
|
*
|
|
@@ -1846,13 +1840,13 @@ export interface VPSV1VirtualMachineSetupRequestPublicKey {
|
|
|
1846
1840
|
* @type {string}
|
|
1847
1841
|
* @memberof VPSV1VirtualMachineSetupRequestPublicKey
|
|
1848
1842
|
*/
|
|
1849
|
-
'name'
|
|
1843
|
+
'name': string;
|
|
1850
1844
|
/**
|
|
1851
1845
|
* SSH public key
|
|
1852
1846
|
* @type {string}
|
|
1853
1847
|
* @memberof VPSV1VirtualMachineSetupRequestPublicKey
|
|
1854
1848
|
*/
|
|
1855
|
-
'key'
|
|
1849
|
+
'key': string;
|
|
1856
1850
|
}
|
|
1857
1851
|
/**
|
|
1858
1852
|
*
|
|
@@ -1865,103 +1859,103 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
|
|
|
1865
1859
|
* @type {number}
|
|
1866
1860
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1867
1861
|
*/
|
|
1868
|
-
'id'
|
|
1862
|
+
'id': number;
|
|
1869
1863
|
/**
|
|
1870
1864
|
* Active firewall ID, `null` if disabled
|
|
1871
1865
|
* @type {number}
|
|
1872
1866
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1873
1867
|
*/
|
|
1874
|
-
'firewall_group_id'
|
|
1868
|
+
'firewall_group_id': number | null;
|
|
1875
1869
|
/**
|
|
1876
1870
|
* Subscription ID
|
|
1877
1871
|
* @type {string}
|
|
1878
1872
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1879
1873
|
*/
|
|
1880
|
-
'subscription_id'
|
|
1874
|
+
'subscription_id': string | null;
|
|
1881
1875
|
/**
|
|
1882
1876
|
* VPS plan name
|
|
1883
1877
|
* @type {string}
|
|
1884
1878
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1885
1879
|
*/
|
|
1886
|
-
'plan'
|
|
1880
|
+
'plan': string | null;
|
|
1887
1881
|
/**
|
|
1888
1882
|
*
|
|
1889
1883
|
* @type {string}
|
|
1890
1884
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1891
1885
|
*/
|
|
1892
|
-
'hostname'
|
|
1886
|
+
'hostname': string;
|
|
1893
1887
|
/**
|
|
1894
1888
|
*
|
|
1895
1889
|
* @type {string}
|
|
1896
1890
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1897
1891
|
*/
|
|
1898
|
-
'state'
|
|
1892
|
+
'state': VPSV1VirtualMachineVirtualMachineResourceStateEnum;
|
|
1899
1893
|
/**
|
|
1900
1894
|
*
|
|
1901
1895
|
* @type {string}
|
|
1902
1896
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1903
1897
|
*/
|
|
1904
|
-
'actions_lock'
|
|
1898
|
+
'actions_lock': VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum;
|
|
1905
1899
|
/**
|
|
1906
1900
|
* CPUs count assigned to virtual machine
|
|
1907
1901
|
* @type {number}
|
|
1908
1902
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1909
1903
|
*/
|
|
1910
|
-
'cpus'
|
|
1904
|
+
'cpus': number;
|
|
1911
1905
|
/**
|
|
1912
1906
|
* Memory available to virtual machine (in megabytes)
|
|
1913
1907
|
* @type {number}
|
|
1914
1908
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1915
1909
|
*/
|
|
1916
|
-
'memory'
|
|
1910
|
+
'memory': number;
|
|
1917
1911
|
/**
|
|
1918
1912
|
* Virtual machine disk size (in megabytes)
|
|
1919
1913
|
* @type {number}
|
|
1920
1914
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1921
1915
|
*/
|
|
1922
|
-
'disk'
|
|
1916
|
+
'disk': number;
|
|
1923
1917
|
/**
|
|
1924
1918
|
* Monthly internet traffic available to virtual machine (in megabytes)
|
|
1925
1919
|
* @type {number}
|
|
1926
1920
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1927
1921
|
*/
|
|
1928
|
-
'bandwidth'
|
|
1922
|
+
'bandwidth': number;
|
|
1929
1923
|
/**
|
|
1930
1924
|
* Primary DNS resolver
|
|
1931
1925
|
* @type {string}
|
|
1932
1926
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1933
1927
|
*/
|
|
1934
|
-
'ns1'
|
|
1928
|
+
'ns1': string | null;
|
|
1935
1929
|
/**
|
|
1936
1930
|
* Secondary DNS resolver
|
|
1937
1931
|
* @type {string}
|
|
1938
1932
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1939
1933
|
*/
|
|
1940
|
-
'ns2'
|
|
1934
|
+
'ns2': string | null;
|
|
1941
1935
|
/**
|
|
1942
1936
|
*
|
|
1943
1937
|
* @type {VPSV1VirtualMachineVirtualMachineResourceIpv4}
|
|
1944
1938
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1945
1939
|
*/
|
|
1946
|
-
'ipv4'
|
|
1940
|
+
'ipv4': VPSV1VirtualMachineVirtualMachineResourceIpv4 | null;
|
|
1947
1941
|
/**
|
|
1948
1942
|
*
|
|
1949
1943
|
* @type {VPSV1VirtualMachineVirtualMachineResourceIpv6}
|
|
1950
1944
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1951
1945
|
*/
|
|
1952
|
-
'ipv6'
|
|
1946
|
+
'ipv6': VPSV1VirtualMachineVirtualMachineResourceIpv6 | null;
|
|
1953
1947
|
/**
|
|
1954
1948
|
*
|
|
1955
1949
|
* @type {VPSV1VirtualMachineVirtualMachineResourceTemplate}
|
|
1956
1950
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1957
1951
|
*/
|
|
1958
|
-
'template'
|
|
1952
|
+
'template': VPSV1VirtualMachineVirtualMachineResourceTemplate | null;
|
|
1959
1953
|
/**
|
|
1960
1954
|
*
|
|
1961
1955
|
* @type {string}
|
|
1962
1956
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1963
1957
|
*/
|
|
1964
|
-
'created_at'
|
|
1958
|
+
'created_at': string;
|
|
1965
1959
|
}
|
|
1966
1960
|
|
|
1967
1961
|
export const VPSV1VirtualMachineVirtualMachineResourceStateEnum = {
|
|
@@ -2124,7 +2118,7 @@ export class BillingCatalogApi extends BaseAPI {
|
|
|
2124
2118
|
export const BillingOrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2125
2119
|
return {
|
|
2126
2120
|
/**
|
|
2127
|
-
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
2121
|
+
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2128
2122
|
* @summary Create new service order
|
|
2129
2123
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2130
2124
|
* @param {*} [options] Override http request option.
|
|
@@ -2174,7 +2168,7 @@ export const BillingOrdersApiFp = function(configuration?: Configuration) {
|
|
|
2174
2168
|
const localVarAxiosParamCreator = BillingOrdersApiAxiosParamCreator(configuration)
|
|
2175
2169
|
return {
|
|
2176
2170
|
/**
|
|
2177
|
-
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
2171
|
+
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2178
2172
|
* @summary Create new service order
|
|
2179
2173
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2180
2174
|
* @param {*} [options] Override http request option.
|
|
@@ -2196,7 +2190,7 @@ export const BillingOrdersApiFactory = function (configuration?: Configuration,
|
|
|
2196
2190
|
const localVarFp = BillingOrdersApiFp(configuration)
|
|
2197
2191
|
return {
|
|
2198
2192
|
/**
|
|
2199
|
-
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
2193
|
+
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2200
2194
|
* @summary Create new service order
|
|
2201
2195
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2202
2196
|
* @param {*} [options] Override http request option.
|
|
@@ -2216,7 +2210,7 @@ export const BillingOrdersApiFactory = function (configuration?: Configuration,
|
|
|
2216
2210
|
*/
|
|
2217
2211
|
export class BillingOrdersApi extends BaseAPI {
|
|
2218
2212
|
/**
|
|
2219
|
-
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
2213
|
+
* This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
2220
2214
|
* @summary Create new service order
|
|
2221
2215
|
* @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
|
|
2222
2216
|
* @param {*} [options] Override http request option.
|
|
@@ -2762,7 +2756,7 @@ export const DNSSnapshotApiAxiosParamCreator = function (configuration?: Configu
|
|
|
2762
2756
|
assertParamExists('restoreSnapshotV1', 'domain', domain)
|
|
2763
2757
|
// verify required parameter 'snapshotId' is not null or undefined
|
|
2764
2758
|
assertParamExists('restoreSnapshotV1', 'snapshotId', snapshotId)
|
|
2765
|
-
const localVarPath = `/api/dns/v1/snapshots/{domain}/{snapshotId}`
|
|
2759
|
+
const localVarPath = `/api/dns/v1/snapshots/{domain}/{snapshotId}/restore`
|
|
2766
2760
|
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)))
|
|
2767
2761
|
.replace(`{${"snapshotId"}}`, encodeURIComponent(String(snapshotId)));
|
|
2768
2762
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2939,7 +2933,7 @@ export class DNSSnapshotApi extends BaseAPI {
|
|
|
2939
2933
|
export const DNSZoneApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2940
2934
|
return {
|
|
2941
2935
|
/**
|
|
2942
|
-
* This endpoint deletes
|
|
2936
|
+
* This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
2943
2937
|
* @summary Delete zone records
|
|
2944
2938
|
* @param {string} domain Domain name
|
|
2945
2939
|
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
@@ -3065,7 +3059,7 @@ export const DNSZoneApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3065
3059
|
};
|
|
3066
3060
|
},
|
|
3067
3061
|
/**
|
|
3068
|
-
* This endpoint updates DNS records for the selected domain.
|
|
3062
|
+
* This endpoint updates 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.
|
|
3069
3063
|
* @summary Update zone records
|
|
3070
3064
|
* @param {string} domain Domain name
|
|
3071
3065
|
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
@@ -3163,7 +3157,7 @@ export const DNSZoneApiFp = function(configuration?: Configuration) {
|
|
|
3163
3157
|
const localVarAxiosParamCreator = DNSZoneApiAxiosParamCreator(configuration)
|
|
3164
3158
|
return {
|
|
3165
3159
|
/**
|
|
3166
|
-
* This endpoint deletes
|
|
3160
|
+
* This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
3167
3161
|
* @summary Delete zone records
|
|
3168
3162
|
* @param {string} domain Domain name
|
|
3169
3163
|
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
@@ -3201,7 +3195,7 @@ export const DNSZoneApiFp = function(configuration?: Configuration) {
|
|
|
3201
3195
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3202
3196
|
},
|
|
3203
3197
|
/**
|
|
3204
|
-
* This endpoint updates DNS records for the selected domain.
|
|
3198
|
+
* This endpoint updates 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.
|
|
3205
3199
|
* @summary Update zone records
|
|
3206
3200
|
* @param {string} domain Domain name
|
|
3207
3201
|
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
@@ -3237,7 +3231,7 @@ export const DNSZoneApiFactory = function (configuration?: Configuration, basePa
|
|
|
3237
3231
|
const localVarFp = DNSZoneApiFp(configuration)
|
|
3238
3232
|
return {
|
|
3239
3233
|
/**
|
|
3240
|
-
* This endpoint deletes
|
|
3234
|
+
* This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
3241
3235
|
* @summary Delete zone records
|
|
3242
3236
|
* @param {string} domain Domain name
|
|
3243
3237
|
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
@@ -3269,7 +3263,7 @@ export const DNSZoneApiFactory = function (configuration?: Configuration, basePa
|
|
|
3269
3263
|
return localVarFp.resetZoneRecordsV1(domain, dNSV1ZoneResetRequest, options).then((request) => request(axios, basePath));
|
|
3270
3264
|
},
|
|
3271
3265
|
/**
|
|
3272
|
-
* This endpoint updates DNS records for the selected domain.
|
|
3266
|
+
* This endpoint updates 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.
|
|
3273
3267
|
* @summary Update zone records
|
|
3274
3268
|
* @param {string} domain Domain name
|
|
3275
3269
|
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|
|
@@ -3301,7 +3295,7 @@ export const DNSZoneApiFactory = function (configuration?: Configuration, basePa
|
|
|
3301
3295
|
*/
|
|
3302
3296
|
export class DNSZoneApi extends BaseAPI {
|
|
3303
3297
|
/**
|
|
3304
|
-
* This endpoint deletes
|
|
3298
|
+
* This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
3305
3299
|
* @summary Delete zone records
|
|
3306
3300
|
* @param {string} domain Domain name
|
|
3307
3301
|
* @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
|
|
@@ -3339,7 +3333,7 @@ export class DNSZoneApi extends BaseAPI {
|
|
|
3339
3333
|
}
|
|
3340
3334
|
|
|
3341
3335
|
/**
|
|
3342
|
-
* This endpoint updates DNS records for the selected domain.
|
|
3336
|
+
* This endpoint updates 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.
|
|
3343
3337
|
* @summary Update zone records
|
|
3344
3338
|
* @param {string} domain Domain name
|
|
3345
3339
|
* @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
|