hostinger-api-sdk 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.20
4
+ * API Version: 0.0.24
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
@@ -21,43 +21,43 @@ export interface BillingV1CatalogCatalogItemPriceResource {
21
21
  * @type {string}
22
22
  * @memberof BillingV1CatalogCatalogItemPriceResource
23
23
  */
24
- 'id'?: string;
24
+ 'id': string;
25
25
  /**
26
26
  * Price item name
27
27
  * @type {string}
28
28
  * @memberof BillingV1CatalogCatalogItemPriceResource
29
29
  */
30
- 'name'?: string;
30
+ 'name': string;
31
31
  /**
32
32
  * Currency code
33
33
  * @type {string}
34
34
  * @memberof BillingV1CatalogCatalogItemPriceResource
35
35
  */
36
- 'currency'?: string;
36
+ 'currency': string;
37
37
  /**
38
38
  * Price in cents
39
39
  * @type {number}
40
40
  * @memberof BillingV1CatalogCatalogItemPriceResource
41
41
  */
42
- 'price'?: number;
42
+ 'price': number;
43
43
  /**
44
44
  * First period price in cents
45
45
  * @type {number}
46
46
  * @memberof BillingV1CatalogCatalogItemPriceResource
47
47
  */
48
- 'first_period_price'?: number;
48
+ 'first_period_price': number;
49
49
  /**
50
50
  * Period
51
51
  * @type {number}
52
52
  * @memberof BillingV1CatalogCatalogItemPriceResource
53
53
  */
54
- 'period'?: number;
54
+ 'period': number;
55
55
  /**
56
56
  * Period unit
57
57
  * @type {string}
58
58
  * @memberof BillingV1CatalogCatalogItemPriceResource
59
59
  */
60
- 'period_unit'?: BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum;
60
+ 'period_unit': BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum;
61
61
  }
62
62
  export declare const BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum: {
63
63
  readonly Day: "day";
@@ -78,25 +78,25 @@ export interface BillingV1CatalogCatalogItemResource {
78
78
  * @type {string}
79
79
  * @memberof BillingV1CatalogCatalogItemResource
80
80
  */
81
- 'id'?: string;
81
+ 'id': string;
82
82
  /**
83
83
  *
84
84
  * @type {string}
85
85
  * @memberof BillingV1CatalogCatalogItemResource
86
86
  */
87
- 'name'?: string;
87
+ 'name': string;
88
88
  /**
89
89
  *
90
90
  * @type {string}
91
91
  * @memberof BillingV1CatalogCatalogItemResource
92
92
  */
93
- 'category'?: string;
93
+ 'category': string;
94
94
  /**
95
95
  * Array of [`Billing.V1.Catalog.CatalogItemPriceResource`](#model/billingv1catalogcatalogitempriceresource)
96
96
  * @type {Array<BillingV1CatalogCatalogItemPriceResource>}
97
97
  * @memberof BillingV1CatalogCatalogItemResource
98
98
  */
99
- 'prices'?: Array<BillingV1CatalogCatalogItemPriceResource>;
99
+ 'prices': Array<BillingV1CatalogCatalogItemPriceResource>;
100
100
  }
101
101
  /**
102
102
  *
@@ -109,67 +109,67 @@ export interface BillingV1OrderOrderBillingAddressResource {
109
109
  * @type {string}
110
110
  * @memberof BillingV1OrderOrderBillingAddressResource
111
111
  */
112
- 'first_name'?: string;
112
+ 'first_name': string;
113
113
  /**
114
114
  *
115
115
  * @type {string}
116
116
  * @memberof BillingV1OrderOrderBillingAddressResource
117
117
  */
118
- 'last_name'?: string;
118
+ 'last_name': string;
119
119
  /**
120
120
  *
121
121
  * @type {string}
122
122
  * @memberof BillingV1OrderOrderBillingAddressResource
123
123
  */
124
- 'company'?: string | null;
124
+ 'company': string | null;
125
125
  /**
126
126
  *
127
127
  * @type {string}
128
128
  * @memberof BillingV1OrderOrderBillingAddressResource
129
129
  */
130
- 'address_1'?: string | null;
130
+ 'address_1': string | null;
131
131
  /**
132
132
  *
133
133
  * @type {string}
134
134
  * @memberof BillingV1OrderOrderBillingAddressResource
135
135
  */
136
- 'address_2'?: string | null;
136
+ 'address_2': string | null;
137
137
  /**
138
138
  *
139
139
  * @type {string}
140
140
  * @memberof BillingV1OrderOrderBillingAddressResource
141
141
  */
142
- 'city'?: string | null;
142
+ 'city': string | null;
143
143
  /**
144
144
  *
145
145
  * @type {string}
146
146
  * @memberof BillingV1OrderOrderBillingAddressResource
147
147
  */
148
- 'state'?: string | null;
148
+ 'state': string | null;
149
149
  /**
150
150
  *
151
151
  * @type {string}
152
152
  * @memberof BillingV1OrderOrderBillingAddressResource
153
153
  */
154
- 'zip'?: string | null;
154
+ 'zip': string | null;
155
155
  /**
156
156
  *
157
157
  * @type {string}
158
158
  * @memberof BillingV1OrderOrderBillingAddressResource
159
159
  */
160
- 'country'?: string | null;
160
+ 'country': string | null;
161
161
  /**
162
162
  *
163
163
  * @type {string}
164
164
  * @memberof BillingV1OrderOrderBillingAddressResource
165
165
  */
166
- 'phone'?: string | null;
166
+ 'phone': string | null;
167
167
  /**
168
168
  *
169
169
  * @type {string}
170
170
  * @memberof BillingV1OrderOrderBillingAddressResource
171
171
  */
172
- 'email'?: string;
172
+ 'email': string;
173
173
  }
174
174
  /**
175
175
  *
@@ -182,55 +182,55 @@ export interface BillingV1OrderOrderResource {
182
182
  * @type {number}
183
183
  * @memberof BillingV1OrderOrderResource
184
184
  */
185
- 'id'?: number;
185
+ 'id': number;
186
186
  /**
187
187
  * Subscription ID
188
188
  * @type {string}
189
189
  * @memberof BillingV1OrderOrderResource
190
190
  */
191
- 'subscription_id'?: string;
191
+ 'subscription_id': string;
192
192
  /**
193
193
  *
194
194
  * @type {string}
195
195
  * @memberof BillingV1OrderOrderResource
196
196
  */
197
- 'status'?: BillingV1OrderOrderResourceStatusEnum;
197
+ 'status': BillingV1OrderOrderResourceStatusEnum;
198
198
  /**
199
199
  * Currency code
200
200
  * @type {string}
201
201
  * @memberof BillingV1OrderOrderResource
202
202
  */
203
- 'currency'?: string;
203
+ 'currency': string;
204
204
  /**
205
205
  * Subtotal price (exc. VAT) in cents
206
206
  * @type {number}
207
207
  * @memberof BillingV1OrderOrderResource
208
208
  */
209
- 'subtotal'?: number;
209
+ 'subtotal': number;
210
210
  /**
211
211
  * Total price (inc. VAT) in cents
212
212
  * @type {number}
213
213
  * @memberof BillingV1OrderOrderResource
214
214
  */
