@scaleway/sdk-tem 2.3.1 → 2.3.2
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/_virtual/_rolldown/runtime.js +2 -0
- package/dist/v1alpha1/api.gen.js +5 -3
- package/dist/v1alpha1/content.gen.js +4 -2
- package/dist/v1alpha1/index.gen.js +3 -1
- package/dist/v1alpha1/marshalling.gen.js +28 -26
- package/dist/v1alpha1/types.gen.js +0 -0
- package/dist/v1alpha1/validation-rules.gen.js +18 -16
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __exportAll = (all, no_symbols) => {
|
|
3
4
|
let target = {};
|
|
@@ -8,4 +9,5 @@ var __exportAll = (all, no_symbols) => {
|
|
|
8
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
9
10
|
return target;
|
|
10
11
|
};
|
|
12
|
+
//#endregion
|
|
11
13
|
export { __exportAll };
|
package/dist/v1alpha1/api.gen.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { DOMAIN_TRANSIENT_STATUSES, EMAIL_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
2
|
import { marshalBulkCreateBlocklistsRequest, marshalCreateDomainRequest, marshalCreateEmailRequest, marshalCreateWebhookRequest, marshalUpdateDomainRequest, marshalUpdateOfferSubscriptionRequest, marshalUpdateProjectSettingsRequest, marshalUpdateWebhookRequest, unmarshalBulkCreateBlocklistsResponse, unmarshalCreateEmailResponse, unmarshalDomain, unmarshalDomainLastStatus, unmarshalEmail, unmarshalListBlocklistsResponse, unmarshalListDomainsResponse, unmarshalListEmailsResponse, unmarshalListOfferSubscriptionsResponse, unmarshalListOffersResponse, unmarshalListPoolsResponse, unmarshalListWebhookEventsResponse, unmarshalListWebhooksResponse, unmarshalOfferSubscription, unmarshalProjectConsumption, unmarshalProjectSettings, unmarshalStatistics, unmarshalWebhook } from "./marshalling.gen.js";
|
|
3
|
-
import { API, enrichForPagination, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
3
|
+
import { API as API$1, enrichForPagination, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
4
|
+
//#region src/v1alpha1/api.gen.ts
|
|
4
5
|
var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
5
6
|
/**
|
|
6
7
|
* Transactional Email API.
|
|
7
8
|
|
|
8
9
|
This API allows you to manage your Transactional Email services.
|
|
9
10
|
*/
|
|
10
|
-
var API
|
|
11
|
+
var API = class extends API$1 {
|
|
11
12
|
/**
|
|
12
13
|
* Locality of this API.
|
|
13
14
|
* type ∈ {'zone','region','global','unspecified'}
|
|
@@ -345,4 +346,5 @@ var API$1 = class extends API {
|
|
|
345
346
|
urlParams: urlParams(["project_id", request.projectId ?? this.client.settings.defaultProjectId])
|
|
346
347
|
}, unmarshalProjectConsumption);
|
|
347
348
|
};
|
|
348
|
-
|
|
349
|
+
//#endregion
|
|
350
|
+
export { API };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
//#region src/v1alpha1/content.gen.ts
|
|
1
2
|
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
2
|
-
|
|
3
|
+
var DOMAIN_TRANSIENT_STATUSES = ["pending", "autoconfiguring"];
|
|
3
4
|
/** Lists transient statutes of the enum {@link EmailStatus}. */
|
|
4
|
-
|
|
5
|
+
var EMAIL_TRANSIENT_STATUSES = ["new", "sending"];
|
|
6
|
+
//#endregion
|
|
5
7
|
export { DOMAIN_TRANSIENT_STATUSES, EMAIL_TRANSIENT_STATUSES };
|
|
@@ -3,6 +3,7 @@ import { DOMAIN_TRANSIENT_STATUSES, EMAIL_TRANSIENT_STATUSES } from "./content.g
|
|
|
3
3
|
import { marshalBulkCreateBlocklistsRequest, marshalCreateDomainRequest, marshalCreateEmailRequest, marshalCreateWebhookRequest, marshalUpdateDomainRequest, marshalUpdateOfferSubscriptionRequest, marshalUpdateProjectSettingsRequest, marshalUpdateWebhookRequest, unmarshalBulkCreateBlocklistsResponse, unmarshalCreateEmailResponse, unmarshalDomain, unmarshalDomainLastStatus, unmarshalEmail, unmarshalListBlocklistsResponse, unmarshalListDomainsResponse, unmarshalListEmailsResponse, unmarshalListOfferSubscriptionsResponse, unmarshalListOffersResponse, unmarshalListPoolsResponse, unmarshalListWebhookEventsResponse, unmarshalListWebhooksResponse, unmarshalOfferSubscription, unmarshalProjectConsumption, unmarshalProjectSettings, unmarshalStatistics, unmarshalWebhook } from "./marshalling.gen.js";
|
|
4
4
|
import { API } from "./api.gen.js";
|
|
5
5
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
//#region src/v1alpha1/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
API: () => API,
|
|
8
9
|
DOMAIN_TRANSIENT_STATUSES: () => DOMAIN_TRANSIENT_STATUSES,
|
|
@@ -35,4 +36,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
35
36
|
unmarshalStatistics: () => unmarshalStatistics,
|
|
36
37
|
unmarshalWebhook: () => unmarshalWebhook
|
|
37
38
|
});
|
|
38
|
-
|
|
39
|
+
//#endregion
|
|
40
|
+
export { API, DOMAIN_TRANSIENT_STATUSES, EMAIL_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalBulkCreateBlocklistsRequest, marshalCreateDomainRequest, marshalCreateEmailRequest, marshalCreateWebhookRequest, marshalUpdateDomainRequest, marshalUpdateOfferSubscriptionRequest, marshalUpdateProjectSettingsRequest, marshalUpdateWebhookRequest, unmarshalBulkCreateBlocklistsResponse, unmarshalCreateEmailResponse, unmarshalDomain, unmarshalDomainLastStatus, unmarshalEmail, unmarshalListBlocklistsResponse, unmarshalListDomainsResponse, unmarshalListEmailsResponse, unmarshalListOfferSubscriptionsResponse, unmarshalListOffersResponse, unmarshalListPoolsResponse, unmarshalListWebhookEventsResponse, unmarshalListWebhooksResponse, unmarshalOfferSubscription, unmarshalProjectConsumption, unmarshalProjectSettings, unmarshalStatistics, unmarshalWebhook };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isJSONObject, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
|
+
//#region src/v1alpha1/marshalling.gen.ts
|
|
2
3
|
var unmarshalEmailTry = (data) => {
|
|
3
4
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'EmailTry' failed as data isn't a dictionary.`);
|
|
4
5
|
return {
|
|
@@ -8,7 +9,7 @@ var unmarshalEmailTry = (data) => {
|
|
|
8
9
|
triedAt: unmarshalDate(data.tried_at)
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
var unmarshalEmail = (data) => {
|
|
12
13
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Email' failed as data isn't a dictionary.`);
|
|
13
14
|
return {
|
|
14
15
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -84,7 +85,7 @@ var unmarshalDomainStatistics = (data) => {
|
|
|
84
85
|
totalCount: data.total_count
|
|
85
86
|
};
|
|
86
87
|
};
|
|
87
|
-
|
|
88
|
+
var unmarshalDomain = (data) => {
|
|
88
89
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Domain' failed as data isn't a dictionary.`);
|
|
89
90
|
return {
|
|
90
91
|
autoconfig: data.autoconfig,
|
|
@@ -106,7 +107,7 @@ const unmarshalDomain = (data) => {
|
|
|
106
107
|
status: data.status
|
|
107
108
|
};
|
|
108
109
|
};
|
|
109
|
-
|
|
110
|
+
var unmarshalOfferSubscription = (data) => {
|
|
110
111
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'OfferSubscription' failed as data isn't a dictionary.`);
|
|
111
112
|
return {
|
|
112
113
|
cancellationAvailableAt: unmarshalDate(data.cancellation_available_at),
|
|
@@ -122,7 +123,7 @@ const unmarshalOfferSubscription = (data) => {
|
|
|
122
123
|
subscribedAt: unmarshalDate(data.subscribed_at)
|
|
123
124
|
};
|
|
124
125
|
};
|
|
125
|
-
|
|
126
|
+
var unmarshalWebhook = (data) => {
|
|
126
127
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Webhook' failed as data isn't a dictionary.`);
|
|
127
128
|
return {
|
|
128
129
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -150,11 +151,11 @@ var unmarshalBlocklist = (data) => {
|
|
|
150
151
|
updatedAt: unmarshalDate(data.updated_at)
|
|
151
152
|
};
|
|
152
153
|
};
|
|
153
|
-
|
|
154
|
+
var unmarshalBulkCreateBlocklistsResponse = (data) => {
|
|
154
155
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'BulkCreateBlocklistsResponse' failed as data isn't a dictionary.`);
|
|
155
156
|
return { blocklists: unmarshalArrayOfObject(data.blocklists, unmarshalBlocklist) };
|
|
156
157
|
};
|
|
157
|
-
|
|
158
|
+
var unmarshalCreateEmailResponse = (data) => {
|
|
158
159
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CreateEmailResponse' failed as data isn't a dictionary.`);
|
|
159
160
|
return { emails: unmarshalArrayOfObject(data.emails, unmarshalEmail) };
|
|
160
161
|
};
|
|
@@ -198,7 +199,7 @@ var unmarshalDomainLastStatusSpfRecord = (data) => {
|
|
|
198
199
|
status: data.status
|
|
199
200
|
};
|
|
200
201
|
};
|
|
201
|
-
|
|
202
|
+
var unmarshalDomainLastStatus = (data) => {
|
|
202
203
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainLastStatus' failed as data isn't a dictionary.`);
|
|
203
204
|
return {
|
|
204
205
|
autoconfigState: data.autoconfig_state ? unmarshalDomainLastStatusAutoconfigState(data.autoconfig_state) : void 0,
|
|
@@ -210,28 +211,28 @@ const unmarshalDomainLastStatus = (data) => {
|
|
|
210
211
|
spfRecord: data.spf_record ? unmarshalDomainLastStatusSpfRecord(data.spf_record) : void 0
|
|
211
212
|
};
|
|
212
213
|
};
|
|
213
|
-
|
|
214
|
+
var unmarshalListBlocklistsResponse = (data) => {
|
|
214
215
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListBlocklistsResponse' failed as data isn't a dictionary.`);
|
|
215
216
|
return {
|
|
216
217
|
blocklists: unmarshalArrayOfObject(data.blocklists, unmarshalBlocklist),
|
|
217
218
|
totalCount: data.total_count
|
|
218
219
|
};
|
|
219
220
|
};
|
|
220
|
-
|
|
221
|
+
var unmarshalListDomainsResponse = (data) => {
|
|
221
222
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainsResponse' failed as data isn't a dictionary.`);
|
|
222
223
|
return {
|
|
223
224
|
domains: unmarshalArrayOfObject(data.domains, unmarshalDomain),
|
|
224
225
|
totalCount: data.total_count
|
|
225
226
|
};
|
|
226
227
|
};
|
|
227
|
-
|
|
228
|
+
var unmarshalListEmailsResponse = (data) => {
|
|
228
229
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListEmailsResponse' failed as data isn't a dictionary.`);
|
|
229
230
|
return {
|
|
230
231
|
emails: unmarshalArrayOfObject(data.emails, unmarshalEmail),
|
|
231
232
|
totalCount: data.total_count
|
|
232
233
|
};
|
|
233
234
|
};
|
|
234
|
-
|
|
235
|
+
var unmarshalListOfferSubscriptionsResponse = (data) => {
|
|
235
236
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListOfferSubscriptionsResponse' failed as data isn't a dictionary.`);
|
|
236
237
|
return {
|
|
237
238
|
offerSubscriptions: unmarshalArrayOfObject(data.offer_subscriptions, unmarshalOfferSubscription),
|
|
@@ -252,7 +253,7 @@ var unmarshalOffer = (data) => {
|
|
|
252
253
|
sla: data.sla
|
|
253
254
|
};
|
|
254
255
|
};
|
|
255
|
-
|
|
256
|
+
var unmarshalListOffersResponse = (data) => {
|
|
256
257
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListOffersResponse' failed as data isn't a dictionary.`);
|
|
257
258
|
return {
|
|
258
259
|
offers: unmarshalArrayOfObject(data.offers, unmarshalOffer),
|
|
@@ -270,7 +271,7 @@ var unmarshalPool = (data) => {
|
|
|
270
271
|
zone: data.zone
|
|
271
272
|
};
|
|
272
273
|
};
|
|
273
|
-
|
|
274
|
+
var unmarshalListPoolsResponse = (data) => {
|
|
274
275
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPoolsResponse' failed as data isn't a dictionary.`);
|
|
275
276
|
return {
|
|
276
277
|
pools: unmarshalArrayOfObject(data.pools, unmarshalPool),
|
|
@@ -293,21 +294,21 @@ var unmarshalWebhookEvent = (data) => {
|
|
|
293
294
|
webhookId: data.webhook_id
|
|
294
295
|
};
|
|
295
296
|
};
|
|
296
|
-
|
|
297
|
+
var unmarshalListWebhookEventsResponse = (data) => {
|
|
297
298
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListWebhookEventsResponse' failed as data isn't a dictionary.`);
|
|
298
299
|
return {
|
|
299
300
|
totalCount: data.total_count,
|
|
300
301
|
webhookEvents: unmarshalArrayOfObject(data.webhook_events, unmarshalWebhookEvent)
|
|
301
302
|
};
|
|
302
303
|
};
|
|
303
|
-
|
|
304
|
+
var unmarshalListWebhooksResponse = (data) => {
|
|
304
305
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListWebhooksResponse' failed as data isn't a dictionary.`);
|
|
305
306
|
return {
|
|
306
307
|
totalCount: data.total_count,
|
|
307
308
|
webhooks: unmarshalArrayOfObject(data.webhooks, unmarshalWebhook)
|
|
308
309
|
};
|
|
309
310
|
};
|
|
310
|
-
|
|
311
|
+
var unmarshalProjectConsumption = (data) => {
|
|
311
312
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ProjectConsumption' failed as data isn't a dictionary.`);
|
|
312
313
|
return {
|
|
313
314
|
customBlocklistsCount: data.custom_blocklists_count,
|
|
@@ -327,11 +328,11 @@ var unmarshalProjectSettingsPeriodicReport = (data) => {
|
|
|
327
328
|
sendingHour: data.sending_hour
|
|
328
329
|
};
|
|
329
330
|
};
|
|
330
|
-
|
|
331
|
+
var unmarshalProjectSettings = (data) => {
|
|
331
332
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ProjectSettings' failed as data isn't a dictionary.`);
|
|
332
333
|
return { periodicReport: data.periodic_report ? unmarshalProjectSettingsPeriodicReport(data.periodic_report) : void 0 };
|
|
333
334
|
};
|
|
334
|
-
|
|
335
|
+
var unmarshalStatistics = (data) => {
|
|
335
336
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Statistics' failed as data isn't a dictionary.`);
|
|
336
337
|
return {
|
|
337
338
|
canceledCount: data.canceled_count,
|
|
@@ -342,13 +343,13 @@ const unmarshalStatistics = (data) => {
|
|
|
342
343
|
totalCount: data.total_count
|
|
343
344
|
};
|
|
344
345
|
};
|
|
345
|
-
|
|
346
|
+
var marshalBulkCreateBlocklistsRequest = (request, defaults) => ({
|
|
346
347
|
domain_id: request.domainId,
|
|
347
348
|
emails: request.emails,
|
|
348
349
|
reason: request.reason,
|
|
349
350
|
type: request.type
|
|
350
351
|
});
|
|
351
|
-
|
|
352
|
+
var marshalCreateDomainRequest = (request, defaults) => ({
|
|
352
353
|
accept_tos: request.acceptTos,
|
|
353
354
|
autoconfig: request.autoconfig,
|
|
354
355
|
domain_name: request.domainName,
|
|
@@ -367,7 +368,7 @@ var marshalCreateEmailRequestHeader = (request, defaults) => ({
|
|
|
367
368
|
key: request.key,
|
|
368
369
|
value: request.value
|
|
369
370
|
});
|
|
370
|
-
|
|
371
|
+
var marshalCreateEmailRequest = (request, defaults) => ({
|
|
371
372
|
additional_headers: request.additionalHeaders !== void 0 ? request.additionalHeaders.map((elt) => marshalCreateEmailRequestHeader(elt, defaults)) : void 0,
|
|
372
373
|
attachments: request.attachments !== void 0 ? request.attachments.map((elt) => marshalCreateEmailRequestAttachment(elt, defaults)) : void 0,
|
|
373
374
|
bcc: request.bcc !== void 0 ? request.bcc.map((elt) => marshalCreateEmailRequestAddress(elt, defaults)) : void 0,
|
|
@@ -380,15 +381,15 @@ const marshalCreateEmailRequest = (request, defaults) => ({
|
|
|
380
381
|
text: request.text,
|
|
381
382
|
to: request.to !== void 0 ? request.to.map((elt) => marshalCreateEmailRequestAddress(elt, defaults)) : void 0
|
|
382
383
|
});
|
|
383
|
-
|
|
384
|
+
var marshalCreateWebhookRequest = (request, defaults) => ({
|
|
384
385
|
domain_id: request.domainId,
|
|
385
386
|
event_types: request.eventTypes !== void 0 ? request.eventTypes : void 0,
|
|
386
387
|
name: request.name,
|
|
387
388
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
388
389
|
sns_arn: request.snsArn
|
|
389
390
|
});
|
|
390
|
-
|
|
391
|
-
|
|
391
|
+
var marshalUpdateDomainRequest = (request, defaults) => ({ autoconfig: request.autoconfig });
|
|
392
|
+
var marshalUpdateOfferSubscriptionRequest = (request, defaults) => ({
|
|
392
393
|
name: request.name,
|
|
393
394
|
project_id: request.projectId ?? defaults.defaultProjectId
|
|
394
395
|
});
|
|
@@ -398,10 +399,11 @@ var marshalUpdateProjectSettingsRequestUpdatePeriodicReport = (request, defaults
|
|
|
398
399
|
sending_day: request.sendingDay,
|
|
399
400
|
sending_hour: request.sendingHour
|
|
400
401
|
});
|
|
401
|
-
|
|
402
|
-
|
|
402
|
+
var marshalUpdateProjectSettingsRequest = (request, defaults) => ({ periodic_report: request.periodicReport !== void 0 ? marshalUpdateProjectSettingsRequestUpdatePeriodicReport(request.periodicReport, defaults) : void 0 });
|
|
403
|
+
var marshalUpdateWebhookRequest = (request, defaults) => ({
|
|
403
404
|
event_types: request.eventTypes !== void 0 ? request.eventTypes : void 0,
|
|
404
405
|
name: request.name,
|
|
405
406
|
sns_arn: request.snsArn
|
|
406
407
|
});
|
|
408
|
+
//#endregion
|
|
407
409
|
export { marshalBulkCreateBlocklistsRequest, marshalCreateDomainRequest, marshalCreateEmailRequest, marshalCreateWebhookRequest, marshalUpdateDomainRequest, marshalUpdateOfferSubscriptionRequest, marshalUpdateProjectSettingsRequest, marshalUpdateWebhookRequest, unmarshalBulkCreateBlocklistsResponse, unmarshalCreateEmailResponse, unmarshalDomain, unmarshalDomainLastStatus, unmarshalEmail, unmarshalListBlocklistsResponse, unmarshalListDomainsResponse, unmarshalListEmailsResponse, unmarshalListOfferSubscriptionsResponse, unmarshalListOffersResponse, unmarshalListPoolsResponse, unmarshalListWebhookEventsResponse, unmarshalListWebhooksResponse, unmarshalOfferSubscription, unmarshalProjectConsumption, unmarshalProjectSettings, unmarshalStatistics, unmarshalWebhook };
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region src/v1alpha1/validation-rules.gen.ts
|
|
2
3
|
var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
3
4
|
BulkCreateBlocklistsRequest: () => BulkCreateBlocklistsRequest,
|
|
4
5
|
CreateDomainRequest: () => CreateDomainRequest,
|
|
@@ -16,22 +17,22 @@ var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
16
17
|
UpdateProjectSettingsRequestUpdatePeriodicReport: () => UpdateProjectSettingsRequestUpdatePeriodicReport,
|
|
17
18
|
UpdateWebhookRequest: () => UpdateWebhookRequest
|
|
18
19
|
});
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
var BulkCreateBlocklistsRequest = { reason: { maxLength: 200 } };
|
|
21
|
+
var CreateDomainRequest = { domainName: {
|
|
21
22
|
maxLength: 255,
|
|
22
23
|
minLength: 1
|
|
23
24
|
} };
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
var CreateEmailRequest = { subject: { maxLength: 998 } };
|
|
26
|
+
var CreateEmailRequestAddress = { email: { minLength: 1 } };
|
|
27
|
+
var CreateEmailRequestAttachment = {
|
|
27
28
|
name: { minLength: 1 },
|
|
28
29
|
type: { minLength: 1 }
|
|
29
30
|
};
|
|
30
|
-
|
|
31
|
+
var CreateEmailRequestHeader = {
|
|
31
32
|
key: { minLength: 1 },
|
|
32
33
|
value: { minLength: 1 }
|
|
33
34
|
};
|
|
34
|
-
|
|
35
|
+
var CreateWebhookRequest = {
|
|
35
36
|
name: {
|
|
36
37
|
maxLength: 127,
|
|
37
38
|
minLength: 3
|
|
@@ -41,21 +42,21 @@ const CreateWebhookRequest = {
|
|
|
41
42
|
minLength: 3
|
|
42
43
|
}
|
|
43
44
|
};
|
|
44
|
-
|
|
45
|
+
var ListBlocklistsRequest = {
|
|
45
46
|
page: { greaterThan: 0 },
|
|
46
47
|
pageSize: {
|
|
47
48
|
greaterThanOrEqual: 1,
|
|
48
49
|
lessThanOrEqual: 100
|
|
49
50
|
}
|
|
50
51
|
};
|
|
51
|
-
|
|
52
|
+
var ListDomainsRequest = {
|
|
52
53
|
page: { greaterThan: 0 },
|
|
53
54
|
pageSize: {
|
|
54
55
|
greaterThanOrEqual: 1,
|
|
55
56
|
lessThanOrEqual: 1e3
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
|
-
|
|
59
|
+
var ListEmailsRequest = {
|
|
59
60
|
page: { greaterThan: 0 },
|
|
60
61
|
pageSize: {
|
|
61
62
|
greaterThanOrEqual: 1,
|
|
@@ -67,28 +68,28 @@ const ListEmailsRequest = {
|
|
|
67
68
|
},
|
|
68
69
|
subject: { maxLength: 998 }
|
|
69
70
|
};
|
|
70
|
-
|
|
71
|
+
var ListPoolsRequest = {
|
|
71
72
|
page: { greaterThanOrEqual: 1 },
|
|
72
73
|
pageSize: {
|
|
73
74
|
greaterThanOrEqual: 1,
|
|
74
75
|
lessThanOrEqual: 1e3
|
|
75
76
|
}
|
|
76
77
|
};
|
|
77
|
-
|
|
78
|
+
var ListWebhookEventsRequest = {
|
|
78
79
|
page: { greaterThan: 0 },
|
|
79
80
|
pageSize: {
|
|
80
81
|
greaterThanOrEqual: 1,
|
|
81
82
|
lessThanOrEqual: 100
|
|
82
83
|
}
|
|
83
84
|
};
|
|
84
|
-
|
|
85
|
+
var ListWebhooksRequest = {
|
|
85
86
|
page: { greaterThan: 0 },
|
|
86
87
|
pageSize: {
|
|
87
88
|
greaterThanOrEqual: 1,
|
|
88
89
|
lessThanOrEqual: 100
|
|
89
90
|
}
|
|
90
91
|
};
|
|
91
|
-
|
|
92
|
+
var UpdateProjectSettingsRequestUpdatePeriodicReport = {
|
|
92
93
|
sendingDay: {
|
|
93
94
|
greaterThanOrEqual: 1,
|
|
94
95
|
lessThanOrEqual: 28
|
|
@@ -98,7 +99,7 @@ const UpdateProjectSettingsRequestUpdatePeriodicReport = {
|
|
|
98
99
|
lessThanOrEqual: 23
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
|
-
|
|
102
|
+
var UpdateWebhookRequest = {
|
|
102
103
|
name: {
|
|
103
104
|
maxLength: 127,
|
|
104
105
|
minLength: 3
|
|
@@ -108,4 +109,5 @@ const UpdateWebhookRequest = {
|
|
|
108
109
|
minLength: 3
|
|
109
110
|
}
|
|
110
111
|
};
|
|
111
|
-
|
|
112
|
+
//#endregion
|
|
113
|
+
export { BulkCreateBlocklistsRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailRequestAddress, CreateEmailRequestAttachment, CreateEmailRequestHeader, CreateWebhookRequest, ListBlocklistsRequest, ListDomainsRequest, ListEmailsRequest, ListPoolsRequest, ListWebhookEventsRequest, ListWebhooksRequest, UpdateProjectSettingsRequestUpdatePeriodicReport, UpdateWebhookRequest, validation_rules_gen_exports };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-tem",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Scaleway SDK tem",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"node": ">=20.19.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@scaleway/random-name": "5.1.
|
|
30
|
-
"@scaleway/sdk-std": "2.2.
|
|
29
|
+
"@scaleway/random-name": "5.1.4",
|
|
30
|
+
"@scaleway/sdk-std": "2.2.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@scaleway/sdk-client": "^2.2.
|
|
33
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^2.2.
|
|
36
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"package:check": "pnpm publint",
|