@scaleway/sdk-mailbox 1.10.0 → 1.11.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.
@@ -0,0 +1,21 @@
1
+ import type { AliasStatus, DomainRecordDNSType, DomainRecordLevel, DomainRecordStatus, DomainStatus, ListAliasesRequestOrderBy, ListDomainsRequestOrderBy, ListMailboxesRequestOrderBy, MailboxStatus, MailboxSubscriptionPeriod } from './types.gen.js';
2
+ /** Lists all values of the enum {@link AliasStatus}. */
3
+ export declare const ALIAS_STATUSES: AliasStatus[];
4
+ /** Lists all values of the enum {@link DomainRecordDNSType}. */
5
+ export declare const DOMAIN_RECORD_DNS_TYPES: DomainRecordDNSType[];
6
+ /** Lists all values of the enum {@link DomainRecordLevel}. */
7
+ export declare const DOMAIN_RECORD_LEVELS: DomainRecordLevel[];
8
+ /** Lists all values of the enum {@link DomainRecordStatus}. */
9
+ export declare const DOMAIN_RECORD_STATUSES: DomainRecordStatus[];
10
+ /** Lists all values of the enum {@link DomainStatus}. */
11
+ export declare const DOMAIN_STATUSES: DomainStatus[];
12
+ /** Lists all values of the enum {@link ListAliasesRequestOrderBy}. */
13
+ export declare const LIST_ALIASES_REQUEST_ORDER_BIES: ListAliasesRequestOrderBy[];
14
+ /** Lists all values of the enum {@link ListDomainsRequestOrderBy}. */
15
+ export declare const LIST_DOMAINS_REQUEST_ORDER_BIES: ListDomainsRequestOrderBy[];
16
+ /** Lists all values of the enum {@link ListMailboxesRequestOrderBy}. */
17
+ export declare const LIST_MAILBOXES_REQUEST_ORDER_BIES: ListMailboxesRequestOrderBy[];
18
+ /** Lists all values of the enum {@link MailboxStatus}. */
19
+ export declare const MAILBOX_STATUSES: MailboxStatus[];
20
+ /** Lists all values of the enum {@link MailboxSubscriptionPeriod}. */
21
+ export declare const MAILBOX_SUBSCRIPTION_PERIODS: MailboxSubscriptionPeriod[];
@@ -0,0 +1,94 @@
1
+ //#region src/v1alpha1/constants.gen.ts
2
+ /** Lists all values of the enum {@link AliasStatus}. */
3
+ const ALIAS_STATUSES = [
4
+ "unknown_status",
5
+ "provisioning",
6
+ "deleting",
7
+ "ready"
8
+ ];
9
+ /** Lists all values of the enum {@link DomainRecordDNSType}. */
10
+ const DOMAIN_RECORD_DNS_TYPES = [
11
+ "unknown_dns_type",
12
+ "cname_dns_type",
13
+ "mx_dns_type",
14
+ "srv_dns_type",
15
+ "txt_dns_type"
16
+ ];
17
+ /** Lists all values of the enum {@link DomainRecordLevel}. */
18
+ const DOMAIN_RECORD_LEVELS = [
19
+ "unknown_level",
20
+ "required",
21
+ "recommended",
22
+ "optional"
23
+ ];
24
+ /** Lists all values of the enum {@link DomainRecordStatus}. */
25
+ const DOMAIN_RECORD_STATUSES = [
26
+ "unknown_status",
27
+ "validating",
28
+ "valid",
29
+ "invalid",
30
+ "not_found"
31
+ ];
32
+ /** Lists all values of the enum {@link DomainStatus}. */
33
+ const DOMAIN_STATUSES = [
34
+ "unknown_status",
35
+ "creating",
36
+ "waiting_validation",
37
+ "validating",
38
+ "validation_failed",
39
+ "provisioning",
40
+ "ready",
41
+ "deleting"
42
+ ];
43
+ /** Lists all values of the enum {@link ListAliasesRequestOrderBy}. */
44
+ const LIST_ALIASES_REQUEST_ORDER_BIES = [
45
+ "created_at_desc",
46
+ "created_at_asc",
47
+ "updated_at_desc",
48
+ "updated_at_asc",
49
+ "name_desc",
50
+ "name_asc"
51
+ ];
52
+ /** Lists all values of the enum {@link ListDomainsRequestOrderBy}. */
53
+ const LIST_DOMAINS_REQUEST_ORDER_BIES = [
54
+ "created_at_desc",
55
+ "created_at_asc",
56
+ "updated_at_desc",
57
+ "updated_at_asc",
58
+ "name_desc",
59
+ "name_asc",
60
+ "mailbox_total_count_desc",
61
+ "mailbox_total_count_asc"
62
+ ];
63
+ /** Lists all values of the enum {@link ListMailboxesRequestOrderBy}. */
64
+ const LIST_MAILBOXES_REQUEST_ORDER_BIES = [
65
+ "created_at_desc",
66
+ "created_at_asc",
67
+ "updated_at_desc",
68
+ "updated_at_asc",
69
+ "email_desc",
70
+ "email_asc"
71
+ ];
72
+ /** Lists all values of the enum {@link MailboxStatus}. */
73
+ const MAILBOX_STATUSES = [
74
+ "unknown_status",
75
+ "creating",
76
+ "waiting_payment",
77
+ "waiting_domain",
78
+ "ready",
79
+ "deletion_scheduled",
80
+ "locked",
81
+ "renewing",
82
+ "deleting",
83
+ "restoring",
84
+ "payment_failed"
85
+ ];
86
+ /** Lists all values of the enum {@link MailboxSubscriptionPeriod}. */
87
+ const MAILBOX_SUBSCRIPTION_PERIODS = [
88
+ "unknown_subscription_period",
89
+ "canceled",
90
+ "monthly",
91
+ "yearly"
92
+ ];
93
+ //#endregion
94
+ export { ALIAS_STATUSES, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_STATUSES, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS };
@@ -1,5 +1,6 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
+ export * from './constants.gen.js';
3
4
  export * from './marshalling.gen.js';