215
- 'total'?: number;
215
+ 'total': number;
216
216
  /**
217
217
  *
218
218
  * @type {BillingV1OrderOrderBillingAddressResource}
219
219
  * @memberof BillingV1OrderOrderResource
220
220
  */
221
- 'billing_address'?: BillingV1OrderOrderBillingAddressResource;
221
+ 'billing_address': BillingV1OrderOrderBillingAddressResource;
222
222
  /**
223
223
  *
224
224
  * @type {string}
225
225
  * @memberof BillingV1OrderOrderResource
226
226
  */
227
- 'created_at'?: string;
227
+ 'created_at': string;
228
228
  /**
229
229
  *
230
230
  * @type {string}
231
231
  * @memberof BillingV1OrderOrderResource
232
232
  */
233
- 'updated_at'?: string;
233
+ 'updated_at': string;
234
234
  }
235
235
  export declare const BillingV1OrderOrderResourceStatusEnum: {
236
236
  readonly Completed: "completed";
@@ -267,7 +267,7 @@ export interface BillingV1OrderStoreRequest {
267
267
  * @type {Array<any>}
268
268
  * @memberof BillingV1OrderStoreRequest
269
269
  */
270
- 'coupons'?: Array<any>;
270
+ 'coupons': Array<any>;
271
271
  }
272
272
  /**
273
273
  *
@@ -280,13 +280,13 @@ export interface BillingV1OrderStoreRequestItemsInner {
280
280
  * @type {string}
281
281
  * @memberof BillingV1OrderStoreRequestItemsInner
282
282
  */
283
- 'item_id'?: string;
283
+ 'item_id': string;
284
284
  /**
285
285
  *
286
286
  * @type {number}
287
287
  * @memberof BillingV1OrderStoreRequestItemsInner
288
288
  */
289
- 'quantity'?: number;
289
+ 'quantity': number;
290
290
  }
291
291
  /**
292
292
  *
@@ -299,55 +299,55 @@ export interface BillingV1PaymentMethodPaymentMethodResource {
299
299
  * @type {number}
300
300
  * @memberof BillingV1PaymentMethodPaymentMethodResource
301
301
  */
302
- 'id'?: number;
302
+ 'id': number;
303
303
  /**
304
304
  *
305
305
  * @type {string}
306
306
  * @memberof BillingV1PaymentMethodPaymentMethodResource
307
307
  */
308
- 'name'?: string;
308
+ 'name': string;
309
309
  /**
310
310
  *
311
311
  * @type {string}
312
312
  * @memberof BillingV1PaymentMethodPaymentMethodResource
313
313
  */
314
- 'identifier'?: string;
314
+ 'identifier': string;
315
315
  /**
316
316
  *
317
317
  * @type {string}
318
318
  * @memberof BillingV1PaymentMethodPaymentMethodResource
319
319
  */
320
- 'payment_method'?: string;
320
+ 'payment_method': string;
321
321
  /**
322
322
  *
323
323
  * @type {boolean}
324
324
  * @memberof BillingV1PaymentMethodPaymentMethodResource
325
325
  */
326
- 'is_default'?: boolean;
326
+ 'is_default': boolean;
327
327
  /**
328
328
  *
329
329
  * @type {boolean}
330
330
  * @memberof BillingV1PaymentMethodPaymentMethodResource
331
331
  */
332
- 'is_expired'?: boolean;
332
+ 'is_expired': boolean;
333
333
  /**
334
334
  *
335
335
  * @type {boolean}
336
336
  * @memberof BillingV1PaymentMethodPaymentMethodResource
337
337
  */
338
- 'is_suspended'?: boolean;
338
+ 'is_suspended': boolean;
339
339
  /**
340
340
  *
341
341
  * @type {string}
342
342
  * @memberof BillingV1PaymentMethodPaymentMethodResource
343
343
  */
344
- 'created_at'?: string;
344
+ 'created_at': string;
345
345
  /**
346
346
  *
347
347
  * @type {string}
348
348
  * @memberof BillingV1PaymentMethodPaymentMethodResource
349
349
  */
350
- 'expires_at'?: string;
350
+ 'expires_at': string;
351
351
  }
352
352
  /**
353
353
  *
@@ -360,13 +360,13 @@ export interface BillingV1SubscriptionCancelRequest {
360
360
  * @type {string}
361
361
  * @memberof BillingV1SubscriptionCancelRequest
362
362
  */
363
- 'reason_code'?: BillingV1SubscriptionCancelRequestReasonCodeEnum | null;
363
+ 'reason_code': BillingV1SubscriptionCancelRequestReasonCodeEnum | null;
364
364
  /**
365
365
  * Cancellation option
366
366
  * @type {string}
367
367
  * @memberof BillingV1SubscriptionCancelRequest
368
368
  */
369
- 'cancel_option'?: BillingV1SubscriptionCancelRequestCancelOptionEnum | null;
369
+ 'cancel_option': BillingV1SubscriptionCancelRequestCancelOptionEnum | null;
370
370
  }
