@scaleway/sdk 2.49.1 → 2.51.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/marshalling.gen.cjs +1 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +8 -0
- package/dist/api/baremetal/v1/marshalling.gen.cjs +3 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +3 -1
- package/dist/api/baremetal/v1/types.gen.d.ts +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +39 -0
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +16 -1
- package/dist/api/edge_services/v1alpha1/api.gen.js +40 -1
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +54 -6
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +4 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +54 -6
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +64 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +9 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.js +9 -0
- package/dist/api/iam/v1alpha1/types.gen.d.ts +18 -0
- package/dist/api/index.gen.d.ts +2 -1
- package/dist/api/inference/v1beta1/validation-rules.gen.cjs +1 -1
- package/dist/api/inference/v1beta1/validation-rules.gen.js +1 -1
- package/dist/api/instance/v1/api.gen.cjs +0 -37
- package/dist/api/instance/v1/api.gen.d.ts +1 -21
- package/dist/api/instance/v1/api.gen.js +1 -38
- package/dist/api/instance/v1/index.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.cjs +1 -28
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -3
- package/dist/api/instance/v1/marshalling.gen.js +1 -28
- package/dist/api/instance/v1/types.gen.d.ts +9 -53
- package/dist/api/instance/v1/types.private.gen.d.ts +1 -3
- package/dist/api/jobs/v1alpha1/api.gen.cjs +46 -0
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -1
- package/dist/api/jobs/v1alpha1/api.gen.js +47 -1
- package/dist/api/jobs/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +80 -0
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +6 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +81 -1
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +81 -0
- package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +14 -2
- package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +10 -0
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +15 -3
- package/dist/api/mongodb/index.gen.cjs +4 -0
- package/dist/api/mongodb/index.gen.d.ts +5 -0
- package/dist/api/mongodb/index.gen.js +4 -0
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +385 -0
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +195 -0
- package/dist/api/mongodb/v1alpha1/api.gen.js +385 -0
- package/dist/api/mongodb/v1alpha1/content.gen.cjs +16 -0
- package/dist/api/mongodb/v1alpha1/content.gen.d.ts +5 -0
- package/dist/api/mongodb/v1alpha1/content.gen.js +16 -0
- package/dist/api/mongodb/v1alpha1/index.gen.cjs +9 -0
- package/dist/api/mongodb/v1alpha1/index.gen.d.ts +4 -0
- package/dist/api/mongodb/v1alpha1/index.gen.js +9 -0
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +326 -0
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +19 -0
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +326 -0
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +461 -0
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.cjs +147 -0
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.d.ts +134 -0
- package/dist/api/mongodb/v1alpha1/validation-rules.gen.js +147 -0
- package/dist/api/tem/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +13 -0
- package/dist/api/tem/v1alpha1/marshalling.gen.js +13 -0
- package/dist/api/tem/v1alpha1/types.gen.d.ts +13 -2
- package/dist/api/webhosting/v1alpha1/types.gen.d.ts +1 -1
- package/dist/index.cjs +16 -14
- package/dist/index.js +16 -14
- 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
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
export declare const CreateInstanceRequest: {
|
|
2
|
+
name: {
|
|
3
|
+
maxLength: number;
|
|
4
|
+
minLength: number;
|
|
5
|
+
pattern: RegExp;
|
|
6
|
+
};
|
|
7
|
+
nodeNumber: {
|
|
8
|
+
greaterThanOrEqual: number;
|
|
9
|
+
lessThanOrEqual: number;
|
|
10
|
+
};
|
|
11
|
+
nodeType: {
|
|
12
|
+
maxLength: number;
|
|
13
|
+
minLength: number;
|
|
14
|
+
pattern: RegExp;
|
|
15
|
+
};
|
|
16
|
+
password: {
|
|
17
|
+
maxLength: number;
|
|
18
|
+
minLength: number;
|
|
19
|
+
};
|
|
20
|
+
userName: {
|
|
21
|
+
maxLength: number;
|
|
22
|
+
minLength: number;
|
|
23
|
+
pattern: RegExp;
|
|
24
|
+
};
|
|
25
|
+
version: {
|
|
26
|
+
pattern: RegExp;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const CreateSnapshotRequest: {
|
|
30
|
+
name: {
|
|
31
|
+
maxLength: number;
|
|
32
|
+
minLength: number;
|
|
33
|
+
pattern: RegExp;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export declare const ListInstancesRequest: {
|
|
37
|
+
name: {
|
|
38
|
+
maxLength: number;
|
|
39
|
+
minLength: number;
|
|
40
|
+
pattern: RegExp;
|
|
41
|
+
};
|
|
42
|
+
page: {
|
|
43
|
+
greaterThanOrEqual: number;
|
|
44
|
+
};
|
|
45
|
+
pageSize: {
|
|
46
|
+
greaterThanOrEqual: number;
|
|
47
|
+
lessThanOrEqual: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const ListNodeTypesRequest: {
|
|
51
|
+
page: {
|
|
52
|
+
greaterThanOrEqual: number;
|
|
53
|
+
};
|
|
54
|
+
pageSize: {
|
|
55
|
+
greaterThanOrEqual: number;
|
|
56
|
+
lessThanOrEqual: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare const ListSnapshotsRequest: {
|
|
60
|
+
name: {
|
|
61
|
+
maxLength: number;
|
|
62
|
+
minLength: number;
|
|
63
|
+
pattern: RegExp;
|
|
64
|
+
};
|
|
65
|
+
page: {
|
|
66
|
+
greaterThanOrEqual: number;
|
|
67
|
+
};
|
|
68
|
+
pageSize: {
|
|
69
|
+
greaterThanOrEqual: number;
|
|
70
|
+
lessThanOrEqual: number;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export declare const ListUsersRequest: {
|
|
74
|
+
name: {
|
|
75
|
+
maxLength: number;
|
|
76
|
+
minLength: number;
|
|
77
|
+
pattern: RegExp;
|
|
78
|
+
};
|
|
79
|
+
page: {
|
|
80
|
+
greaterThanOrEqual: number;
|
|
81
|
+
};
|
|
82
|
+
pageSize: {
|
|
83
|
+
greaterThanOrEqual: number;
|
|
84
|
+
lessThanOrEqual: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export declare const ListVersionsRequest: {
|
|
88
|
+
page: {
|
|
89
|
+
greaterThanOrEqual: number;
|
|
90
|
+
};
|
|
91
|
+
pageSize: {
|
|
92
|
+
greaterThanOrEqual: number;
|
|
93
|
+
lessThanOrEqual: number;
|
|
94
|
+
};
|
|
95
|
+
version: {
|
|
96
|
+
pattern: RegExp;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export declare const RestoreSnapshotRequest: {
|
|
100
|
+
instanceName: {
|
|
101
|
+
maxLength: number;
|
|
102
|
+
minLength: number;
|
|
103
|
+
pattern: RegExp;
|
|
104
|
+
};
|
|
105
|
+
nodeNumber: {
|
|
106
|
+
greaterThanOrEqual: number;
|
|
107
|
+
lessThanOrEqual: number;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export declare const UpdateInstanceRequest: {
|
|
111
|
+
name: {
|
|
112
|
+
maxLength: number;
|
|
113
|
+
minLength: number;
|
|
114
|
+
pattern: RegExp;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
export declare const UpdateSnapshotRequest: {
|
|
118
|
+
name: {
|
|
119
|
+
maxLength: number;
|
|
120
|
+
minLength: number;
|
|
121
|
+
pattern: RegExp;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export declare const UpdateUserRequest: {
|
|
125
|
+
name: {
|
|
126
|
+
maxLength: number;
|
|
127
|
+
minLength: number;
|
|
128
|
+
pattern: RegExp;
|
|
129
|
+
};
|
|
130
|
+
password: {
|
|
131
|
+
maxLength: number;
|
|
132
|
+
minLength: number;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
const CreateInstanceRequest = {
|
|
2
|
+
name: {
|
|
3
|
+
maxLength: 255,
|
|
4
|
+
minLength: 1,
|
|
5
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
6
|
+
},
|
|
7
|
+
nodeNumber: {
|
|
8
|
+
greaterThanOrEqual: 1,
|
|
9
|
+
lessThanOrEqual: 3
|
|
10
|
+
},
|
|
11
|
+
nodeType: {
|
|
12
|
+
maxLength: 128,
|
|
13
|
+
minLength: 1,
|
|
14
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
15
|
+
},
|
|
16
|
+
password: {
|
|
17
|
+
maxLength: 128,
|
|
18
|
+
minLength: 8
|
|
19
|
+
},
|
|
20
|
+
userName: {
|
|
21
|
+
maxLength: 63,
|
|
22
|
+
minLength: 1,
|
|
23
|
+
pattern: /^[a-zA-Z0-9_\-]*$/
|
|
24
|
+
},
|
|
25
|
+
version: {
|
|
26
|
+
pattern: /^[0-9]+\.[0-9]+\.[0-9]+$/
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const CreateSnapshotRequest = {
|
|
30
|
+
name: {
|
|
31
|
+
maxLength: 255,
|
|
32
|
+
minLength: 1,
|
|
33
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const ListInstancesRequest = {
|
|
37
|
+
name: {
|
|
38
|
+
maxLength: 255,
|
|
39
|
+
minLength: 1,
|
|
40
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
41
|
+
},
|
|
42
|
+
page: {
|
|
43
|
+
greaterThanOrEqual: 1
|
|
44
|
+
},
|
|
45
|
+
pageSize: {
|
|
46
|
+
greaterThanOrEqual: 1,
|
|
47
|
+
lessThanOrEqual: 100
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const ListNodeTypesRequest = {
|
|
51
|
+
page: {
|
|
52
|
+
greaterThanOrEqual: 1
|
|
53
|
+
},
|
|
54
|
+
pageSize: {
|
|
55
|
+
greaterThanOrEqual: 1,
|
|
56
|
+
lessThanOrEqual: 100
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
const ListSnapshotsRequest = {
|
|
60
|
+
name: {
|
|
61
|
+
maxLength: 255,
|
|
62
|
+
minLength: 1,
|
|
63
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
64
|
+
},
|
|
65
|
+
page: {
|
|
66
|
+
greaterThanOrEqual: 1
|
|
67
|
+
},
|
|
68
|
+
pageSize: {
|
|
69
|
+
greaterThanOrEqual: 1,
|
|
70
|
+
lessThanOrEqual: 100
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
const ListUsersRequest = {
|
|
74
|
+
name: {
|
|
75
|
+
maxLength: 63,
|
|
76
|
+
minLength: 1,
|
|
77
|
+
pattern: /^[a-zA-Z0-9_\-]*$/
|
|
78
|
+
},
|
|
79
|
+
page: {
|
|
80
|
+
greaterThanOrEqual: 1
|
|
81
|
+
},
|
|
82
|
+
pageSize: {
|
|
83
|
+
greaterThanOrEqual: 1,
|
|
84
|
+
lessThanOrEqual: 100
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
const ListVersionsRequest = {
|
|
88
|
+
page: {
|
|
89
|
+
greaterThanOrEqual: 1
|
|
90
|
+
},
|
|
91
|
+
pageSize: {
|
|
92
|
+
greaterThanOrEqual: 1,
|
|
93
|
+
lessThanOrEqual: 100
|
|
94
|
+
},
|
|
95
|
+
version: {
|
|
96
|
+
pattern: /^[0-9]+\.[0-9]+\.[0-9]+$/
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
const RestoreSnapshotRequest = {
|
|
100
|
+
instanceName: {
|
|
101
|
+
maxLength: 255,
|
|
102
|
+
minLength: 1,
|
|
103
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
104
|
+
},
|
|
105
|
+
nodeNumber: {
|
|
106
|
+
greaterThanOrEqual: 1,
|
|
107
|
+
lessThanOrEqual: 3
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
const UpdateInstanceRequest = {
|
|
111
|
+
name: {
|
|
112
|
+
maxLength: 255,
|
|
113
|
+
minLength: 1,
|
|
114
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
const UpdateSnapshotRequest = {
|
|
118
|
+
name: {
|
|
119
|
+
maxLength: 255,
|
|
120
|
+
minLength: 1,
|
|
121
|
+
pattern: /^[A-Za-z0-9\-_]+$/
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
const UpdateUserRequest = {
|
|
125
|
+
name: {
|
|
126
|
+
maxLength: 63,
|
|
127
|
+
minLength: 1,
|
|
128
|
+
pattern: /^[a-zA-Z0-9_\-]*$/
|
|
129
|
+
},
|
|
130
|
+
password: {
|
|
131
|
+
maxLength: 128,
|
|
132
|
+
minLength: 8
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
export {
|
|
136
|
+
CreateInstanceRequest,
|
|
137
|
+
CreateSnapshotRequest,
|
|
138
|
+
ListInstancesRequest,
|
|
139
|
+
ListNodeTypesRequest,
|
|
140
|
+
ListSnapshotsRequest,
|
|
141
|
+
ListUsersRequest,
|
|
142
|
+
ListVersionsRequest,
|
|
143
|
+
RestoreSnapshotRequest,
|
|
144
|
+
UpdateInstanceRequest,
|
|
145
|
+
UpdateSnapshotRequest,
|
|
146
|
+
UpdateUserRequest
|
|
147
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { API } from './api.gen';
|
|
2
2
|
export * from './content.gen';
|
|
3
|
-
export type { CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailRequestAddress, CreateEmailRequestAttachment, CreateEmailRequestHeader, CreateEmailResponse, CreateWebhookRequest, DeleteWebhookRequest, Domain, DomainLastStatus, DomainLastStatusDkimRecord, DomainLastStatusDmarcRecord, DomainLastStatusRecordStatus, DomainLastStatusSpfRecord, DomainRecords, DomainRecordsDMARC, DomainReputation, DomainReputationStatus, DomainStatistics, DomainStatus, Email, EmailFlag, EmailRcptType, EmailStatus, EmailTry, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsRequestOrderBy, ListEmailsResponse, ListWebhookEventsRequest, ListWebhookEventsRequestOrderBy, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksRequestOrderBy, ListWebhooksResponse, ProjectSettings, ProjectSettingsPeriodicReport, ProjectSettingsPeriodicReportFrequency, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateProjectSettingsRequest, UpdateProjectSettingsRequestUpdatePeriodicReport, UpdateWebhookRequest, Webhook, WebhookEvent, WebhookEventStatus, WebhookEventType, } from './types.gen';
|
|
3
|
+
export type { CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailRequestAddress, CreateEmailRequestAttachment, CreateEmailRequestHeader, CreateEmailResponse, CreateWebhookRequest, DeleteWebhookRequest, Domain, DomainLastStatus, DomainLastStatusAutoconfigState, DomainLastStatusAutoconfigStateReason, DomainLastStatusDkimRecord, DomainLastStatusDmarcRecord, DomainLastStatusRecordStatus, DomainLastStatusSpfRecord, DomainRecords, DomainRecordsDMARC, DomainReputation, DomainReputationStatus, DomainStatistics, DomainStatus, Email, EmailFlag, EmailRcptType, EmailStatus, EmailTry, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsRequestOrderBy, ListEmailsResponse, ListWebhookEventsRequest, ListWebhookEventsRequestOrderBy, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksRequestOrderBy, ListWebhooksResponse, ProjectSettings, ProjectSettingsPeriodicReport, ProjectSettingsPeriodicReportFrequency, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateProjectSettingsRequest, UpdateProjectSettingsRequestUpdatePeriodicReport, UpdateWebhookRequest, Webhook, WebhookEvent, WebhookEventStatus, WebhookEventType, } from './types.gen';
|
|
4
4
|
export * as ValidationRules from './validation-rules.gen';
|
|
@@ -142,6 +142,18 @@ const unmarshalCreateEmailResponse = (data) => {
|
|
|
142
142
|
emails: marshalling.unmarshalArrayOfObject(data.emails, unmarshalEmail)
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
|
+
const unmarshalDomainLastStatusAutoconfigState = (data) => {
|
|
146
|
+
if (!json.isJSONObject(data)) {
|
|
147
|
+
throw new TypeError(
|
|
148
|
+
`Unmarshalling the type 'DomainLastStatusAutoconfigState' failed as data isn't a dictionary.`
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
return {
|
|
152
|
+
autoconfigurable: data.autoconfigurable,
|
|
153
|
+
enabled: data.enabled,
|
|
154
|
+
reason: data.reason ? data.reason : void 0
|
|
155
|
+
};
|
|
156
|
+
};
|
|
145
157
|
const unmarshalDomainLastStatusDkimRecord = (data) => {
|
|
146
158
|
if (!json.isJSONObject(data)) {
|
|
147
159
|
throw new TypeError(
|
|
@@ -185,6 +197,7 @@ const unmarshalDomainLastStatus = (data) => {
|
|
|
185
197
|
);
|
|
186
198
|
}
|
|
187
199
|
return {
|
|
200
|
+
autoconfigState: data.autoconfig_state ? unmarshalDomainLastStatusAutoconfigState(data.autoconfig_state) : void 0,
|
|
188
201
|
dkimRecord: data.dkim_record ? unmarshalDomainLastStatusDkimRecord(data.dkim_record) : void 0,
|
|
189
202
|
dmarcRecord: data.dmarc_record ? unmarshalDomainLastStatusDmarcRecord(data.dmarc_record) : void 0,
|
|
190
203
|
domainId: data.domain_id,
|
|
@@ -140,6 +140,18 @@ const unmarshalCreateEmailResponse = (data) => {
|
|
|
140
140
|
emails: unmarshalArrayOfObject(data.emails, unmarshalEmail)
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
|
+
const unmarshalDomainLastStatusAutoconfigState = (data) => {
|
|
144
|
+
if (!isJSONObject(data)) {
|
|
145
|
+
throw new TypeError(
|
|
146
|
+
`Unmarshalling the type 'DomainLastStatusAutoconfigState' failed as data isn't a dictionary.`
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
return {
|
|
150
|
+
autoconfigurable: data.autoconfigurable,
|
|
151
|
+
enabled: data.enabled,
|
|
152
|
+
reason: data.reason ? data.reason : void 0
|
|
153
|
+
};
|
|
154
|
+
};
|
|
143
155
|
const unmarshalDomainLastStatusDkimRecord = (data) => {
|
|
144
156
|
if (!isJSONObject(data)) {
|
|
145
157
|
throw new TypeError(
|
|
@@ -183,6 +195,7 @@ const unmarshalDomainLastStatus = (data) => {
|
|
|
183
195
|
);
|
|
184
196
|
}
|
|
185
197
|
return {
|
|
198
|
+
autoconfigState: data.autoconfig_state ? unmarshalDomainLastStatusAutoconfigState(data.autoconfig_state) : void 0,
|
|
186
199
|
dkimRecord: data.dkim_record ? unmarshalDomainLastStatusDkimRecord(data.dkim_record) : void 0,
|
|
187
200
|
dmarcRecord: data.dmarc_record ? unmarshalDomainLastStatusDmarcRecord(data.dmarc_record) : void 0,
|
|
188
201
|
domainId: data.domain_id,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Region } from '../../../bridge';
|
|
2
|
+
export type DomainLastStatusAutoconfigStateReason = 'unknown_reason' | 'permission_denied' | 'domain_not_found';
|
|
2
3
|
export type DomainLastStatusRecordStatus = 'unknown_record_status' | 'valid' | 'invalid' | 'not_found';
|
|
3
4
|
export type DomainReputationStatus = 'unknown_status' | 'excellent' | 'good' | 'average' | 'bad';
|
|
4
5
|
export type DomainStatus = 'unknown' | 'checked' | 'unchecked' | 'invalid' | 'locked' | 'revoked' | 'pending' | 'autoconfiguring';
|
|
@@ -114,6 +115,14 @@ export interface Email {
|
|
|
114
115
|
*/
|
|
115
116
|
flags: EmailFlag[];
|
|
116
117
|
}
|
|
118
|
+
export interface DomainLastStatusAutoconfigState {
|
|
119
|
+
/** Enable or disable the auto-configuration of domain DNS records. */
|
|
120
|
+
enabled: boolean;
|
|
121
|
+
/** Whether the domain can be auto-configured or not. */
|
|
122
|
+
autoconfigurable: boolean;
|
|
123
|
+
/** The reason that the domain cannot be auto-configurable. */
|
|
124
|
+
reason?: DomainLastStatusAutoconfigStateReason;
|
|
125
|
+
}
|
|
117
126
|
export interface DomainLastStatusDkimRecord {
|
|
118
127
|
/** Status of the DKIM record's configuration. */
|
|
119
128
|
status: DomainLastStatusRecordStatus;
|
|
@@ -240,9 +249,9 @@ export interface ProjectSettingsPeriodicReport {
|
|
|
240
249
|
export interface UpdateProjectSettingsRequestUpdatePeriodicReport {
|
|
241
250
|
/** (Optional) Enable or disable periodic report notifications. */
|
|
242
251
|
enabled?: boolean;
|
|
243
|
-
/** (Optional)
|
|
252
|
+
/** (Optional) Frequency at which you receive periodic report notifications. */
|
|
244
253
|
frequency?: ProjectSettingsPeriodicReportFrequency;
|
|
245
|
-
/** (Optional)
|
|
254
|
+
/** (Optional) Hour at which you receive periodic report notifications. */
|
|
246
255
|
sendingHour?: number;
|
|
247
256
|
/**
|
|
248
257
|
* (Optional) On which day you receive periodic report notifications (1-7
|
|
@@ -353,6 +362,8 @@ export interface DomainLastStatus {
|
|
|
353
362
|
dkimRecord?: DomainLastStatusDkimRecord;
|
|
354
363
|
/** The DMARC record verification data. */
|
|
355
364
|
dmarcRecord?: DomainLastStatusDmarcRecord;
|
|
365
|
+
/** The verification state of domain auto-configuration. */
|
|
366
|
+
autoconfigState?: DomainLastStatusAutoconfigState;
|
|
356
367
|
}
|
|
357
368
|
export type GetDomainLastStatusRequest = {
|
|
358
369
|
/**
|
|
@@ -8,7 +8,7 @@ export type HostingStatus = 'unknown_status' | 'delivering' | 'ready' | 'deletin
|
|
|
8
8
|
export type ListHostingsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
9
9
|
export type ListOffersRequestOrderBy = 'price_asc';
|
|
10
10
|
export type NameserverStatus = 'unknown_status' | 'valid' | 'invalid';
|
|
11
|
-
export type OfferQuotaWarning = 'unknown_quota_warning' | 'email_count_exceeded' | 'database_count_exceeded' | 'disk_usage_exceeded';
|
|
11
|
+
export type OfferQuotaWarning = 'unknown_quota_warning' | 'email_count_exceeded' | 'database_count_exceeded' | 'disk_usage_exceeded' | 'addon_domain_count_exceeded';
|
|
12
12
|
export interface HostingCpanelUrls {
|
|
13
13
|
dashboard: string;
|
|
14
14
|
webmail: string;
|
package/dist/index.cjs
CHANGED
|
@@ -39,18 +39,19 @@ const index_gen$8 = require("./api/lb/index.gen.cjs");
|
|
|
39
39
|
const index_gen$9 = require("./api/llm_inference/index.gen.cjs");
|
|
40
40
|
const index_gen$u = require("./api/marketplace/index.gen.cjs");
|
|
41
41
|
const index_gen$a = require("./api/mnq/index.gen.cjs");
|
|
42
|
-
const index_gen$v = require("./api/
|
|
42
|
+
const index_gen$v = require("./api/mongodb/index.gen.cjs");
|
|
43
|
+
const index_gen$w = require("./api/qaas/index.gen.cjs");
|
|
43
44
|
const index_gen$b = require("./api/rdb/index.gen.cjs");
|
|
44
|
-
const index_gen$
|
|
45
|
-
const index_gen$
|
|
46
|
-
const index_gen$
|
|
45
|
+
const index_gen$x = require("./api/redis/index.gen.cjs");
|
|
46
|
+
const index_gen$y = require("./api/registry/index.gen.cjs");
|
|
47
|
+
const index_gen$z = require("./api/secret/index.gen.cjs");
|
|
47
48
|
const index_gen$c = require("./api/serverless_sqldb/index.gen.cjs");
|
|
48
|
-
const index_gen$
|
|
49
|
+
const index_gen$A = require("./api/std/index.gen.cjs");
|
|
49
50
|
const index_gen$d = require("./api/tem/index.gen.cjs");
|
|
50
|
-
const index_gen$
|
|
51
|
+
const index_gen$B = require("./api/test/index.gen.cjs");
|
|
51
52
|
const index_gen$e = require("./api/vpc/index.gen.cjs");
|
|
52
53
|
const index_gen$f = require("./api/vpcgw/index.gen.cjs");
|
|
53
|
-
const index_gen$
|
|
54
|
+
const index_gen$C = require("./api/webhosting/index.gen.cjs");
|
|
54
55
|
exports.enableConsoleLogger = index.enableConsoleLogger;
|
|
55
56
|
exports.setLogger = index.setLogger;
|
|
56
57
|
exports.createAdvancedClient = client.createAdvancedClient;
|
|
@@ -125,20 +126,21 @@ exports.LlmInference = index_gen$9;
|
|
|
125
126
|
exports.Marketplace = index_gen$u;
|
|
126
127
|
exports.MNQ = index_gen$a;
|
|
127
128
|
exports.Mnq = index_gen$a;
|
|
128
|
-
exports.
|
|
129
|
+
exports.Mongodb = index_gen$v;
|
|
130
|
+
exports.Qaas = index_gen$w;
|
|
129
131
|
exports.RDB = index_gen$b;
|
|
130
132
|
exports.Rdb = index_gen$b;
|
|
131
|
-
exports.Redis = index_gen$
|
|
132
|
-
exports.Registry = index_gen$
|
|
133
|
-
exports.Secret = index_gen$
|
|
133
|
+
exports.Redis = index_gen$x;
|
|
134
|
+
exports.Registry = index_gen$y;
|
|
135
|
+
exports.Secret = index_gen$z;
|
|
134
136
|
exports.ServerlessSQLDB = index_gen$c;
|
|
135
137
|
exports.ServerlessSqldb = index_gen$c;
|
|
136
|
-
exports.Std = index_gen$
|
|
138
|
+
exports.Std = index_gen$A;
|
|
137
139
|
exports.Tem = index_gen$d;
|
|
138
140
|
exports.TransactionalEmail = index_gen$d;
|
|
139
|
-
exports.Test = index_gen$
|
|
141
|
+
exports.Test = index_gen$B;
|
|
140
142
|
exports.VPC = index_gen$e;
|
|
141
143
|
exports.Vpc = index_gen$e;
|
|
142
144
|
exports.VPCGW = index_gen$f;
|
|
143
145
|
exports.Vpcgw = index_gen$f;
|
|
144
|
-
exports.Webhosting = index_gen$
|
|
146
|
+
exports.Webhosting = index_gen$C;
|
package/dist/index.js
CHANGED
|
@@ -37,18 +37,19 @@ import * as index_gen$8 from "./api/lb/index.gen.js";
|
|
|
37
37
|
import * as index_gen$9 from "./api/llm_inference/index.gen.js";
|
|
38
38
|
import * as index_gen$u from "./api/marketplace/index.gen.js";
|
|
39
39
|
import * as index_gen$a from "./api/mnq/index.gen.js";
|
|
40
|
-
import * as index_gen$v from "./api/
|
|
40
|
+
import * as index_gen$v from "./api/mongodb/index.gen.js";
|
|
41
|
+
import * as index_gen$w from "./api/qaas/index.gen.js";
|
|
41
42
|
import * as index_gen$b from "./api/rdb/index.gen.js";
|
|
42
|
-
import * as index_gen$
|
|
43
|
-
import * as index_gen$
|
|
44
|
-
import * as index_gen$
|
|
43
|
+
import * as index_gen$x from "./api/redis/index.gen.js";
|
|
44
|
+
import * as index_gen$y from "./api/registry/index.gen.js";
|
|
45
|
+
import * as index_gen$z from "./api/secret/index.gen.js";
|
|
45
46
|
import * as index_gen$c from "./api/serverless_sqldb/index.gen.js";
|
|
46
|
-
import * as index_gen$
|
|
47
|
+
import * as index_gen$A from "./api/std/index.gen.js";
|
|
47
48
|
import * as index_gen$d from "./api/tem/index.gen.js";
|
|
48
|
-
import * as index_gen$
|
|
49
|
+
import * as index_gen$B from "./api/test/index.gen.js";
|
|
49
50
|
import * as index_gen$e from "./api/vpc/index.gen.js";
|
|
50
51
|
import * as index_gen$f from "./api/vpcgw/index.gen.js";
|
|
51
|
-
import * as index_gen$
|
|
52
|
+
import * as index_gen$C from "./api/webhosting/index.gen.js";
|
|
52
53
|
export {
|
|
53
54
|
API,
|
|
54
55
|
index_gen$g as Account,
|
|
@@ -90,23 +91,24 @@ export {
|
|
|
90
91
|
index_gen$a as MNQ,
|
|
91
92
|
index_gen$u as Marketplace,
|
|
92
93
|
index_gen$a as Mnq,
|
|
93
|
-
index_gen$v as
|
|
94
|
+
index_gen$v as Mongodb,
|
|
95
|
+
index_gen$w as Qaas,
|
|
94
96
|
index_gen$b as RDB,
|
|
95
97
|
index_gen$b as Rdb,
|
|
96
|
-
index_gen$
|
|
97
|
-
index_gen$
|
|
98
|
-
index_gen$
|
|
98
|
+
index_gen$x as Redis,
|
|
99
|
+
index_gen$y as Registry,
|
|
100
|
+
index_gen$z as Secret,
|
|
99
101
|
index_gen$c as ServerlessSQLDB,
|
|
100
102
|
index_gen$c as ServerlessSqldb,
|
|
101
|
-
index_gen$
|
|
103
|
+
index_gen$A as Std,
|
|
102
104
|
index_gen$d as Tem,
|
|
103
|
-
index_gen$
|
|
105
|
+
index_gen$B as Test,
|
|
104
106
|
index_gen$d as TransactionalEmail,
|
|
105
107
|
index_gen$e as VPC,
|
|
106
108
|
index_gen$f as VPCGW,
|
|
107
109
|
index_gen$e as Vpc,
|
|
108
110
|
index_gen$f as Vpcgw,
|
|
109
|
-
index_gen$
|
|
111
|
+
index_gen$C as Webhosting,
|
|
110
112
|
addAsyncHeaderInterceptor,
|
|
111
113
|
authenticateWithSessionToken,
|
|
112
114
|
createAdvancedClient,
|
package/dist/scw/constants.cjs
CHANGED
package/dist/scw/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "v2.
|
|
2
|
-
export declare const userAgent = "scaleway-sdk-js/v2.
|
|
1
|
+
export declare const version = "v2.50.0";
|
|
2
|
+
export declare const userAgent = "scaleway-sdk-js/v2.50.0";
|
package/dist/scw/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.51.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"bundledDependencies": [
|
|
40
40
|
"@scaleway/random-name"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "f030f54904c5ecd2bba58e025318bcc41c910c3b"
|
|
43
43
|
}
|