@scaleway/sdk 2.65.0 → 2.66.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/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/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 +5 -1
- package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +5 -1
- package/dist/api/secret/v1beta1/types.gen.d.ts +22 -22
- 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.d.ts +2 -2
- package/dist/api/vpcgw/v1/types.gen.d.ts +44 -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/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 { Region } from '../../../bridge';
|
|
1
|
+
import type { Region as ScwRegion } from '../../../bridge';
|
|
2
2
|
export type DatabaseBackupStatus = 'unknown_status' | 'error' | 'ready' | 'locked';
|
|
3
3
|
export type DatabaseStatus = 'unknown_status' | 'error' | 'creating' | 'ready' | 'deleting' | 'restoring' | 'locked';
|
|
4
4
|
export type ListDatabaseBackupsRequestOrderBy = 'created_at_desc' | 'created_at_asc';
|
|
@@ -30,7 +30,7 @@ export interface DatabaseBackup {
|
|
|
30
30
|
/** Expiration date of the download URL. */
|
|
31
31
|
downloadUrlExpiresAt?: Date;
|
|
32
32
|
/** Region of the database backup. */
|
|
33
|
-
region:
|
|
33
|
+
region: ScwRegion;
|
|
34
34
|
}
|
|
35
35
|
export interface Database {
|
|
36
36
|
/** UUID that uniquely identifies your Serverless SQL DB Database. */
|
|
@@ -49,7 +49,7 @@ export interface Database {
|
|
|
49
49
|
/** Project ID the database belongs to. */
|
|
50
50
|
projectId: string;
|
|
51
51
|
/** Region of the database. */
|
|
52
|
-
region:
|
|
52
|
+
region: ScwRegion;
|
|
53
53
|
/** Creation date. */
|
|
54
54
|
createdAt?: Date;
|
|
55
55
|
/** The minimum number of CPU units for your Serverless SQL Database. */
|
|
@@ -68,7 +68,7 @@ export type CreateDatabaseRequest = {
|
|
|
68
68
|
* Region to target. If none is passed will use default region from the
|
|
69
69
|
* config.
|
|
70
70
|
*/
|
|
71
|
-
region?:
|
|
71
|
+
region?: ScwRegion;
|
|
72
72
|
/** The ID of your Scaleway project. */
|
|
73
73
|
projectId?: string;
|
|
74
74
|
/** The name of the Serverless SQL Database to be created. */
|
|
@@ -85,7 +85,7 @@ export type DeleteDatabaseRequest = {
|
|
|
85
85
|
* Region to target. If none is passed will use default region from the
|
|
86
86
|
* config.
|
|
87
87
|
*/
|
|
88
|
-
region?:
|
|
88
|
+
region?: ScwRegion;
|
|
89
89
|
/** UUID of the Serverless SQL Database. */
|
|
90
90
|
databaseId: string;
|
|
91
91
|
};
|
|
@@ -94,7 +94,7 @@ export type ExportDatabaseBackupRequest = {
|
|
|
94
94
|
* Region to target. If none is passed will use default region from the
|
|
95
95
|
* config.
|
|
96
96
|
*/
|
|
97
|
-
region?:
|
|
97
|
+
region?: ScwRegion;
|
|
98
98
|
/** UUID of the Serverless SQL Database backup. */
|
|
99
99
|
backupId: string;
|
|
100
100
|
};
|
|
@@ -103,7 +103,7 @@ export type GetDatabaseBackupRequest = {
|
|
|
103
103
|
* Region to target. If none is passed will use default region from the
|
|
104
104
|
* config.
|
|
105
105
|
*/
|
|
106
|
-
region?:
|
|
106
|
+
region?: ScwRegion;
|
|
107
107
|
/** UUID of the Serverless SQL Database backup. */
|
|
108
108
|
backupId: string;
|
|
109
109
|
};
|
|
@@ -112,7 +112,7 @@ export type GetDatabaseRequest = {
|
|
|
112
112
|
* Region to target. If none is passed will use default region from the
|
|
113
113
|
* config.
|
|
114
114
|
*/
|
|
115
|
-
region?:
|
|
115
|
+
region?: ScwRegion;
|
|
116
116
|
/** UUID of the Serverless SQL DB database. */
|
|
117
117
|
databaseId: string;
|
|
118
118
|
};
|
|
@@ -121,7 +121,7 @@ export type ListDatabaseBackupsRequest = {
|
|
|
121
121
|
* Region to target. If none is passed will use default region from the
|
|
122
122
|
* config.
|
|
123
123
|
*/
|
|
124
|
-
region?:
|
|
124
|
+
region?: ScwRegion;
|
|
125
125
|
/** Filter by the UUID of the Scaleway organization. */
|
|
126
126
|
organizationId?: string;
|
|
127
127
|
/** Filter by the UUID of the Scaleway project. */
|
|
@@ -146,7 +146,7 @@ export type ListDatabasesRequest = {
|
|
|
146
146
|
* Region to target. If none is passed will use default region from the
|
|
147
147
|
* config.
|
|
148
148
|
*/
|
|
149
|
-
region?:
|
|
149
|
+
region?: ScwRegion;
|
|
150
150
|
/** Filter by the UUID of the Scaleway organization. */
|
|
151
151
|
organizationId?: string;
|
|
152
152
|
/** UUID of the Scaleway project. */
|
|
@@ -174,7 +174,7 @@ export type RestoreDatabaseFromBackupRequest = {
|
|
|
174
174
|
* Region to target. If none is passed will use default region from the
|
|
175
175
|
* config.
|
|
176
176
|
*/
|
|
177
|
-
region?:
|
|
177
|
+
region?: ScwRegion;
|
|
178
178
|
/** UUID of the Serverless SQL Database. */
|
|
179
179
|
databaseId: string;
|
|
180
180
|
/** UUID of the Serverless SQL Database backup to restore. */
|
|
@@ -185,7 +185,7 @@ export type UpdateDatabaseRequest = {
|
|
|
185
185
|
* Region to target. If none is passed will use default region from the
|
|
186
186
|
* config.
|
|
187
187
|
*/
|
|
188
|
-
region?:
|
|
188
|
+
region?: ScwRegion;
|
|
189
189
|
/** UUID of the Serverless SQL Database. */
|
|
190
190
|
databaseId: string;
|
|
191
191
|
/** The minimum number of CPU units for your Serverless SQL Database. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type { Region, WaitForOptions } from '../../../bridge';
|
|
2
|
+
import type { Region as ScwRegion, WaitForOptions } from '../../../bridge';
|
|
3
3
|
import type { BulkCreateBlocklistsRequest, BulkCreateBlocklistsResponse, CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailResponse, CreateWebhookRequest, DeleteBlocklistRequest, DeleteWebhookRequest, Domain, DomainLastStatus, Email, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListBlocklistsRequest, ListBlocklistsResponse, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsResponse, ListWebhookEventsRequest, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksResponse, ProjectSettings, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateProjectSettingsRequest, UpdateWebhookRequest, Webhook } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Transactional Email API.
|
|
@@ -8,7 +8,7 @@ import type { BulkCreateBlocklistsRequest, BulkCreateBlocklistsResponse, CancelE
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available regions of the API. */
|
|
11
|
-
static readonly LOCALITIES:
|
|
11
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
12
12
|
/**
|
|
13
13
|
* Send an email. You must specify the `region`, the sender and the
|
|
14
14
|
* recipient's information and the `project_id` to send an email from a
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region } from '../../../bridge';
|
|
1
|
+
import type { Region as ScwRegion } from '../../../bridge';
|
|
2
2
|
export type BlocklistType = 'unknown_type' | 'mailbox_full' | 'mailbox_not_found';
|
|
3
3
|
export type DomainLastStatusAutoconfigStateReason = 'unknown_reason' | 'permission_denied' | 'domain_not_found';
|
|
4
4
|
export type DomainLastStatusRecordStatus = 'unknown_record_status' | 'valid' | 'invalid' | 'not_found';
|
|
@@ -212,7 +212,7 @@ export interface Domain {
|
|
|
212
212
|
* Region to target. If none is passed will use default region from the
|
|
213
213
|
* config.
|
|
214
214
|
*/
|
|
215
|
-
region:
|
|
215
|
+
region: ScwRegion;
|
|
216
216
|
}
|
|
217
217
|
export interface WebhookEvent {
|
|
218
218
|
/** ID of the Webhook Event. */
|
|
@@ -289,7 +289,7 @@ export type BulkCreateBlocklistsRequest = {
|
|
|
289
289
|
* Region to target. If none is passed will use default region from the
|
|
290
290
|
* config.
|
|
291
291
|
*/
|
|
292
|
-
region?:
|
|
292
|
+
region?: ScwRegion;
|
|
293
293
|
/** Domain ID linked to the blocklist. */
|
|
294
294
|
domainId: string;
|
|
295
295
|
/** Email blocked by the blocklist. */
|
|
@@ -308,7 +308,7 @@ export type CancelEmailRequest = {
|
|
|
308
308
|
* Region to target. If none is passed will use default region from the
|
|
309
309
|
* config.
|
|
310
310
|
*/
|
|
311
|
-
region?:
|
|
311
|
+
region?: ScwRegion;
|
|
312
312
|
/** ID of the email to cancel. */
|
|
313
313
|
emailId: string;
|
|
314
314
|
};
|
|
@@ -317,7 +317,7 @@ export type CheckDomainRequest = {
|
|
|
317
317
|
* Region to target. If none is passed will use default region from the
|
|
318
318
|
* config.
|
|
319
319
|
*/
|
|
320
|
-
region?:
|
|
320
|
+
region?: ScwRegion;
|
|
321
321
|
/** ID of the domain to check. */
|
|
322
322
|
domainId: string;
|
|
323
323
|
};
|
|
@@ -326,7 +326,7 @@ export type CreateDomainRequest = {
|
|
|
326
326
|
* Region to target. If none is passed will use default region from the
|
|
327
327
|
* config.
|
|
328
328
|
*/
|
|
329
|
-
region?:
|
|
329
|
+
region?: ScwRegion;
|
|
330
330
|
/** ID of the project to which the domain belongs. */
|
|
331
331
|
projectId?: string;
|
|
332
332
|
/** Fully qualified domain dame. */
|
|
@@ -341,7 +341,7 @@ export type CreateEmailRequest = {
|
|
|
341
341
|
* Region to target. If none is passed will use default region from the
|
|
342
342
|
* config.
|
|
343
343
|
*/
|
|
344
|
-
region?:
|
|
344
|
+
region?: ScwRegion;
|
|
345
345
|
/** Sender information. Must be from a checked domain declared in the Project. */
|
|
346
346
|
from: CreateEmailRequestAddress;
|
|
347
347
|
/** An array of the primary recipient's information. */
|
|
@@ -374,7 +374,7 @@ export type CreateWebhookRequest = {
|
|
|
374
374
|
* Region to target. If none is passed will use default region from the
|
|
375
375
|
* config.
|
|
376
376
|
*/
|
|
377
|
-
region?:
|
|
377
|
+
region?: ScwRegion;
|
|
378
378
|
/** ID of the Domain to watch for triggering events. */
|
|
379
379
|
domainId: string;
|
|
380
380
|
/** ID of the project to which the Webhook belongs. */
|
|
@@ -391,7 +391,7 @@ export type DeleteBlocklistRequest = {
|
|
|
391
391
|
* Region to target. If none is passed will use default region from the
|
|
392
392
|
* config.
|
|
393
393
|
*/
|
|
394
|
-
region?:
|
|
394
|
+
region?: ScwRegion;
|
|
395
395
|
/** ID of the blocklist to delete. */
|
|
396
396
|
blocklistId: string;
|
|
397
397
|
};
|
|
@@ -400,7 +400,7 @@ export type DeleteWebhookRequest = {
|
|
|
400
400
|
* Region to target. If none is passed will use default region from the
|
|
401
401
|
* config.
|
|
402
402
|
*/
|
|
403
|
-
region?:
|
|
403
|
+
region?: ScwRegion;
|
|
404
404
|
/** ID of the Webhook to delete. */
|
|
405
405
|
webhookId: string;
|
|
406
406
|
};
|
|
@@ -423,7 +423,7 @@ export type GetDomainLastStatusRequest = {
|
|
|
423
423
|
* Region to target. If none is passed will use default region from the
|
|
424
424
|
* config.
|
|
425
425
|
*/
|
|
426
|
-
region?:
|
|
426
|
+
region?: ScwRegion;
|
|
427
427
|
/** ID of the domain to delete. */
|
|
428
428
|
domainId: string;
|
|
429
429
|
};
|
|
@@ -432,7 +432,7 @@ export type GetDomainRequest = {
|
|
|
432
432
|
* Region to target. If none is passed will use default region from the
|
|
433
433
|
* config.
|
|
434
434
|
*/
|
|
435
|
-
region?:
|
|
435
|
+
region?: ScwRegion;
|
|
436
436
|
/** ID of the domain. */
|
|
437
437
|
domainId: string;
|
|
438
438
|
};
|
|
@@ -441,7 +441,7 @@ export type GetEmailRequest = {
|
|
|
441
441
|
* Region to target. If none is passed will use default region from the
|
|
442
442
|
* config.
|
|
443
443
|
*/
|
|
444
|
-
region?:
|
|
444
|
+
region?: ScwRegion;
|
|
445
445
|
/** ID of the email to retrieve. */
|
|
446
446
|
emailId: string;
|
|
447
447
|
};
|
|
@@ -450,7 +450,7 @@ export type GetProjectSettingsRequest = {
|
|
|
450
450
|
* Region to target. If none is passed will use default region from the
|
|
451
451
|
* config.
|
|
452
452
|
*/
|
|
453
|
-
region?:
|
|
453
|
+
region?: ScwRegion;
|
|
454
454
|
/** ID of the project. */
|
|
455
455
|
projectId?: string;
|
|
456
456
|
};
|
|
@@ -459,7 +459,7 @@ export type GetStatisticsRequest = {
|
|
|
459
459
|
* Region to target. If none is passed will use default region from the
|
|
460
460
|
* config.
|
|
461
461
|
*/
|
|
462
|
-
region?:
|
|
462
|
+
region?: ScwRegion;
|
|
463
463
|
/** (Optional) Number of emails for this Project. */
|
|
464
464
|
projectId?: string;
|
|
465
465
|
/**
|
|
@@ -479,7 +479,7 @@ export type GetWebhookRequest = {
|
|
|
479
479
|
* Region to target. If none is passed will use default region from the
|
|
480
480
|
* config.
|
|
481
481
|
*/
|
|
482
|
-
region?:
|
|
482
|
+
region?: ScwRegion;
|
|
483
483
|
/** ID of the Webhook to check. */
|
|
484
484
|
webhookId: string;
|
|
485
485
|
};
|
|
@@ -488,7 +488,7 @@ export type ListBlocklistsRequest = {
|
|
|
488
488
|
* Region to target. If none is passed will use default region from the
|
|
489
489
|
* config.
|
|
490
490
|
*/
|
|
491
|
-
region?:
|
|
491
|
+
region?: ScwRegion;
|
|
492
492
|
/** (Optional) List blocklist corresponding to specific criteria. */
|
|
493
493
|
orderBy?: ListBlocklistsRequestOrderBy;
|
|
494
494
|
/** (Optional) Requested page number. Value must be greater or equal to 1. */
|
|
@@ -518,7 +518,7 @@ export type ListDomainsRequest = {
|
|
|
518
518
|
* Region to target. If none is passed will use default region from the
|
|
519
519
|
* config.
|
|
520
520
|
*/
|
|
521
|
-
region?:
|
|
521
|
+
region?: ScwRegion;
|
|
522
522
|
/** Requested page number. Value must be greater or equal to 1. */
|
|
523
523
|
page?: number;
|
|
524
524
|
/** Requested page size. Value must be between 1 and 1000. */
|
|
@@ -543,7 +543,7 @@ export type ListEmailsRequest = {
|
|
|
543
543
|
* Region to target. If none is passed will use default region from the
|
|
544
544
|
* config.
|
|
545
545
|
*/
|
|
546
|
-
region?:
|
|
546
|
+
region?: ScwRegion;
|
|
547
547
|
page?: number;
|
|
548
548
|
pageSize?: number;
|
|
549
549
|
/** (Optional) ID of the Project in which to list the emails. */
|
|
@@ -584,7 +584,7 @@ export type ListWebhookEventsRequest = {
|
|
|
584
584
|
* Region to target. If none is passed will use default region from the
|
|
585
585
|
* config.
|
|
586
586
|
*/
|
|
587
|
-
region?:
|
|
587
|
+
region?: ScwRegion;
|
|
588
588
|
/** ID of the Webhook linked to the events. */
|
|
589
589
|
webhookId: string;
|
|
590
590
|
/** (Optional) List Webhook events corresponding to specific criteria. */
|
|
@@ -617,7 +617,7 @@ export type ListWebhooksRequest = {
|
|
|
617
617
|
* Region to target. If none is passed will use default region from the
|
|
618
618
|
* config.
|
|
619
619
|
*/
|
|
620
|
-
region?:
|
|
620
|
+
region?: ScwRegion;
|
|
621
621
|
/** (Optional) List Webhooks corresponding to specific criteria. */
|
|
622
622
|
orderBy?: ListWebhooksRequestOrderBy;
|
|
623
623
|
/** (Optional) Requested page number. Value must be greater or equal to 1. */
|
|
@@ -646,7 +646,7 @@ export type RevokeDomainRequest = {
|
|
|
646
646
|
* Region to target. If none is passed will use default region from the
|
|
647
647
|
* config.
|
|
648
648
|
*/
|
|
649
|
-
region?:
|
|
649
|
+
region?: ScwRegion;
|
|
650
650
|
/** ID of the domain to delete. */
|
|
651
651
|
domainId: string;
|
|
652
652
|
};
|
|
@@ -684,7 +684,7 @@ export type UpdateDomainRequest = {
|
|
|
684
684
|
* Region to target. If none is passed will use default region from the
|
|
685
685
|
* config.
|
|
686
686
|
*/
|
|
687
|
-
region?:
|
|
687
|
+
region?: ScwRegion;
|
|
688
688
|
/** ID of the domain to update. */
|
|
689
689
|
domainId: string;
|
|
690
690
|
/**
|
|
@@ -698,7 +698,7 @@ export type UpdateProjectSettingsRequest = {
|
|
|
698
698
|
* Region to target. If none is passed will use default region from the
|
|
699
699
|
* config.
|
|
700
700
|
*/
|
|
701
|
-
region?:
|
|
701
|
+
region?: ScwRegion;
|
|
702
702
|
/** ID of the project. */
|
|
703
703
|
projectId?: string;
|
|
704
704
|
/** Periodic report update details - all fields are optional. */
|
|
@@ -709,7 +709,7 @@ export type UpdateWebhookRequest = {
|
|
|
709
709
|
* Region to target. If none is passed will use default region from the
|
|
710
710
|
* config.
|
|
711
711
|
*/
|
|
712
|
-
region?:
|
|
712
|
+
region?: ScwRegion;
|
|
713
713
|
/** ID of the Webhook to update. */
|
|
714
714
|
webhookId: string;
|
|
715
715
|
/** Name of the Webhook to update. */
|
|
@@ -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 { CreateDHCPEntryRequest, CreateDHCPRequest, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePATRuleRequest, DHCP, DHCPEntry, DeleteDHCPEntryRequest, DeleteDHCPRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePATRuleRequest, EnableIPMobilityRequest, Gateway, GatewayNetwork, GetDHCPEntryRequest, GetDHCPRequest, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPATRuleRequest, IP, ListDHCPEntriesRequest, ListDHCPEntriesResponse, ListDHCPsRequest, ListDHCPsResponse, ListGatewayNetworksRequest, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysResponse, ListIPsRequest, ListIPsResponse, ListPATRulesRequest, ListPATRulesResponse, PATRule, RefreshSSHKeysRequest, SetDHCPEntriesRequest, SetDHCPEntriesResponse, SetPATRulesRequest, SetPATRulesResponse, UpdateDHCPEntryRequest, UpdateDHCPRequest, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePATRuleRequest, UpgradeGatewayRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Public Gateways API.
|
|
@@ -8,7 +8,7 @@ import type { CreateDHCPEntryRequest, CreateDHCPRequest, CreateGatewayNetworkReq
|
|
|
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
|