371
371
  export declare const BillingV1SubscriptionCancelRequestReasonCodeEnum: {
372
372
  readonly Other: "other";
@@ -387,79 +387,73 @@ export interface BillingV1SubscriptionSubscriptionResource {
387
387
  * @type {string}
388
388
  * @memberof BillingV1SubscriptionSubscriptionResource
389
389
  */
390
- 'id'?: string;
390
+ 'id': string;
391
391
  /**
392
392
  *
393
393
  * @type {string}
394
394
  * @memberof BillingV1SubscriptionSubscriptionResource
395
395
  */
396
- 'name'?: string;
396
+ 'name': string;
397
397
  /**
398
398
  *
399
399
  * @type {string}
400
400
  * @memberof BillingV1SubscriptionSubscriptionResource
401
401
  */
402
- 'status'?: BillingV1SubscriptionSubscriptionResourceStatusEnum;
402
+ 'status': BillingV1SubscriptionSubscriptionResourceStatusEnum;
403
403
  /**
404
404
  *
405
405
  * @type {number}
406
406
  * @memberof BillingV1SubscriptionSubscriptionResource
407
407
  */
408
- 'billing_period'?: number;
408
+ 'billing_period': number;
409
409
  /**
410
410
  *
411
411
  * @type {string}
412
412
  * @memberof BillingV1SubscriptionSubscriptionResource
413
413
  */
414
- 'billing_period_unit'?: string;
414
+ 'billing_period_unit': string;
415
415
  /**
416
416
  *
417
417
  * @type {string}
418
418
  * @memberof BillingV1SubscriptionSubscriptionResource
419
419
  */
420
- 'currency_code'?: string;
420
+ 'currency_code': string;
421
421
  /**
422
422
  * Total price in cents
423
423
  * @type {number}
424
424
  * @memberof BillingV1SubscriptionSubscriptionResource
425
425
  */
426
- 'total_price'?: number;
426
+ 'total_price': number;
427
427
  /**
428
428
  * Renewal price in cents
429
429
  * @type {number}
430
430
  * @memberof BillingV1SubscriptionSubscriptionResource
431
431
  */
432
- 'renewal_price'?: number;
432
+ 'renewal_price': number;
433
433
  /**
434
434
  *
435
435
  * @type {boolean}
436
436
  * @memberof BillingV1SubscriptionSubscriptionResource
437
437
  */
438
- 'auto_renew'?: boolean;
439
- /**
440
- *
441
- * @type {string}
442
- * @memberof BillingV1SubscriptionSubscriptionResource
443
- */
444
- 'created_at'?: string;
438
+ 'auto_renew': boolean;
445
439
  /**
446
440
  *
447
441
  * @type {string}
448
442
  * @memberof BillingV1SubscriptionSubscriptionResource
449
443
  */
450
- 'expires_at'?: string;
444
+ 'created_at': string;
451
445
  /**
452
446
  *
453
447
  * @type {string}
454
448
  * @memberof BillingV1SubscriptionSubscriptionResource
455
449
  */
456
- 'next_billing_at'?: string | null;
450
+ 'expires_at': string | null;
457
451
  /**
458
452
  *
459
453
  * @type {string}
460
454
  * @memberof BillingV1SubscriptionSubscriptionResource
461
455
  */
462
- 'canceled_at'?: string | null;
456
+ 'next_billing_at': string | null;
463
457
  }
464
458
  export declare const BillingV1SubscriptionSubscriptionResourceStatusEnum: {
465
459
  readonly Active: "active";
@@ -482,13 +476,13 @@ export interface CommonSchemaErrorResponseSchema {
482
476
  * @type {string}
483
477
  * @memberof CommonSchemaErrorResponseSchema
484
478
  */
485
- 'message'?: string;
479
+ 'message': string;
486
480
  /**
487
481
  *
488
482
  * @type {string}
489
483
  * @memberof CommonSchemaErrorResponseSchema
490
484
  */
491
- 'correlation_id'?: string;
485
+ 'correlation_id': string;
492
486
  }
493
487
  /**
494
488
  *
@@ -501,19 +495,19 @@ export interface CommonSchemaPaginationMetaSchema {
501
495
  * @type {number}
502
496
  * @memberof CommonSchemaPaginationMetaSchema
503
497
  */
504
- 'current_page'?: number;
498
+ 'current_page': number;
505
499
  /**
506
500
  *
507
501
  * @type {number}
508
502
  * @memberof CommonSchemaPaginationMetaSchema
509
503
  */
510
- 'per_page'?: number;
504
+ 'per_page': number;
511
505
  /**
512
506
  *
513
507
  * @type {number}
514
508
  * @memberof CommonSchemaPaginationMetaSchema
515
509
  */
516
- 'total'?: number;
510
+ 'total': number;
517
511
  }
518
512
  /**
519
513
  *
@@ -526,13 +520,13 @@ export interface CommonSchemaUnauthorizedResponseSchema {
526
520
  * @type {string}
527
521
  * @memberof CommonSchemaUnauthorizedResponseSchema
528
522
  */
529
- 'message'?: string;
523
+ 'message': string;
530
524
  /**
531
525
  *
532
526
  * @type {string}
533
527
  * @memberof CommonSchemaUnauthorizedResponseSchema
534
528
  */
535
- 'correlation_id'?: string;
529
+ 'correlation_id': string;
536
530
  }
537
531
  /**
538
532
  *
@@ -545,19 +539,19 @@ export interface CommonSchemaUnprocessableContentResponseSchema {
545
539
  * @type {string}
546
540
  * @memberof CommonSchemaUnprocessableContentResponseSchema
547
541
  */
548
- 'message'?: string;
542
+ 'message': string;
549
543
  /**
550
544
  *
551
545
  * @type {CommonSchemaUnprocessableContentResponseSchemaErrors}
552
546
  * @memberof CommonSchemaUnprocessableContentResponseSchema
553
547
  */
554
- 'errors'?: CommonSchemaUnprocessableContentResponseSchemaErrors;
548
+ 'errors': CommonSchemaUnprocessableContentResponseSchemaErrors;
555
549
  /**
556
550
  *
557
551
  * @type {string}
558
552
  * @memberof CommonSchemaUnprocessableContentResponseSchema
559
553
  */
560
- 'correlation_id'?: string;
554
+ 'correlation_id': string;
561
555
  }
562
556
  /**
563
557
  *
@@ -570,13 +564,13 @@ export interface CommonSchemaUnprocessableContentResponseSchemaErrors {
570
564
  * @type {Array<any>}
571
565
  * @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
572
566
  */
573
- 'field_1'?: Array<any>;
567
+ 'field_1': Array<any>;
574
568
  /**
575
569
  *
576
570
  * @type {Array<any>}
577
571
  * @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
578
572
  */
579
- 'field_2'?: Array<any>;
573
+ 'field_2': Array<any>;
580
574
  }
581
575
  /**
582
576
  *
@@ -589,7 +583,7 @@ export interface CommonSuccessEmptyResource {
589
583
  * @type {string}
590
584
  * @memberof CommonSuccessEmptyResource
591
585
  */
592
- 'message'?: string;
586
+ 'message': string;
593
587
  }
594
588
  /**
595
589
  *
@@ -602,19 +596,19 @@ export interface DNSV1SnapshotSnapshotResource {
602
596
  * @type {number}
603
597
  * @memberof DNSV1SnapshotSnapshotResource
604
598
  */
605
- 'id'?: number;
599
+ 'id': number;
606
600
  /**
607
601
  * Reason of the update
608
602
  * @type {string}
609
603
  * @memberof DNSV1SnapshotSnapshotResource
610
604
  */
611
- 'reason'?: string;
605
+ 'reason': string;
612
606
  /**
613
607
  *
614
608
  * @type {string}
615
609
  * @memberof DNSV1SnapshotSnapshotResource
616
610
  */
617
- 'created_at'?: string;
611
+ 'created_at': string;
618
612
  }
619
613
  /**
620
614
  *
@@ -627,25 +621,25 @@ export interface DNSV1SnapshotSnapshotWithContentResource {
627
621
  * @type {number}
628
622
  * @memberof DNSV1SnapshotSnapshotWithContentResource
629
623
  */
630
- 'id'?: number;
624
+ 'id': number;
631
625
  /**
632
626
  * Reason of the update
633
627
  * @type {string}
634
628
  * @memberof DNSV1SnapshotSnapshotWithContentResource
635
629
  */
636
- 'reason'?: string;
630
+ 'reason': string;
637
631
  /**
638
632
  * Array of [`DNS.V1.Zone.RecordResource`](#model/dnsv1zonerecordresource)
639
633
  * @type {Array<DNSV1ZoneRecordResource>}
640
634
  * @memberof DNSV1SnapshotSnapshotWithContentResource
641
635
  */
642
- 'snapshot'?: Array<DNSV1ZoneRecordResource>;
636
+ 'snapshot': Array<DNSV1ZoneRecordResource>;
643
637
  /**
644
638
  *
645
639
  * @type {string}
646
640
  * @memberof DNSV1SnapshotSnapshotWithContentResource
647
641
  */
648
- 'created_at'?: string;
642
+ 'created_at': string;
649
643
  }
650
644
  /**
651
645
  *
@@ -703,13 +697,13 @@ export interface DNSV1ZoneNameRecordResource {
703
697
  * @type {string}
704
698
  * @memberof DNSV1ZoneNameRecordResource
705
699
  */
706
- 'content'?: string;
700
+ 'content': string;
707
701
  /**
708
702
  * Flag to mark name record as disabled
709
703
  * @type {boolean}
710
704
  * @memberof DNSV1ZoneNameRecordResource
711
705
  */