4
5
  export type { Alias, AliasStatus, BatchCreateMailboxesRequest, BatchCreateMailboxesRequestMailboxParameters, BatchCreateMailboxesResponse, CreateAliasRequest, CreateDomainRequest, DeleteAliasRequest, DeleteDomainRequest, DeleteMailboxRequest, Domain, DomainRecord, DomainRecordDNSType, DomainRecordLevel, DomainRecordStatus, DomainStatus, GetAliasRequest, GetDomainRecordsRequest, GetDomainRecordsResponse, GetDomainRequest, GetMailboxRequest, ListAliasesRequest, ListAliasesRequestOrderBy, ListAliasesResponse, ListDomainsRequest, ListDomainsRequestOrderBy, ListDomainsResponse, ListMailboxesRequest, ListMailboxesRequestOrderBy, ListMailboxesResponse, Mailbox, MailboxStatus, MailboxSubscriptionPeriod, RestoreMailboxRequest, UpdateAliasRequest, UpdateMailboxRequest, ValidateDomainRecordsRequest, } from './types.gen.js';
5
6
  export * as ValidationRules from './validation-rules.gen.js';
@@ -2,13 +2,24 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { ALIAS_TRANSIENT_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES } from "./content.gen.js";
3
3
  import { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalUpdateAliasRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListMailboxesResponse, unmarshalMailbox } from "./marshalling.gen.js";
4
4
  import { API } from "./api.gen.js";
5
+ import { ALIAS_STATUSES, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_STATUSES, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS } from "./constants.gen.js";
5
6
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
6
7
  //#region src/v1alpha1/index.gen.ts
7
8
  var index_gen_exports = /* @__PURE__ */ __exportAll({
9
+ ALIAS_STATUSES: () => ALIAS_STATUSES,
8
10
  ALIAS_TRANSIENT_STATUSES: () => ALIAS_TRANSIENT_STATUSES,
9
11
  API: () => API,
12
+ DOMAIN_RECORD_DNS_TYPES: () => DOMAIN_RECORD_DNS_TYPES,
13
+ DOMAIN_RECORD_LEVELS: () => DOMAIN_RECORD_LEVELS,
14
+ DOMAIN_RECORD_STATUSES: () => DOMAIN_RECORD_STATUSES,
10
15
  DOMAIN_RECORD_TRANSIENT_STATUSES: () => DOMAIN_RECORD_TRANSIENT_STATUSES,
16
+ DOMAIN_STATUSES: () => DOMAIN_STATUSES,
11
17
  DOMAIN_TRANSIENT_STATUSES: () => DOMAIN_TRANSIENT_STATUSES,
18
+ LIST_ALIASES_REQUEST_ORDER_BIES: () => LIST_ALIASES_REQUEST_ORDER_BIES,
19
+ LIST_DOMAINS_REQUEST_ORDER_BIES: () => LIST_DOMAINS_REQUEST_ORDER_BIES,
20
+ LIST_MAILBOXES_REQUEST_ORDER_BIES: () => LIST_MAILBOXES_REQUEST_ORDER_BIES,
21
+ MAILBOX_STATUSES: () => MAILBOX_STATUSES,
22
+ MAILBOX_SUBSCRIPTION_PERIODS: () => MAILBOX_SUBSCRIPTION_PERIODS,
12
23
  MAILBOX_TRANSIENT_STATUSES: () => MAILBOX_TRANSIENT_STATUSES,
13
24
  ValidationRules: () => validation_rules_gen_exports,
14
25
  marshalBatchCreateMailboxesRequest: () => marshalBatchCreateMailboxesRequest,
@@ -26,4 +37,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
26
37
  unmarshalMailbox: () => unmarshalMailbox
27
38
  });
28
39
  //#endregion
29
- export { ALIAS_TRANSIENT_STATUSES, API, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalUpdateAliasRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListMailboxesResponse, unmarshalMailbox };
40
+ export { ALIAS_STATUSES, ALIAS_TRANSIENT_STATUSES, API, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_STATUSES, DOMAIN_TRANSIENT_STATUSES, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS, MAILBOX_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalUpdateAliasRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListMailboxesResponse, unmarshalMailbox };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-mailbox",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "Scaleway SDK mailbox",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.6.0"
36
+ "@scaleway/sdk-std": "2.7.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",