@scaleway/sdk 2.65.0 → 2.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +17 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +17 -0
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +21 -0
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +9 -0
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +9 -0
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +24 -16
- package/dist/api/baremetal/v1/api.gen.d.ts +3 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +33 -33
- package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v3/types.gen.d.ts +5 -5
- package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/block/v1alpha1/types.gen.d.ts +17 -17
- package/dist/api/cockpit/v1/api.gen.cjs +14 -17
- package/dist/api/cockpit/v1/api.gen.d.ts +6 -9
- package/dist/api/cockpit/v1/api.gen.js +15 -18
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +29 -26
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/marshalling.gen.js +29 -26
- package/dist/api/cockpit/v1/types.gen.d.ts +49 -34
- package/dist/api/cockpit/v1/validation-rules.gen.cjs +0 -10
- package/dist/api/cockpit/v1/validation-rules.gen.d.ts +0 -9
- package/dist/api/cockpit/v1/validation-rules.gen.js +0 -10
- package/dist/api/container/v1beta1/api.gen.cjs +5 -1
- package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.js +5 -1
- package/dist/api/container/v1beta1/types.gen.d.ts +32 -32
- package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/types.gen.d.ts +51 -51
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +21 -2
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +22 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +34 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +14 -14
- package/dist/api/function/v1beta1/api.gen.cjs +5 -1
- package/dist/api/function/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.js +5 -1
- package/dist/api/function/v1beta1/types.gen.d.ts +35 -35
- package/dist/api/iot/v1/api.gen.d.ts +2 -2
- package/dist/api/iot/v1/types.gen.d.ts +38 -38
- package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -1
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +5 -1
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +19 -19
- package/dist/api/k8s/v1/api.gen.cjs +5 -1
- package/dist/api/k8s/v1/api.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.js +5 -1
- package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/k8s/v1/types.gen.d.ts +42 -41
- package/dist/api/lb/v1/marshalling.gen.cjs +5 -0
- package/dist/api/lb/v1/marshalling.gen.js +5 -0
- package/dist/api/lb/v1/types.gen.d.ts +25 -0
- package/dist/api/marketplace/v2/types.gen.d.ts +3 -3
- package/dist/api/mnq/v1beta1/api.gen.d.ts +4 -4
- package/dist/api/mnq/v1beta1/types.gen.d.ts +31 -31
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +24 -24
- package/dist/api/rdb/v1/api.gen.cjs +5 -1
- package/dist/api/rdb/v1/api.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.js +5 -1
- package/dist/api/rdb/v1/types.gen.d.ts +67 -67
- package/dist/api/redis/v1/api.gen.d.ts +2 -2
- package/dist/api/redis/v1/types.gen.d.ts +28 -28
- package/dist/api/registry/v1/api.gen.cjs +5 -1
- package/dist/api/registry/v1/api.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.js +5 -1
- package/dist/api/registry/v1/types.gen.d.ts +14 -14
- package/dist/api/secret/v1beta1/api.gen.cjs +38 -1
- package/dist/api/secret/v1beta1/api.gen.d.ts +19 -3
- package/dist/api/secret/v1beta1/api.gen.js +38 -1
- package/dist/api/secret/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/secret/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/secret/v1beta1/types.gen.d.ts +52 -25
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +12 -12
- package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/types.gen.d.ts +25 -25
- package/dist/api/vpcgw/v1/api.gen.cjs +6 -0
- package/dist/api/vpcgw/v1/api.gen.d.ts +4 -3
- package/dist/api/vpcgw/v1/api.gen.js +6 -0
- package/dist/api/vpcgw/v1/index.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/types.gen.d.ts +49 -44
- package/dist/api/vpcgw/v2/api.gen.d.ts +2 -2
- package/dist/api/vpcgw/v2/types.gen.d.ts +33 -33
- package/dist/api/webhosting/v1/marshalling.gen.cjs +7 -3
- package/dist/api/webhosting/v1/marshalling.gen.js +7 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +14 -6
- package/dist/scw/client-settings.cjs +2 -2
- package/dist/scw/client-settings.d.ts +2 -2
- package/dist/scw/client-settings.js +2 -2
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Zone } from '../../../bridge';
|
|
1
|
+
import type { Zone as ScwZone } from '../../../bridge';
|
|
2
2
|
export type DHCPEntryType = 'unknown' | 'reservation' | 'lease';
|
|
3
3
|
export type GatewayNetworkStatus = 'unknown' | 'created' | 'attaching' | 'configuring' | 'ready' | 'detaching' | 'deleted';
|
|
4
4
|
export type GatewayStatus = 'unknown' | 'stopped' | 'allocating' | 'configuring' | 'running' | 'stopping' | 'failed' | 'deleting' | 'deleted' | 'locked';
|
|
@@ -78,7 +78,7 @@ export interface DHCP {
|
|
|
78
78
|
*/
|
|
79
79
|
dnsLocalName: string;
|
|
80
80
|
/** Zone of this DHCP configuration. */
|
|
81
|
-
zone:
|
|
81
|
+
zone: ScwZone;
|
|
82
82
|
}
|
|
83
83
|
export interface IpamConfig {
|
|
84
84
|
/** Defines whether the default route is enabled on that Gateway Network. */
|
|
@@ -118,7 +118,7 @@ export interface GatewayNetwork {
|
|
|
118
118
|
/** IPAM IP configuration used. */
|
|
119
119
|
ipamConfig?: IpamConfig;
|
|
120
120
|
/** Zone of the GatewayNetwork connection. */
|
|
121
|
-
zone:
|
|
121
|
+
zone: ScwZone;
|
|
122
122
|
}
|
|
123
123
|
export interface GatewayType {
|
|
124
124
|
/** Public Gateway type name. */
|
|
@@ -130,7 +130,7 @@ export interface GatewayType {
|
|
|
130
130
|
*/
|
|
131
131
|
bandwidth: number;
|
|
132
132
|
/** Zone the Public Gateway type is available in. */
|
|
133
|
-
zone:
|
|
133
|
+
zone: ScwZone;
|
|
134
134
|
}
|
|
135
135
|
export interface IP {
|
|
136
136
|
/** IP address ID. */
|
|
@@ -152,11 +152,11 @@ export interface IP {
|
|
|
152
152
|
/** Public Gateway associated with the IP address. */
|
|
153
153
|
gatewayId?: string;
|
|
154
154
|
/** Zone of the IP address. */
|
|
155
|
-
zone:
|
|
155
|
+
zone: ScwZone;
|
|
156
156
|
}
|
|
157
157
|
export type CreateDHCPRequest = {
|
|
158
158
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
159
|
-
zone?:
|
|
159
|
+
zone?: ScwZone;
|
|
160
160
|
/** Project to create the DHCP configuration in. */
|
|
161
161
|
projectId?: string;
|
|
162
162
|
/** Subnet for the DHCP server. */
|
|
@@ -241,7 +241,7 @@ export interface DHCPEntry {
|
|
|
241
241
|
/** Entry type, either static (DHCP reservation) or dynamic (DHCP lease). */
|
|
242
242
|
type: DHCPEntryType;
|
|
243
243
|
/** Zone of this DHCP entry. */
|
|
244
|
-
zone:
|
|
244
|
+
zone: ScwZone;
|
|
245
245
|
}
|
|
246
246
|
export interface Gateway {
|
|
247
247
|
/** ID of the gateway. */
|
|
@@ -292,7 +292,7 @@ export interface Gateway {
|
|
|
292
292
|
*/
|
|
293
293
|
ipMobilityEnabled: boolean;
|
|
294
294
|
/** Zone of the gateway. */
|
|
295
|
-
zone:
|
|
295
|
+
zone: ScwZone;
|
|
296
296
|
}
|
|
297
297
|
export interface PATRule {
|
|
298
298
|
/** PAT rule ID. */
|
|
@@ -312,7 +312,7 @@ export interface PATRule {
|
|
|
312
312
|
/** Protocol the rule applies to. */
|
|
313
313
|
protocol: PATRuleProtocol;
|
|
314
314
|
/** Zone of the PAT rule. */
|
|
315
|
-
zone:
|
|
315
|
+
zone: ScwZone;
|
|
316
316
|
}
|
|
317
317
|
export interface SetDHCPEntriesRequestEntry {
|
|
318
318
|
/**
|
|
@@ -344,7 +344,7 @@ export interface UpdateGatewayNetworkRequestIpamConfig {
|
|
|
344
344
|
}
|
|
345
345
|
export type CreateDHCPEntryRequest = {
|
|
346
346
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
347
|
-
zone?:
|
|
347
|
+
zone?: ScwZone;
|
|
348
348
|
/** GatewayNetwork on which to create a DHCP reservation. */
|
|
349
349
|
gatewayNetworkId: string;
|
|
350
350
|
/** MAC address to give a static entry to. */
|
|
@@ -354,7 +354,7 @@ export type CreateDHCPEntryRequest = {
|
|
|
354
354
|
};
|
|
355
355
|
export type CreateGatewayNetworkRequest = {
|
|
356
356
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
357
|
-
zone?:
|
|
357
|
+
zone?: ScwZone;
|
|
358
358
|
/** Public Gateway to connect. */
|
|
359
359
|
gatewayId: string;
|
|
360
360
|
/** Private Network to connect. */
|
|
@@ -401,7 +401,7 @@ export type CreateGatewayNetworkRequest = {
|
|
|
401
401
|
};
|
|
402
402
|
export type CreateGatewayRequest = {
|
|
403
403
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
404
|
-
zone?:
|
|
404
|
+
zone?: ScwZone;
|
|
405
405
|
/** Scaleway Project to create the gateway in. */
|
|
406
406
|
projectId?: string;
|
|
407
407
|
/** Name for the gateway. */
|
|
@@ -426,7 +426,7 @@ export type CreateGatewayRequest = {
|
|
|
426
426
|
};
|
|
427
427
|
export type CreateIPRequest = {
|
|
428
428
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
429
|
-
zone?:
|
|
429
|
+
zone?: ScwZone;
|
|
430
430
|
/** Project to create the IP address in. */
|
|
431
431
|
projectId?: string;
|
|
432
432
|
/** Tags to give to the IP address. */
|
|
@@ -434,7 +434,7 @@ export type CreateIPRequest = {
|
|
|
434
434
|
};
|
|
435
435
|
export type CreatePATRuleRequest = {
|
|
436
436
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
437
|
-
zone?:
|
|
437
|
+
zone?: ScwZone;
|
|
438
438
|
/** ID of the Gateway on which to create the rule. */
|
|
439
439
|
gatewayId: string;
|
|
440
440
|
/** Public port to listen on. */
|
|
@@ -448,19 +448,19 @@ export type CreatePATRuleRequest = {
|
|
|
448
448
|
};
|
|
449
449
|
export type DeleteDHCPEntryRequest = {
|
|
450
450
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
451
|
-
zone?:
|
|
451
|
+
zone?: ScwZone;
|
|
452
452
|
/** ID of the DHCP entry to delete. */
|
|
453
453
|
dhcpEntryId: string;
|
|
454
454
|
};
|
|
455
455
|
export type DeleteDHCPRequest = {
|
|
456
456
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
457
|
-
zone?:
|
|
457
|
+
zone?: ScwZone;
|
|
458
458
|
/** DHCP configuration ID to delete. */
|
|
459
459
|
dhcpId: string;
|
|
460
460
|
};
|
|
461
461
|
export type DeleteGatewayNetworkRequest = {
|
|
462
462
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
463
|
-
zone?:
|
|
463
|
+
zone?: ScwZone;
|
|
464
464
|
/** ID of the GatewayNetwork to delete. */
|
|
465
465
|
gatewayNetworkId: string;
|
|
466
466
|
/**
|
|
@@ -471,7 +471,7 @@ export type DeleteGatewayNetworkRequest = {
|
|
|
471
471
|
};
|
|
472
472
|
export type DeleteGatewayRequest = {
|
|
473
473
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
474
|
-
zone?:
|
|
474
|
+
zone?: ScwZone;
|
|
475
475
|
/** ID of the gateway to delete. */
|
|
476
476
|
gatewayId: string;
|
|
477
477
|
/**
|
|
@@ -482,61 +482,61 @@ export type DeleteGatewayRequest = {
|
|
|
482
482
|
};
|
|
483
483
|
export type DeleteIPRequest = {
|
|
484
484
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
485
|
-
zone?:
|
|
485
|
+
zone?: ScwZone;
|
|
486
486
|
/** ID of the IP address to delete. */
|
|
487
487
|
ipId: string;
|
|
488
488
|
};
|
|
489
489
|
export type DeletePATRuleRequest = {
|
|
490
490
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
491
|
-
zone?:
|
|
491
|
+
zone?: ScwZone;
|
|
492
492
|
/** ID of the PAT rule to delete. */
|
|
493
493
|
patRuleId: string;
|
|
494
494
|
};
|
|
495
495
|
export type EnableIPMobilityRequest = {
|
|
496
496
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
497
|
-
zone?:
|
|
497
|
+
zone?: ScwZone;
|
|
498
498
|
/** ID of the gateway to upgrade to IP mobility. */
|
|
499
499
|
gatewayId: string;
|
|
500
500
|
};
|
|
501
501
|
export type GetDHCPEntryRequest = {
|
|
502
502
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
503
|
-
zone?:
|
|
503
|
+
zone?: ScwZone;
|
|
504
504
|
/** ID of the DHCP entry to fetch. */
|
|
505
505
|
dhcpEntryId: string;
|
|
506
506
|
};
|
|
507
507
|
export type GetDHCPRequest = {
|
|
508
508
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
509
|
-
zone?:
|
|
509
|
+
zone?: ScwZone;
|
|
510
510
|
/** ID of the DHCP configuration to fetch. */
|
|
511
511
|
dhcpId: string;
|
|
512
512
|
};
|
|
513
513
|
export type GetGatewayNetworkRequest = {
|
|
514
514
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
515
|
-
zone?:
|
|
515
|
+
zone?: ScwZone;
|
|
516
516
|
/** ID of the GatewayNetwork to fetch. */
|
|
517
517
|
gatewayNetworkId: string;
|
|
518
518
|
};
|
|
519
519
|
export type GetGatewayRequest = {
|
|
520
520
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
521
|
-
zone?:
|
|
521
|
+
zone?: ScwZone;
|
|
522
522
|
/** ID of the gateway to fetch. */
|
|
523
523
|
gatewayId: string;
|
|
524
524
|
};
|
|
525
525
|
export type GetIPRequest = {
|
|
526
526
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
527
|
-
zone?:
|
|
527
|
+
zone?: ScwZone;
|
|
528
528
|
/** ID of the IP address to get. */
|
|
529
529
|
ipId: string;
|
|
530
530
|
};
|
|
531
531
|
export type GetPATRuleRequest = {
|
|
532
532
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
533
|
-
zone?:
|
|
533
|
+
zone?: ScwZone;
|
|
534
534
|
/** ID of the PAT rule to get. */
|
|
535
535
|
patRuleId: string;
|
|
536
536
|
};
|
|
537
537
|
export type ListDHCPEntriesRequest = {
|
|
538
538
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
539
|
-
zone?:
|
|
539
|
+
zone?: ScwZone;
|
|
540
540
|
/** Order in which to return results. */
|
|
541
541
|
orderBy?: ListDHCPEntriesRequestOrderBy;
|
|
542
542
|
/** Page number. */
|
|
@@ -562,7 +562,7 @@ export interface ListDHCPEntriesResponse {
|
|
|
562
562
|
}
|
|
563
563
|
export type ListDHCPsRequest = {
|
|
564
564
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
565
|
-
zone?:
|
|
565
|
+
zone?: ScwZone;
|
|
566
566
|
/** Order in which to return results. */
|
|
567
567
|
orderBy?: ListDHCPsRequestOrderBy;
|
|
568
568
|
/** Page number. */
|
|
@@ -592,7 +592,7 @@ export interface ListDHCPsResponse {
|
|
|
592
592
|
}
|
|
593
593
|
export type ListGatewayNetworksRequest = {
|
|
594
594
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
595
|
-
zone?:
|
|
595
|
+
zone?: ScwZone;
|
|
596
596
|
/** Order in which to return results. */
|
|
597
597
|
orderBy?: ListGatewayNetworksRequestOrderBy;
|
|
598
598
|
/** Page number. */
|
|
@@ -621,7 +621,7 @@ export interface ListGatewayNetworksResponse {
|
|
|
621
621
|
}
|
|
622
622
|
export type ListGatewayTypesRequest = {
|
|
623
623
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
624
|
-
zone?:
|
|
624
|
+
zone?: ScwZone;
|
|
625
625
|
};
|
|
626
626
|
export interface ListGatewayTypesResponse {
|
|
627
627
|
/** Available types of Public Gateway. */
|
|
@@ -629,7 +629,7 @@ export interface ListGatewayTypesResponse {
|
|
|
629
629
|
}
|
|
630
630
|
export type ListGatewaysRequest = {
|
|
631
631
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
632
|
-
zone?:
|
|
632
|
+
zone?: ScwZone;
|
|
633
633
|
/** Order in which to return results. */
|
|
634
634
|
orderBy?: ListGatewaysRequestOrderBy;
|
|
635
635
|
/** Page number to return. */
|
|
@@ -662,7 +662,7 @@ export interface ListGatewaysResponse {
|
|
|
662
662
|
}
|
|
663
663
|
export type ListIPsRequest = {
|
|
664
664
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
665
|
-
zone?:
|
|
665
|
+
zone?: ScwZone;
|
|
666
666
|
/** Order in which to return results. */
|
|
667
667
|
orderBy?: ListIPsRequestOrderBy;
|
|
668
668
|
/** Page number. */
|
|
@@ -688,7 +688,7 @@ export interface ListIPsResponse {
|
|
|
688
688
|
}
|
|
689
689
|
export type ListPATRulesRequest = {
|
|
690
690
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
691
|
-
zone?:
|
|
691
|
+
zone?: ScwZone;
|
|
692
692
|
/** Order in which to return results. */
|
|
693
693
|
orderBy?: ListPATRulesRequestOrderBy;
|
|
694
694
|
/** Page number. */
|
|
@@ -708,15 +708,20 @@ export interface ListPATRulesResponse {
|
|
|
708
708
|
/** Total count of PAT rules matching the filter. */
|
|
709
709
|
totalCount: number;
|
|
710
710
|
}
|
|
711
|
+
export type MigrateToV2Request = {
|
|
712
|
+
/** Zone to target. If none is passed will use default zone from the config. */
|
|
713
|
+
zone?: ScwZone;
|
|
714
|
+
gatewayId: string;
|
|
715
|
+
};
|
|
711
716
|
export type RefreshSSHKeysRequest = {
|
|
712
717
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
713
|
-
zone?:
|
|
718
|
+
zone?: ScwZone;
|
|
714
719
|
/** ID of the gateway to refresh SSH keys on. */
|
|
715
720
|
gatewayId: string;
|
|
716
721
|
};
|
|
717
722
|
export type SetDHCPEntriesRequest = {
|
|
718
723
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
719
|
-
zone?:
|
|
724
|
+
zone?: ScwZone;
|
|
720
725
|
/** ID of the Gateway Network on which to set DHCP reservation list. */
|
|
721
726
|
gatewayNetworkId: string;
|
|
722
727
|
/** New list of DHCP reservations. */
|
|
@@ -728,7 +733,7 @@ export interface SetDHCPEntriesResponse {
|
|
|
728
733
|
}
|
|
729
734
|
export type SetPATRulesRequest = {
|
|
730
735
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
731
|
-
zone?:
|
|
736
|
+
zone?: ScwZone;
|
|
732
737
|
/** ID of the gateway on which to set the PAT rules. */
|
|
733
738
|
gatewayId: string;
|
|
734
739
|
/** New list of PAT rules. */
|
|
@@ -740,7 +745,7 @@ export interface SetPATRulesResponse {
|
|
|
740
745
|
}
|
|
741
746
|
export type UpdateDHCPEntryRequest = {
|
|
742
747
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
743
|
-
zone?:
|
|
748
|
+
zone?: ScwZone;
|
|
744
749
|
/** ID of the DHCP entry to update. */
|
|
745
750
|
dhcpEntryId: string;
|
|
746
751
|
/** New IP address to give to the device. */
|
|
@@ -748,7 +753,7 @@ export type UpdateDHCPEntryRequest = {
|
|
|
748
753
|
};
|
|
749
754
|
export type UpdateDHCPRequest = {
|
|
750
755
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
751
|
-
zone?:
|
|
756
|
+
zone?: ScwZone;
|
|
752
757
|
/** DHCP configuration to update. */
|
|
753
758
|
dhcpId: string;
|
|
754
759
|
/** Subnet for the DHCP server. */
|
|
@@ -811,7 +816,7 @@ export type UpdateDHCPRequest = {
|
|
|
811
816
|
};
|
|
812
817
|
export type UpdateGatewayNetworkRequest = {
|
|
813
818
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
814
|
-
zone?:
|
|
819
|
+
zone?: ScwZone;
|
|
815
820
|
/** ID of the GatewayNetwork to update. */
|
|
816
821
|
gatewayNetworkId: string;
|
|
817
822
|
/** Note: this setting is ignored when passing `ipam_config`. */
|
|
@@ -848,7 +853,7 @@ export type UpdateGatewayNetworkRequest = {
|
|
|
848
853
|
};
|
|
849
854
|
export type UpdateGatewayRequest = {
|
|
850
855
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
851
|
-
zone?:
|
|
856
|
+
zone?: ScwZone;
|
|
852
857
|
/** ID of the gateway to update. */
|
|
853
858
|
gatewayId: string;
|
|
854
859
|
/** Name for the gateway. */
|
|
@@ -869,7 +874,7 @@ export type UpdateGatewayRequest = {
|
|
|
869
874
|
};
|
|
870
875
|
export type UpdateIPRequest = {
|
|
871
876
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
872
|
-
zone?:
|
|
877
|
+
zone?: ScwZone;
|
|
873
878
|
/** ID of the IP address to update. */
|
|
874
879
|
ipId: string;
|
|
875
880
|
/** Tags to give to the IP address. */
|
|
@@ -881,7 +886,7 @@ export type UpdateIPRequest = {
|
|
|
881
886
|
};
|
|
882
887
|
export type UpdatePATRuleRequest = {
|
|
883
888
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
884
|
-
zone?:
|
|
889
|
+
zone?: ScwZone;
|
|
885
890
|
/** ID of the PAT rule to update. */
|
|
886
891
|
patRuleId: string;
|
|
887
892
|
/** Public port to listen on. */
|
|
@@ -895,7 +900,7 @@ export type UpdatePATRuleRequest = {
|
|
|
895
900
|
};
|
|
896
901
|
export type UpgradeGatewayRequest = {
|
|
897
902
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
898
|
-
zone?:
|
|
903
|
+
zone?: ScwZone;
|
|
899
904
|
/** ID of the gateway to upgrade. */
|
|
900
905
|
gatewayId: string;
|
|
901
906
|
/** Gateway type (commercial offer). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Zone as ScwZone, WaitForOptions } from '../../../bridge';
|
|
3
3
|
import type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysResponse, ListIPsRequest, ListIPsResponse, ListPatRulesRequest, ListPatRulesResponse, PatRule, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Public Gateways API.
|
|
@@ -8,7 +8,7 @@ import type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateG
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available zones of the API. */
|
|
11
|
-
static readonly LOCALITIES:
|
|
11
|
+
static readonly LOCALITIES: ScwZone[];
|
|
12
12
|
protected pageOfListGateways: (request?: Readonly<ListGatewaysRequest>) => Promise<ListGatewaysResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* List Public Gateways. List Public Gateways in a given Scaleway Organization
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Zone } from '../../../bridge';
|
|
1
|
+
import type { Zone as ScwZone } from '../../../bridge';
|
|
2
2
|
export type GatewayNetworkStatus = 'unknown_status' | 'created' | 'attaching' | 'configuring' | 'ready' | 'detaching';
|
|
3
3
|
export type GatewayStatus = 'unknown_status' | 'stopped' | 'allocating' | 'configuring' | 'running' | 'stopping' | 'failed' | 'deleting' | 'locked';
|
|
4
4
|
export type ListGatewayNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'status_asc' | 'status_desc';
|
|
@@ -34,7 +34,7 @@ export interface GatewayNetwork {
|
|
|
34
34
|
/** Use this IPAM-booked IP ID as the Gateway's IP in this Private Network. */
|
|
35
35
|
ipamIpId: string;
|
|
36
36
|
/** Zone of the GatewayNetwork connection. */
|
|
37
|
-
zone:
|
|
37
|
+
zone: ScwZone;
|
|
38
38
|
}
|
|
39
39
|
export interface IP {
|
|
40
40
|
/** IP address ID. */
|
|
@@ -56,7 +56,7 @@ export interface IP {
|
|
|
56
56
|
/** Public Gateway associated with the IP address. */
|
|
57
57
|
gatewayId?: string;
|
|
58
58
|
/** Zone of the IP address. */
|
|
59
|
-
zone:
|
|
59
|
+
zone: ScwZone;
|
|
60
60
|
}
|
|
61
61
|
export interface GatewayType {
|
|
62
62
|
/** Public Gateway type name. */
|
|
@@ -68,7 +68,7 @@ export interface GatewayType {
|
|
|
68
68
|
*/
|
|
69
69
|
bandwidth: number;
|
|
70
70
|
/** Zone the Public Gateway type is available in. */
|
|
71
|
-
zone:
|
|
71
|
+
zone: ScwZone;
|
|
72
72
|
}
|
|
73
73
|
export interface Gateway {
|
|
74
74
|
/** ID of the gateway. */
|
|
@@ -113,7 +113,7 @@ export interface Gateway {
|
|
|
113
113
|
/** Ranges of IP addresses allowed to connect to the gateway's SSH bastion. */
|
|
114
114
|
bastionAllowedIps: string[];
|
|
115
115
|
/** Zone of the gateway. */
|
|
116
|
-
zone:
|
|
116
|
+
zone: ScwZone;
|
|
117
117
|
}
|
|
118
118
|
export interface PatRule {
|
|
119
119
|
/** PAT rule ID. */
|
|
@@ -133,7 +133,7 @@ export interface PatRule {
|
|
|
133
133
|
/** Protocol the rule applies to. */
|
|
134
134
|
protocol: PatRuleProtocol;
|
|
135
135
|
/** Zone of the PAT rule. */
|
|
136
|
-
zone:
|
|
136
|
+
zone: ScwZone;
|
|
137
137
|
}
|
|
138
138
|
export interface SetPatRulesRequestRule {
|
|
139
139
|
/**
|
|
@@ -150,7 +150,7 @@ export interface SetPatRulesRequestRule {
|
|
|
150
150
|
}
|
|
151
151
|
export type AddBastionAllowedIPsRequest = {
|
|
152
152
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
153
|
-
zone?:
|
|
153
|
+
zone?: ScwZone;
|
|
154
154
|
/** ID of the gateway to add the allowed IP range to. */
|
|
155
155
|
gatewayId: string;
|
|
156
156
|
/** IP range allowed to connect to the SSH bastion. */
|
|
@@ -162,7 +162,7 @@ export interface AddBastionAllowedIPsResponse {
|
|
|
162
162
|
}
|
|
163
163
|
export type CreateGatewayNetworkRequest = {
|
|
164
164
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
165
|
-
zone?:
|
|
165
|
+
zone?: ScwZone;
|
|
166
166
|
/** Public Gateway to connect. */
|
|
167
167
|
gatewayId: string;
|
|
168
168
|
/** Private Network to connect. */
|
|
@@ -176,7 +176,7 @@ export type CreateGatewayNetworkRequest = {
|
|
|
176
176
|
};
|
|
177
177
|
export type CreateGatewayRequest = {
|
|
178
178
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
179
|
-
zone?:
|
|
179
|
+
zone?: ScwZone;
|
|
180
180
|
/** Scaleway Project to create the gateway in. */
|
|
181
181
|
projectId?: string;
|
|
182
182
|
/** Name for the gateway. */
|
|
@@ -196,7 +196,7 @@ export type CreateGatewayRequest = {
|
|
|
196
196
|
};
|
|
197
197
|
export type CreateIPRequest = {
|
|
198
198
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
199
|
-
zone?:
|
|
199
|
+
zone?: ScwZone;
|
|
200
200
|
/** Project to create the IP address in. */
|
|
201
201
|
projectId?: string;
|
|
202
202
|
/** Tags to give to the IP address. */
|
|
@@ -204,7 +204,7 @@ export type CreateIPRequest = {
|
|
|
204
204
|
};
|
|
205
205
|
export type CreatePatRuleRequest = {
|
|
206
206
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
207
|
-
zone?:
|
|
207
|
+
zone?: ScwZone;
|
|
208
208
|
/** ID of the Gateway on which to create the rule. */
|
|
209
209
|
gatewayId: string;
|
|
210
210
|
/** Public port to listen on. */
|
|
@@ -218,7 +218,7 @@ export type CreatePatRuleRequest = {
|
|
|
218
218
|
};
|
|
219
219
|
export type DeleteBastionAllowedIPsRequest = {
|
|
220
220
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
221
|
-
zone?:
|
|
221
|
+
zone?: ScwZone;
|
|
222
222
|
/** ID of the gateway on which to delete the allowed IP range. */
|
|
223
223
|
gatewayId: string;
|
|
224
224
|
/** IP range to delete from SSH bastion's list of allowed IPs. */
|
|
@@ -226,13 +226,13 @@ export type DeleteBastionAllowedIPsRequest = {
|
|
|
226
226
|
};
|
|
227
227
|
export type DeleteGatewayNetworkRequest = {
|
|
228
228
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
229
|
-
zone?:
|
|
229
|
+
zone?: ScwZone;
|
|
230
230
|
/** ID of the GatewayNetwork to delete. */
|
|
231
231
|
gatewayNetworkId: string;
|
|
232
232
|
};
|
|
233
233
|
export type DeleteGatewayRequest = {
|
|
234
234
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
235
|
-
zone?:
|
|
235
|
+
zone?: ScwZone;
|
|
236
236
|
/** ID of the gateway to delete. */
|
|
237
237
|
gatewayId: string;
|
|
238
238
|
/** Defines whether the PGW's IP should be deleted. */
|
|
@@ -240,43 +240,43 @@ export type DeleteGatewayRequest = {
|
|
|
240
240
|
};
|
|
241
241
|
export type DeleteIPRequest = {
|
|
242
242
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
243
|
-
zone?:
|
|
243
|
+
zone?: ScwZone;
|
|
244
244
|
/** ID of the IP address to delete. */
|
|
245
245
|
ipId: string;
|
|
246
246
|
};
|
|
247
247
|
export type DeletePatRuleRequest = {
|
|
248
248
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
249
|
-
zone?:
|
|
249
|
+
zone?: ScwZone;
|
|
250
250
|
/** ID of the PAT rule to delete. */
|
|
251
251
|
patRuleId: string;
|
|
252
252
|
};
|
|
253
253
|
export type GetGatewayNetworkRequest = {
|
|
254
254
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
255
|
-
zone?:
|
|
255
|
+
zone?: ScwZone;
|
|
256
256
|
/** ID of the GatewayNetwork to fetch. */
|
|
257
257
|
gatewayNetworkId: string;
|
|
258
258
|
};
|
|
259
259
|
export type GetGatewayRequest = {
|
|
260
260
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
261
|
-
zone?:
|
|
261
|
+
zone?: ScwZone;
|
|
262
262
|
/** ID of the gateway to fetch. */
|
|
263
263
|
gatewayId: string;
|
|
264
264
|
};
|
|
265
265
|
export type GetIPRequest = {
|
|
266
266
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
267
|
-
zone?:
|
|
267
|
+
zone?: ScwZone;
|
|
268
268
|
/** ID of the IP address to get. */
|
|
269
269
|
ipId: string;
|
|
270
270
|
};
|
|
271
271
|
export type GetPatRuleRequest = {
|
|
272
272
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
273
|
-
zone?:
|
|
273
|
+
zone?: ScwZone;
|
|
274
274
|
/** ID of the PAT rule to get. */
|
|
275
275
|
patRuleId: string;
|
|
276
276
|
};
|
|
277
277
|
export type ListGatewayNetworksRequest = {
|
|
278
278
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
279
|
-
zone?:
|
|
279
|
+
zone?: ScwZone;
|
|
280
280
|
/** Order in which to return results. */
|
|
281
281
|
orderBy?: ListGatewayNetworksRequestOrderBy;
|
|
282
282
|
/** Page number. */
|
|
@@ -303,7 +303,7 @@ export interface ListGatewayNetworksResponse {
|
|
|
303
303
|
}
|
|
304
304
|
export type ListGatewayTypesRequest = {
|
|
305
305
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
306
|
-
zone?:
|
|
306
|
+
zone?: ScwZone;
|
|
307
307
|
};
|
|
308
308
|
export interface ListGatewayTypesResponse {
|
|
309
309
|
/** Available types of Public Gateway. */
|
|
@@ -311,7 +311,7 @@ export interface ListGatewayTypesResponse {
|
|
|
311
311
|
}
|
|
312
312
|
export type ListGatewaysRequest = {
|
|
313
313
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
314
|
-
zone?:
|
|
314
|
+
zone?: ScwZone;
|
|
315
315
|
/** Order in which to return results. */
|
|
316
316
|
orderBy?: ListGatewaysRequestOrderBy;
|
|
317
317
|
/** Page number to return. */
|
|
@@ -346,7 +346,7 @@ export interface ListGatewaysResponse {
|
|
|
346
346
|
}
|
|
347
347
|
export type ListIPsRequest = {
|
|
348
348
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
349
|
-
zone?:
|
|
349
|
+
zone?: ScwZone;
|
|
350
350
|
/** Order in which to return results. */
|
|
351
351
|
orderBy?: ListIPsRequestOrderBy;
|
|
352
352
|
/** Page number. */
|
|
@@ -372,7 +372,7 @@ export interface ListIPsResponse {
|
|
|
372
372
|
}
|
|
373
373
|
export type ListPatRulesRequest = {
|
|
374
374
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
375
|
-
zone?:
|
|
375
|
+
zone?: ScwZone;
|
|
376
376
|
/** Order in which to return results. */
|
|
377
377
|
orderBy?: ListPatRulesRequestOrderBy;
|
|
378
378
|
/** Page number. */
|
|
@@ -394,13 +394,13 @@ export interface ListPatRulesResponse {
|
|
|
394
394
|
}
|
|
395
395
|
export type RefreshSSHKeysRequest = {
|
|
396
396
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
397
|
-
zone?:
|
|
397
|
+
zone?: ScwZone;
|
|
398
398
|
/** ID of the gateway to refresh SSH keys on. */
|
|
399
399
|
gatewayId: string;
|
|
400
400
|
};
|
|
401
401
|
export type SetBastionAllowedIPsRequest = {
|
|
402
402
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
403
|
-
zone?:
|
|
403
|
+
zone?: ScwZone;
|
|
404
404
|
/** ID of the gateway on which to set the allowed IP range. */
|
|
405
405
|
gatewayId: string;
|
|
406
406
|
/**
|
|
@@ -415,7 +415,7 @@ export interface SetBastionAllowedIPsResponse {
|
|
|
415
415
|
}
|
|
416
416
|
export type SetPatRulesRequest = {
|
|
417
417
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
418
|
-
zone?:
|
|
418
|
+
zone?: ScwZone;
|
|
419
419
|
/** ID of the gateway on which to set the PAT rules. */
|
|
420
420
|
gatewayId: string;
|
|
421
421
|
/** New list of PAT rules. */
|
|
@@ -427,7 +427,7 @@ export interface SetPatRulesResponse {
|
|
|
427
427
|
}
|
|
428
428
|
export type UpdateGatewayNetworkRequest = {
|
|
429
429
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
430
|
-
zone?:
|
|
430
|
+
zone?: ScwZone;
|
|
431
431
|
/** ID of the GatewayNetwork to update. */
|
|
432
432
|
gatewayNetworkId: string;
|
|
433
433
|
/** Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork. */
|
|
@@ -439,7 +439,7 @@ export type UpdateGatewayNetworkRequest = {
|
|
|
439
439
|
};
|
|
440
440
|
export type UpdateGatewayRequest = {
|
|
441
441
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
442
|
-
zone?:
|
|
442
|
+
zone?: ScwZone;
|
|
443
443
|
/** ID of the gateway to update. */
|
|
444
444
|
gatewayId: string;
|
|
445
445
|
/** Name for the gateway. */
|
|
@@ -455,7 +455,7 @@ export type UpdateGatewayRequest = {
|
|
|
455
455
|
};
|
|
456
456
|
export type UpdateIPRequest = {
|
|
457
457
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
458
|
-
zone?:
|
|
458
|
+
zone?: ScwZone;
|
|
459
459
|
/** ID of the IP address to update. */
|
|
460
460
|
ipId: string;
|
|
461
461
|
/** Tags to give to the IP address. */
|
|
@@ -467,7 +467,7 @@ export type UpdateIPRequest = {
|
|
|
467
467
|
};
|
|
468
468
|
export type UpdatePatRuleRequest = {
|
|
469
469
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
470
|
-
zone?:
|
|
470
|
+
zone?: ScwZone;
|
|
471
471
|
/** ID of the PAT rule to update. */
|
|
472
472
|
patRuleId: string;
|
|
473
473
|
/** Public port to listen on. */
|
|
@@ -481,7 +481,7 @@ export type UpdatePatRuleRequest = {
|
|
|
481
481
|
};
|
|
482
482
|
export type UpgradeGatewayRequest = {
|
|
483
483
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
484
|
-
zone?:
|
|
484
|
+
zone?: ScwZone;
|
|
485
485
|
/** ID of the gateway to upgrade. */
|
|
486
486
|
gatewayId: string;
|
|
487
487
|
/** Gateway type (commercial offer). */
|
|
@@ -92,6 +92,7 @@ const unmarshalDnsRecords = (data) => {
|
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
94
|
return {
|
|
95
|
+
dnsConfig: data.dns_config,
|
|
95
96
|
nameServers: marshalling.unmarshalArrayOfObject(data.name_servers, unmarshalNameserver),
|
|
96
97
|
records: marshalling.unmarshalArrayOfObject(data.records, unmarshalDnsRecord),
|
|
97
98
|
status: data.status
|
|
@@ -203,8 +204,9 @@ const unmarshalHosting = (data) => {
|
|
|
203
204
|
}
|
|
204
205
|
return {
|
|
205
206
|
createdAt: marshalling.unmarshalDate(data.created_at),
|
|
206
|
-
dnsStatus: data.dns_status,
|
|
207
|
+
dnsStatus: data.dns_status ? data.dns_status : void 0,
|
|
207
208
|
domain: data.domain,
|
|
209
|
+
domainStatus: data.domain_status,
|
|
208
210
|
id: data.id,
|
|
209
211
|
ipv4: data.ipv4,
|
|
210
212
|
offer: data.offer ? unmarshalOffer(data.offer) : void 0,
|
|
@@ -286,14 +288,16 @@ const unmarshalHostingSummary = (data) => {
|
|
|
286
288
|
}
|
|
287
289
|
return {
|
|
288
290
|
createdAt: marshalling.unmarshalDate(data.created_at),
|
|
289
|
-
dnsStatus: data.dns_status,
|
|
291
|
+
dnsStatus: data.dns_status ? data.dns_status : void 0,
|
|
290
292
|
domain: data.domain,
|
|
293
|
+
domainStatus: data.domain_status,
|
|
294
|
+
hostingStatus: data.hosting_status,
|
|
291
295
|
id: data.id,
|
|
292
296
|
offerName: data.offer_name,
|
|
293
297
|
projectId: data.project_id,
|
|
294
298
|
protected: data.protected,
|
|
295
299
|
region: data.region,
|
|
296
|
-
status: data.status,
|
|
300
|
+
status: data.status ? data.status : void 0,
|
|
297
301
|
updatedAt: marshalling.unmarshalDate(data.updated_at)
|
|
298
302
|
};
|
|
299
303
|
};
|