712
- 'disabled'?: boolean;
706
+ 'disabled': boolean;
713
707
  }
714
708
  /**
715
709
  *
@@ -722,25 +716,25 @@ export interface DNSV1ZoneRecordResource {
722
716
  * @type {string}
723
717
  * @memberof DNSV1ZoneRecordResource
724
718
  */
725
- 'name'?: string;
719
+ 'name': string;
726
720
  /**
727
721
  * Array of [`DNS.V1.Zone.NameRecordResource`](#model/dnsv1zonenamerecordresource)
728
722
  * @type {Array<DNSV1ZoneNameRecordResource>}
729
723
  * @memberof DNSV1ZoneRecordResource
730
724
  */
731
- 'records'?: Array<DNSV1ZoneNameRecordResource>;
725
+ 'records': Array<DNSV1ZoneNameRecordResource>;
732
726
  /**
733
727
  * TTL (Time-To-Live) of the record
734
728
  * @type {number}
735
729
  * @memberof DNSV1ZoneRecordResource
736
730
  */
737
- 'ttl'?: number;
731
+ 'ttl': number;
738
732
  /**
739
733
  * Type of the record
740
734
  * @type {string}
741
735
  * @memberof DNSV1ZoneRecordResource
742
736
  */
743
- 'type'?: DNSV1ZoneRecordResourceTypeEnum;
737
+ 'type': DNSV1ZoneRecordResourceTypeEnum;
744
738
  }
745
739
  export declare const DNSV1ZoneRecordResourceTypeEnum: {
746
740
  readonly A: "A";
@@ -766,19 +760,19 @@ export interface DNSV1ZoneResetRequest {
766
760
  * @type {boolean}
767
761
  * @memberof DNSV1ZoneResetRequest
768
762
  */
769
- 'sync'?: boolean;
763
+ 'sync': boolean;
770
764
  /**
771
765
  * Determines if email records should be reset
772
766
  * @type {boolean}
773
767
  * @memberof DNSV1ZoneResetRequest
774
768
  */
775
- 'reset_email_records'?: boolean;
769
+ 'reset_email_records': boolean;
776
770
  /**
777
771
  * Specifies which record types to not reset
778
772
  * @type {Array<string>}
779
773
  * @memberof DNSV1ZoneResetRequest
780
774
  */
781
- 'whitelisted_record_types'?: Array<string>;
775
+ 'whitelisted_record_types': Array<string>;
782
776
  }
783
777
  /**
784
778
  *
@@ -791,7 +785,7 @@ export interface DNSV1ZoneUpdateRequest {
791
785
  * @type {boolean}
792
786
  * @memberof DNSV1ZoneUpdateRequest
793
787
  */
794
- 'overwrite'?: boolean;
788
+ 'overwrite': boolean;
795
789
  /**
796
790
  *
797
791
  * @type {Array<DNSV1ZoneUpdateRequestZoneInner>}
@@ -816,13 +810,13 @@ export interface DNSV1ZoneUpdateRequestZoneInner {
816
810
  * @type {Array<DNSV1ZoneUpdateRequestZoneInnerRecordsInner>}
817
811
  * @memberof DNSV1ZoneUpdateRequestZoneInner
818
812
  */
819
- 'records'?: Array<DNSV1ZoneUpdateRequestZoneInnerRecordsInner>;
813
+ 'records': Array<DNSV1ZoneUpdateRequestZoneInnerRecordsInner>;
820
814
  /**
821
815
  * TTL (Time-To-Live) of the record
822
816
  * @type {number}
823
817
  * @memberof DNSV1ZoneUpdateRequestZoneInner
824
818
  */
825
- 'ttl'?: number;
819
+ 'ttl': number;
826
820
  /**
827
821
  * Type of the record
828
822
  * @type {string}
@@ -867,37 +861,37 @@ export interface DomainsV1DomainDomainResource {
867
861
  * @type {number}
868
862
  * @memberof DomainsV1DomainDomainResource
869
863
  */
870
- 'id'?: number;
864
+ 'id': number;
871
865
  /**
872
866
  * Domain name, `null` when not claimed free domain
873
867
  * @type {string}
874
868
  * @memberof DomainsV1DomainDomainResource
875
869
  */
876
- 'name'?: string | null;
870
+ 'name': string | null;
877
871
  /**
878
872
  *
879
873
  * @type {string}
880
874
  * @memberof DomainsV1DomainDomainResource
881
875
  */
882
- 'type'?: DomainsV1DomainDomainResourceTypeEnum;
876
+ 'type': DomainsV1DomainDomainResourceTypeEnum;
883
877
  /**
884
878
  *
885
879
  * @type {string}
886
880
  * @memberof DomainsV1DomainDomainResource
887
881
  */
888
- 'status'?: DomainsV1DomainDomainResourceStatusEnum;
882
+ 'status': DomainsV1DomainDomainResourceStatusEnum;
889
883
  /**
890
884
  *
891
885
  * @type {string}
892
886
  * @memberof DomainsV1DomainDomainResource
893
887
  */
894
- 'created_at'?: string;
888
+ 'created_at': string;
895
889
  /**
896
890
  *
897
891
  * @type {string}
898
892
  * @memberof DomainsV1DomainDomainResource
899
893
  */
900
- 'expires_at'?: string | null;
894
+ 'expires_at': string | null;
901
895
  }
902
896
  export declare const DomainsV1DomainDomainResourceTypeEnum: {
903
897
  readonly Domain: "domain";
@@ -921,13 +915,13 @@ export interface VPSGetActionListV1200Response {
921
915
  * @type {Array<VPSV1ActionActionResource>}
922
916
  * @memberof VPSGetActionListV1200Response
923
917
  */
924
- 'data'?: Array<VPSV1ActionActionResource>;
918
+ 'data': Array<VPSV1ActionActionResource>;
925
919
  /**
926
920
  *
927
921
  * @type {CommonSchemaPaginationMetaSchema}
928
922
  * @memberof VPSGetActionListV1200Response
929
923
  */
930
- 'meta'?: CommonSchemaPaginationMetaSchema;
924
+ 'meta': CommonSchemaPaginationMetaSchema;
931
925
  }
932
926
  /**
933
927
  *
@@ -940,13 +934,13 @@ export interface VPSGetBackupListV1200Response {
940
934
  * @type {Array<VPSV1BackupBackupResource>}
941
935
  * @memberof VPSGetBackupListV1200Response
942
936
  */
943
- 'data'?: Array<VPSV1BackupBackupResource>;
937
+ 'data': Array<VPSV1BackupBackupResource>;
944
938
  /**
945
939
  *
946
940
  * @type {CommonSchemaPaginationMetaSchema}
947
941
  * @memberof VPSGetBackupListV1200Response
948
942
  */
949
- 'meta'?: CommonSchemaPaginationMetaSchema;
943
+ 'meta': CommonSchemaPaginationMetaSchema;
950
944
  }
951
945
  /**
952
946
  *
@@ -959,13 +953,13 @@ export interface VPSGetFirewallListV1200Response {
959
953
  * @type {Array<VPSV1FirewallFirewallResource>}
960
954
  * @memberof VPSGetFirewallListV1200Response
961
955
  */
962
- 'data'?: Array<VPSV1FirewallFirewallResource>;
956
+ 'data': Array<VPSV1FirewallFirewallResource>;
963
957
  /**
964
958
  *
965
959
  * @type {CommonSchemaPaginationMetaSchema}
966
960
  * @memberof VPSGetFirewallListV1200Response
967
961
  */
968
- 'meta'?: CommonSchemaPaginationMetaSchema;
962
+ 'meta': CommonSchemaPaginationMetaSchema;
969
963
  }
970
964
  /**
971
965
  *
@@ -978,13 +972,13 @@ export interface VPSGetPostInstallScriptListV1200Response {
978
972
  * @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
979
973
  * @memberof VPSGetPostInstallScriptListV1200Response
980
974
  */
981
- 'data'?: Array<VPSV1PostInstallScriptPostInstallScriptResource>;
975
+ 'data': Array<VPSV1PostInstallScriptPostInstallScriptResource>;
982
976
  /**
983
977
  *
984
978
  * @type {CommonSchemaPaginationMetaSchema}
985
979
  * @memberof VPSGetPostInstallScriptListV1200Response
986
980
  */
987
- 'meta'?: CommonSchemaPaginationMetaSchema;
981
+ 'meta': CommonSchemaPaginationMetaSchema;
988
982
  }
989
983
  /**
990
984
  *
@@ -997,13 +991,13 @@ export interface VPSGetPublicKeyListV1200Response {
997
991
  * @type {Array<VPSV1PublicKeyPublicKeyResource>}
998
992
  * @memberof VPSGetPublicKeyListV1200Response
999
993
  */
1000
- 'data'?: Array<VPSV1PublicKeyPublicKeyResource>;
994
+ 'data': Array<VPSV1PublicKeyPublicKeyResource>;
1001
995
  /**
1002
996
  *
1003
997
  * @type {CommonSchemaPaginationMetaSchema}
1004
998
  * @memberof VPSGetPublicKeyListV1200Response
1005
999
  */
1006
- 'meta'?: CommonSchemaPaginationMetaSchema;
1000
+ 'meta': CommonSchemaPaginationMetaSchema;
1007
1001
  }
1008
1002
  /**
1009
1003
  *
@@ -1016,31 +1010,31 @@ export interface VPSV1ActionActionResource {
1016
1010
  * @type {number}
1017
1011
  * @memberof VPSV1ActionActionResource
1018
1012
  */
1019
- 'id'?: number;
1013
+ 'id': number;
1020
1014
  /**
1021
1015
  * Action name
1022
1016
  * @type {string}
1023
1017
  * @memberof VPSV1ActionActionResource
1024
1018
  */
1025
- 'name'?: string;
1019
+ 'name': string;
1026
1020
  /**
1027
1021
  * Action state
1028
1022
  * @type {string}
1029
1023
  * @memberof VPSV1ActionActionResource
1030
1024
  */
1031
- 'state'?: VPSV1ActionActionResourceStateEnum;
1025
+ 'state': VPSV1ActionActionResourceStateEnum;
1032
1026
  /**
1033
1027
  *
1034
1028
  * @type {string}
1035
1029
  * @memberof VPSV1ActionActionResource
1036
1030
  */
1037
- 'created_at'?: string;
1031
+ 'created_at': string;
1038
1032
  /**
1039
1033
  *
1040
1034
  * @type {string}
1041
1035
  * @memberof VPSV1ActionActionResource
1042
1036
  */
1043
- 'updated_at'?: string;
1037
+ 'updated_at': string;
1044
1038
  }
1045
1039
  export declare const VPSV1ActionActionResourceStateEnum: {
1046
1040
  readonly Success: "success";
@@ -1061,19 +1055,19 @@ export interface VPSV1BackupBackupResource {
1061
1055
  * @type {number}
1062
1056
  * @memberof VPSV1BackupBackupResource
1063
1057
  */
1064
- 'id'?: number;
1058
+ 'id': number;
1065
1059
  /**
1066
1060
  * Location of the backup
1067
1061
  * @type {string}
1068
1062
  * @memberof VPSV1BackupBackupResource
1069
1063
  */
1070
- 'location'?: string;
1064
+ 'location': string;
1071
1065
  /**
1072
1066
  *
1073
1067
  * @type {string}
1074
1068
  * @memberof VPSV1BackupBackupResource
1075
1069
  */
1076
- 'created_at'?: string;
1070
+ 'created_at': string;
1077
1071
  }
1078
1072
  /**
1079
1073
  *
@@ -1086,31 +1080,31 @@ export interface VPSV1DataCenterDataCenterResource {
1086
1080
  * @type {number}
1087
1081
  * @memberof VPSV1DataCenterDataCenterResource
1088
1082
  */
1089
- 'id'?: number;
1083
+ 'id': number;
1090
1084
  /**
1091
1085
  * Data center name
1092
1086
  * @type {string}
1093
1087
  * @memberof VPSV1DataCenterDataCenterResource
1094
1088
  */
1095
- 'name'?: string | null;
1089
+ 'name': string | null;
1096
1090
  /**
1097
1091
  * Data center location country (two letter code)
1098
1092
  * @type {string}
1099
1093
  * @memberof VPSV1DataCenterDataCenterResource
1100
1094
  */
1101
- 'location'?: string | null;
1095
+ 'location': string | null;
1102
1096
  /**
1103
1097
  * Data center location city
1104
1098
  * @type {string}
1105
1099
  * @memberof VPSV1DataCenterDataCenterResource
1106
1100
  */
1107
- 'city'?: string | null;
1101
+ 'city': string | null;
1108
1102
  /**
1109
1103
  * Data center location continent
1110
1104
  * @type {string}
1111
1105
  * @memberof VPSV1DataCenterDataCenterResource
1112
1106
  */
1113
- 'continent'?: string | null;
1107
+ 'continent': string | null;
1114
1108
  }
1115
1109
  /**
1116
1110
  *
@@ -1123,37 +1117,37 @@ export interface VPSV1FirewallFirewallResource {
1123
1117
  * @type {number}
1124
1118
  * @memberof VPSV1FirewallFirewallResource
1125
1119
  */
1126
- 'id'?: number;
1120
+ 'id': number;
1127
1121
  /**
1128
1122
  * Firewall name
1129
1123
  * @type {string}
1130
1124
  * @memberof VPSV1FirewallFirewallResource
1131
1125
  */
1132
- 'name'?: string;
1126
+ 'name': string;
1133
1127
  /**
1134
1128
  * Is current firewall synced with VPS
1135
1129
  * @type {boolean}
1136
1130
  * @memberof VPSV1FirewallFirewallResource
1137
1131
  */
1138
- 'synced'?: boolean;
1132
+ 'synced': boolean;
1139
1133
  /**
1140
1134
  * Array of [`VPS.V1.Firewall.FirewallRuleResource`](#model/vpsv1firewallfirewallruleresource)
1141
1135
  * @type {Array<VPSV1FirewallFirewallRuleResource>}
1142
1136
  * @memberof VPSV1FirewallFirewallResource
1143
1137
  */
1144
- 'rules'?: Array<VPSV1FirewallFirewallRuleResource>;
1138
+ 'rules': Array<VPSV1FirewallFirewallRuleResource>;
1145
1139
  /**
1146
1140
  *
1147
1141
  * @type {string}
1148
1142
  * @memberof VPSV1FirewallFirewallResource
1149
1143
  */
1150
- 'created_at'?: string;
1144
+ 'created_at': string;
1151
1145
  /**
1152
1146
  *
1153
1147
  * @type {string}
1154
1148
  * @memberof VPSV1FirewallFirewallResource
1155
1149
  */
1156
- 'updated_at'?: string;
1150
+ 'updated_at': string;
1157
1151
  }
1158
1152
  /**
1159
1153
  *
@@ -1166,37 +1160,37 @@ export interface VPSV1FirewallFirewallRuleResource {
1166
1160
  * @type {number}
1167
1161
  * @memberof VPSV1FirewallFirewallRuleResource
1168
1162
  */
1169
- 'id'?: number;
1163
+ 'id': number;
1170
1164
  /**
1171
1165
  * Firewall rule action
1172
1166
  * @type {string}
1173
1167
  * @memberof VPSV1FirewallFirewallRuleResource
1174
1168
  */
1175
- 'action'?: VPSV1FirewallFirewallRuleResourceActionEnum;
1169
+ 'action': VPSV1FirewallFirewallRuleResourceActionEnum;
1176
1170
  /**
1177
1171
  * Firewall rule protocol
1178
1172
  * @type {string}
1179
1173
  * @memberof VPSV1FirewallFirewallRuleResource
1180
1174
  */
1181
- 'protocol'?: VPSV1FirewallFirewallRuleResourceProtocolEnum;
1175
+ 'protocol': VPSV1FirewallFirewallRuleResourceProtocolEnum;
1182
1176
  /**
1183
1177
  * Firewall rule destination port: single or port range
1184
1178
  * @type {string}
1185
1179
  * @memberof VPSV1FirewallFirewallRuleResource
1186
1180
  */
1187
- 'port'?: string;
1181
+ 'port': string;
1188
1182
  /**
1189
1183
  * Firewall rule source. Can be `any` or `custom`
1190
1184
  * @type {string}
1191
1185
  * @memberof VPSV1FirewallFirewallRuleResource
1192
1186
  */
1193
- 'source'?: string;
1187
+ 'source': string;
1194
1188
  /**
1195
1189
  * Firewall rule source detail. Can be `any` or IP address, CIDR or range
1196
1190
  * @type {string}
1197
1191
  * @memberof VPSV1FirewallFirewallRuleResource
1198
1192
  */
1199
- 'source_detail'?: string;
1193
+ 'source_detail': string;
1200
1194
  }
1201
1195
  export declare const VPSV1FirewallFirewallRuleResourceActionEnum: {
1202
1196
  readonly Accept: "accept";
@@ -1295,19 +1289,19 @@ export interface VPSV1IPAddressIPAddressResource {
1295
1289
  * @type {number}
1296
1290
  * @memberof VPSV1IPAddressIPAddressResource
1297
1291
  */
1298
- 'id'?: number;
1292
+ 'id': number;
1299
1293
  /**
1300
1294
  * IP address: IPv4 or IPv6
1301
1295
  * @type {string}
1302
1296
  * @memberof VPSV1IPAddressIPAddressResource
1303
1297
  */
1304
- 'address'?: string;
1298
+ 'address': string;
1305
1299
  /**
1306
1300
  * IP address PTR record
1307
1301
  * @type {string}
1308
1302
  * @memberof VPSV1IPAddressIPAddressResource
1309
1303
  */
1310
- 'ptr'?: string | null;
1304
+ 'ptr': string | null;
1311
1305
  }
1312
1306
  /**
1313
1307
  *
@@ -1320,37 +1314,37 @@ export interface VPSV1MalwareMetricsResource {
1320
1314
  * @type {number}
1321
1315
  * @memberof VPSV1MalwareMetricsResource
1322
1316
  */
1323
- 'records'?: number;
1317
+ 'records': number;
1324
1318
  /**
1325
1319
  * Malicious files found during last scan
1326
1320
  * @type {number}
1327
1321
  * @memberof VPSV1MalwareMetricsResource
1328
1322
  */
1329
- 'malicious'?: number;
1323
+ 'malicious': number;
1330
1324
  /**
1331
1325
  * Compromised files found during last scan
1332
1326
  * @type {number}
1333
1327
  * @memberof VPSV1MalwareMetricsResource
1334
1328
  */
1335
- 'compromised'?: number;
1329
+ 'compromised': number;
1336
1330
  /**
1337
1331
  * Total number of files scanned during last scan
1338
1332
  * @type {number}
1339
1333
  * @memberof VPSV1MalwareMetricsResource
1340
1334
  */
1341
- 'scanned_files'?: number;
1335
+ 'scanned_files': number;
1342
1336
  /**
1343
1337
  *
1344
1338
  * @type {string}
1345
1339
  * @memberof VPSV1MalwareMetricsResource
1346
1340
  */
1347
- 'scan_started_at'?: string;
1341
+ 'scan_started_at': string;
1348
1342
  /**
1349
1343
  *
1350
1344
  * @type {string}
1351
1345
  * @memberof VPSV1MalwareMetricsResource
1352
1346
  */
1353
- 'scan_ended_at'?: string | null;
1347
+ 'scan_ended_at': string | null;
1354
1348
  }
1355
1349
  /**
1356
1350
  *
@@ -1363,37 +1357,37 @@ export interface VPSV1MetricsMetricsCollection {
1363
1357
  * @type {VPSV1MetricsMetricsCollectionCpuUsage}
1364
1358
  * @memberof VPSV1MetricsMetricsCollection
1365
1359
  */
1366
- 'cpu_usage'?: VPSV1MetricsMetricsCollectionCpuUsage | null;
1360
+ 'cpu_usage': VPSV1MetricsMetricsCollectionCpuUsage | null;
1367
1361
  /**
1368
1362
  *
1369
1363
  * @type {VPSV1MetricsMetricsCollectionRamUsage}
1370
1364
  * @memberof VPSV1MetricsMetricsCollection
1371
1365
  */
1372
- 'ram_usage'?: VPSV1MetricsMetricsCollectionRamUsage | null;
1366
+ 'ram_usage': VPSV1MetricsMetricsCollectionRamUsage | null;
1373
1367
  /**
1374
1368
  *
1375
1369
  * @type {VPSV1MetricsMetricsCollectionDiskSpace}
1376
1370
  * @memberof VPSV1MetricsMetricsCollection
1377
1371
  */
1378
- 'disk_space'?: VPSV1MetricsMetricsCollectionDiskSpace | null;
1372
+ 'disk_space': VPSV1MetricsMetricsCollectionDiskSpace | null;
1379
1373
  /**
1380
1374
  *
1381
1375
  * @type {VPSV1MetricsMetricsCollectionOutgoingTraffic}
1382
1376
  * @memberof VPSV1MetricsMetricsCollection
1383
1377
  */
1384
- 'outgoing_traffic'?: VPSV1MetricsMetricsCollectionOutgoingTraffic | null;
1378
+ 'outgoing_traffic': VPSV1MetricsMetricsCollectionOutgoingTraffic | null;
1385
1379
  /**
1386
1380
  *
1387
1381
  * @type {VPSV1MetricsMetricsCollectionIncomingTraffic}
1388
1382
  * @memberof VPSV1MetricsMetricsCollection
1389
1383
  */
1390
- 'incoming_traffic'?: VPSV1MetricsMetricsCollectionIncomingTraffic | null;
1384
+ 'incoming_traffic': VPSV1MetricsMetricsCollectionIncomingTraffic | null;
1391
1385
  /**
1392
1386
  *
1393
1387
  * @type {VPSV1MetricsMetricsCollectionUptime}
1394
1388
  * @memberof VPSV1MetricsMetricsCollection
1395
1389
  */
1396
- 'uptime'?: VPSV1MetricsMetricsCollectionUptime | null;
1390
+ 'uptime': VPSV1MetricsMetricsCollectionUptime | null;
1397
1391
  }
1398
1392
  /**
1399
1393
  * @type VPSV1MetricsMetricsCollectionCpuUsage
@@ -1442,13 +1436,13 @@ export interface VPSV1MetricsMetricsResource {
1442
1436
  * @type {string}
1443
1437
  * @memberof VPSV1MetricsMetricsResource
1444
1438
  */
1445
- 'unit'?: string;
1439
+ 'unit': string;
1446
1440
  /**
1447
1441
  * Object, containing UNIX timestamps as a key and measurement as a value.
1448
1442
  * @type {object}
1449
1443
  * @memberof VPSV1MetricsMetricsResource
1450
1444
  */
1451
- 'usage'?: object;
1445
+ 'usage': object;
1452
1446
  }
1453
1447
  /**
1454
1448
  *
@@ -1461,31 +1455,31 @@ export interface VPSV1PostInstallScriptPostInstallScriptResource {
1461
1455
  * @type {number}
1462
1456
  * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1463
1457
  */
1464
- 'id'?: number;
1458
+ 'id': number;
1465
1459
  /**
1466
1460
  * Name of the script
1467
1461
  * @type {string}
1468
1462
  * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1469
1463
  */
1470
- 'name'?: string;
1464
+ 'name': string;
1471
1465
  /**
1472
1466
  * Content of the script
1473
1467
  * @type {string}
1474
1468
  * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1475
1469
  */
1476
- 'content'?: string;
1470
+ 'content': string;
1477
1471
  /**
1478
1472
  *
1479
1473
  * @type {string}
1480
1474
  * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1481
1475
  */
1482
- 'created_at'?: string;
1476
+ 'created_at': string;
1483
1477
  /**
1484
1478
  *
1485
1479
  * @type {string}
1486
1480
  * @memberof VPSV1PostInstallScriptPostInstallScriptResource
1487
1481
  */
1488
- 'updated_at'?: string;
1482
+ 'updated_at': string;
1489
1483
  }
1490
1484
  /**
1491
1485
  *
@@ -1530,19 +1524,19 @@ export interface VPSV1PublicKeyPublicKeyResource {
1530
1524
  * @type {number}
1531
1525
  * @memberof VPSV1PublicKeyPublicKeyResource
1532
1526
  */
1533
- 'id'?: number;
1527
+ 'id': number;
1534
1528
  /**
1535
1529
  * Public key name
1536
1530
  * @type {string}
1537
1531
  * @memberof VPSV1PublicKeyPublicKeyResource
1538
1532
  */
1539
- 'name'?: string;
1533
+ 'name': string;
1540
1534
  /**
1541
1535
  * Public key content
1542
1536
  * @type {string}
1543
1537
  * @memberof VPSV1PublicKeyPublicKeyResource
1544
1538
  */
1545
- 'key'?: string;
1539
+ 'key': string;
1546
1540
  }
1547
1541
  /**
1548
1542
  *
@@ -1574,19 +1568,19 @@ export interface VPSV1SnapshotSnapshotResource {
1574
1568
  * @type {number}
1575
1569
  * @memberof VPSV1SnapshotSnapshotResource
1576
1570
  */
1577
- 'id'?: number;
1571
+ 'id': number;
1578
1572
  /**
1579
1573
  *
1580
1574
  * @type {string}
1581
1575
  * @memberof VPSV1SnapshotSnapshotResource
1582
1576
  */
1583
- 'created_at'?: string;
1577
+ 'created_at': string;
1584
1578
  /**
1585
1579
  *
1586
1580
  * @type {string}
1587
1581
  * @memberof VPSV1SnapshotSnapshotResource
1588
1582
  */
1589
- 'expires_at'?: string;
1583
+ 'expires_at': string;
1590
1584
  }
1591
1585
  /**
1592
1586
  *
@@ -1599,25 +1593,25 @@ export interface VPSV1TemplateTemplateResource {
1599
1593
  * @type {number}
1600
1594
  * @memberof VPSV1TemplateTemplateResource
1601
1595
  */
1602
- 'id'?: number;
1596
+ 'id': number;
1603
1597
  /**
1604
1598
  * Template name
1605
1599
  * @type {string}
1606
1600
  * @memberof VPSV1TemplateTemplateResource
1607
1601
  */
1608
- 'name'?: string;
1602
+ 'name': string;
1609
1603
  /**
1610
1604
  * Template description
1611
1605
  * @type {string}
1612
1606
  * @memberof VPSV1TemplateTemplateResource
1613
1607
  */
1614
- 'description'?: string;
1608
+ 'description': string;
1615
1609
  /**
1616
1610
  * Link to official OS documentation
1617
1611
  * @type {string}
1618
1612
  * @memberof VPSV1TemplateTemplateResource
1619
1613
  */
1620
- 'documentation'?: string | null;
1614
+ 'documentation': string | null;
1621
1615
  }
1622
1616
  /**
1623
1617
  *
@@ -1649,7 +1643,7 @@ export interface VPSV1VirtualMachineNameserversUpdateRequest {
1649
1643
  * @type {string}
1650
1644
  * @memberof VPSV1VirtualMachineNameserversUpdateRequest
1651
1645
  */
1652
- 'ns2'?: string;
1646
+ 'ns2': string;
1653
1647
  }
1654
1648
  /**
1655
1649
  *
@@ -1694,13 +1688,13 @@ export interface VPSV1VirtualMachineRecreateRequest {
1694
1688
  * @type {string}
1695
1689
  * @memberof VPSV1VirtualMachineRecreateRequest
1696
1690
  */
1697
- 'password'?: string;
1691
+ 'password': string;
1698
1692
  /**
1699
1693
  * Post-install script ID
1700
1694
  * @type {number}
1701
1695
  * @memberof VPSV1VirtualMachineRecreateRequest
1702
1696
  */
1703
- 'post_install_script_id'?: number;
1697
+ 'post_install_script_id': number;
1704
1698
  }
1705
1699
  /**
1706
1700
  *
@@ -1738,49 +1732,49 @@ export interface VPSV1VirtualMachineSetupRequest {
1738
1732
  * @type {number}
1739
1733
  * @memberof VPSV1VirtualMachineSetupRequest
1740
1734
  */
1741
- 'post_install_script_id'?: number;
1735
+ 'post_install_script_id': number;
1742
1736
  /**
1743
1737
  * Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
1744
1738
  * @type {string}
1745
1739
  * @memberof VPSV1VirtualMachineSetupRequest
1746
1740
  */
1747
- 'password'?: string;
1741
+ 'password': string;
1748
1742
  /**
1749
1743
  * Override default hostname of the virtual machine
1750
1744
  * @type {string}
1751
1745
  * @memberof VPSV1VirtualMachineSetupRequest
1752
1746
  */
1753
- 'hostname'?: string;
1747
+ 'hostname': string;
1754
1748
  /**
1755
1749
  * Install Monarx malware scanner (if supported)
1756
1750
  * @type {boolean}
1757
1751
  * @memberof VPSV1VirtualMachineSetupRequest
1758
1752
  */
1759
- 'install_monarx'?: boolean;
1753
+ 'install_monarx': boolean;
1760
1754
  /**
1761
1755
  * Enable weekly backup schedule
1762
1756
  * @type {boolean}
1763
1757
  * @memberof VPSV1VirtualMachineSetupRequest
1764
1758
  */
1765
- 'enable_backups'?: boolean;
1759
+ 'enable_backups': boolean;
1766
1760
  /**
1767
1761
  *
1768
1762
  * @type {string}
1769
1763
  * @memberof VPSV1VirtualMachineSetupRequest
1770
1764
  */
1771
- 'ns1'?: string;
1765
+ 'ns1': string;
1772
1766
  /**
1773
1767
  *
1774
1768
  * @type {string}
1775
1769
  * @memberof VPSV1VirtualMachineSetupRequest
1776
1770
  */
1777
- 'ns2'?: string;
1771
+ 'ns2': string;
1778
1772
  /**
1779
1773
  *
1780
1774
  * @type {VPSV1VirtualMachineSetupRequestPublicKey}
1781
1775
  * @memberof VPSV1VirtualMachineSetupRequest
1782
1776
  */
1783
- 'public_key'?: VPSV1VirtualMachineSetupRequestPublicKey;
1777
+ 'public_key': VPSV1VirtualMachineSetupRequestPublicKey;
1784
1778
  }
1785
1779
  /**
1786
1780
  *
@@ -1793,13 +1787,13 @@ export interface VPSV1VirtualMachineSetupRequestPublicKey {
1793
1787
  * @type {string}
1794
1788
  * @memberof VPSV1VirtualMachineSetupRequestPublicKey
1795
1789
  */
1796
- 'name'?: string;
1790
+ 'name': string;
1797
1791
  /**
1798
1792
  * SSH public key
1799
1793
  * @type {string}
1800
1794
  * @memberof VPSV1VirtualMachineSetupRequestPublicKey
1801
1795
  */
1802
- 'key'?: string;
1796
+ 'key': string;
1803
1797
  }
1804
1798
  /**
1805
1799
  *
@@ -1812,103 +1806,103 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
1812
1806
  * @type {number}
1813
1807
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1814
1808
  */
1815
- 'id'?: number;
1809
+ 'id': number;
1816
1810
  /**
1817
1811
  * Active firewall ID, `null` if disabled
1818
1812
  * @type {number}
1819
1813
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1820
1814
  */
1821
- 'firewall_group_id'?: number | null;
1815
+ 'firewall_group_id': number | null;
1822
1816
  /**
1823
1817
  * Subscription ID
1824
1818
  * @type {string}
1825
1819
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1826
1820
  */
1827
- 'subscription_id'?: string | null;
1821
+ 'subscription_id': string | null;
1828
1822
  /**
1829
1823
  * VPS plan name
1830
1824
  * @type {string}
1831
1825
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1832
1826
  */
1833
- 'plan'?: string | null;
1827
+ 'plan': string | null;
1834
1828
  /**
1835
1829
  *
1836
1830
  * @type {string}
1837
1831
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1838
1832
  */
1839
- 'hostname'?: string;
1833
+ 'hostname': string;
1840
1834
  /**
1841
1835
  *
1842
1836
  * @type {string}
1843
1837
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1844
1838
  */
1845
- 'state'?: VPSV1VirtualMachineVirtualMachineResourceStateEnum;
1839
+ 'state': VPSV1VirtualMachineVirtualMachineResourceStateEnum;
1846
1840
  /**
1847
1841
  *
1848
1842
  * @type {string}
1849
1843
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1850
1844
  */
1851
- 'actions_lock'?: VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum;
1845
+ 'actions_lock': VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum;
1852
1846
  /**
1853
1847
  * CPUs count assigned to virtual machine
1854
1848
  * @type {number}
1855
1849
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1856
1850
  */
1857
- 'cpus'?: number;
1851
+ 'cpus': number;
1858
1852
  /**
1859
1853
  * Memory available to virtual machine (in megabytes)
1860
1854
  * @type {number}
1861
1855
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1862
1856
  */
1863
- 'memory'?: number;
1857
+ 'memory': number;
1864
1858
  /**
1865
1859
  * Virtual machine disk size (in megabytes)
1866
1860
  * @type {number}
1867
1861
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1868
1862
  */
1869
- 'disk'?: number;
1863
+ 'disk': number;
1870
1864
  /**
1871
1865
  * Monthly internet traffic available to virtual machine (in megabytes)
1872
1866
  * @type {number}
1873
1867
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1874
1868
  */
1875
- 'bandwidth'?: number;
1869
+ 'bandwidth': number;
1876
1870
  /**
1877
1871
  * Primary DNS resolver
1878
1872
  * @type {string}
1879
1873
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1880
1874
  */
1881
- 'ns1'?: string | null;
1875
+ 'ns1': string | null;
1882
1876
  /**
1883
1877
  * Secondary DNS resolver
1884
1878
  * @type {string}
1885
1879
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1886
1880
  */
1887
- 'ns2'?: string | null;
1881
+ 'ns2': string | null;
1888
1882
  /**
1889
1883
  *
1890
1884
  * @type {VPSV1VirtualMachineVirtualMachineResourceIpv4}
1891
1885
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1892
1886
  */
1893
- 'ipv4'?: VPSV1VirtualMachineVirtualMachineResourceIpv4 | null;
1887
+ 'ipv4': VPSV1VirtualMachineVirtualMachineResourceIpv4 | null;
1894
1888
  /**
1895
1889
  *
1896
1890
  * @type {VPSV1VirtualMachineVirtualMachineResourceIpv6}
1897
1891
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1898
1892
  */
1899
- 'ipv6'?: VPSV1VirtualMachineVirtualMachineResourceIpv6 | null;
1893
+ 'ipv6': VPSV1VirtualMachineVirtualMachineResourceIpv6 | null;
1900
1894
  /**
1901
1895
  *
1902
1896
  * @type {VPSV1VirtualMachineVirtualMachineResourceTemplate}
1903
1897
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1904
1898
  */
1905
- 'template'?: VPSV1VirtualMachineVirtualMachineResourceTemplate | null;
1899
+ 'template': VPSV1VirtualMachineVirtualMachineResourceTemplate | null;
1906
1900
  /**
1907
1901
  *
1908
1902
  * @type {string}
1909
1903
  * @memberof VPSV1VirtualMachineVirtualMachineResource
1910
1904
  */
1911
- 'created_at'?: string;
1905
+ 'created_at': string;
1912
1906
  }
1913
1907
  export declare const VPSV1VirtualMachineVirtualMachineResourceStateEnum: {
1914
1908
  readonly Running: "running";