@scaleway/sdk-mailbox 1.15.0 → 1.16.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/LICENSE +191 -0
- package/dist/_virtual/_rolldown/runtime.js +11 -6
- package/dist/index.gen.d.ts +2 -5
- package/dist/index.gen.js +2 -1
- package/dist/metadata.gen.d.ts +7 -5
- package/dist/metadata.gen.js +2 -1
- package/dist/v1alpha1/api.gen.d.ts +210 -158
- package/dist/v1alpha1/api.gen.js +52 -5
- package/dist/v1alpha1/constants.gen.d.ts +7 -1
- package/dist/v1alpha1/constants.gen.js +19 -1
- package/dist/v1alpha1/content.gen.d.ts +5 -1
- package/dist/v1alpha1/content.gen.js +8 -1
- package/dist/v1alpha1/index.gen.d.ts +11 -6
- package/dist/v1alpha1/index.gen.js +16 -5
- package/dist/v1alpha1/marshalling.gen.d.ts +10 -2
- package/dist/v1alpha1/marshalling.gen.js +40 -1
- package/dist/v1alpha1/metadata.gen.d.ts +124 -88
- package/dist/v1alpha1/metadata.gen.js +39 -1
- package/dist/v1alpha1/types.gen.d.ts +540 -392
- package/dist/v1alpha1/validation-rules.gen.d.ts +73 -47
- package/dist/v1alpha1/validation-rules.gen.js +21 -1
- package/package.json +5 -7
- package/dist/.vite/license.md +0 -3
- package/dist/v1alpha1/types.gen.js +0 -0
package/dist/v1alpha1/api.gen.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ALIAS_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
|
-
import { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalUpdateAliasRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListMailboxesResponse, unmarshalMailbox } from "./marshalling.gen.js";
|
|
3
|
-
import { API
|
|
1
|
+
import { ALIAS_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, FORWARDING_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
|
+
import { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalCreateForwardingRequest, marshalUpdateAliasRequest, marshalUpdateForwardingRequest, marshalUpdateMailboxForwardingRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalForwarding, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListForwardingsResponse, unmarshalListMailboxesResponse, unmarshalMailbox, unmarshalMailboxForwarding } from "./marshalling.gen.js";
|
|
3
|
+
import { API, enrichForPagination, resolveOneOf, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
4
|
+
|
|
4
5
|
//#region src/v1alpha1/api.gen.ts
|
|
5
6
|
const jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
6
7
|
/**
|
|
@@ -8,7 +9,7 @@ const jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" }
|
|
|
8
9
|
|
|
9
10
|
This API allows you to manage your Mailbox services.
|
|
10
11
|
*/
|
|
11
|
-
var API = class extends API
|
|
12
|
+
var API$1 = class extends API {
|
|
12
13
|
constructor(..._args) {
|
|
13
14
|
super(..._args);
|
|
14
15
|
this.createDomain = (request) => this.client.fetch({
|
|
@@ -102,7 +103,53 @@ var API = class extends API$1 {
|
|
|
102
103
|
method: "DELETE",
|
|
103
104
|
path: `/mailbox/v1alpha1/aliases/${validatePathParam("aliasId", request.aliasId)}`
|
|
104
105
|
}, unmarshalAlias);
|
|
106
|
+
this.createForwarding = (request) => this.client.fetch({
|
|
107
|
+
body: JSON.stringify(marshalCreateForwardingRequest(request, this.client.settings)),
|
|
108
|
+
headers: jsonContentHeaders,
|
|
109
|
+
method: "POST",
|
|
110
|
+
path: `/mailbox/v1alpha1/forwardings`
|
|
111
|
+
}, unmarshalForwarding);
|
|
112
|
+
this.pageOfListForwardings = (request = {}) => this.client.fetch({
|
|
113
|
+
method: "GET",
|
|
114
|
+
path: `/mailbox/v1alpha1/forwardings`,
|
|
115
|
+
urlParams: urlParams(["mailbox_id", request.mailboxId], ["order_by", request.orderBy], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["status", request.status], ...Object.entries(resolveOneOf([{
|
|
116
|
+
default: this.client.settings.defaultProjectId,
|
|
117
|
+
param: "project_id",
|
|
118
|
+
value: request.projectId
|
|
119
|
+
}, {
|
|
120
|
+
default: this.client.settings.defaultOrganizationId,
|
|
121
|
+
param: "organization_id",
|
|
122
|
+
value: request.organizationId
|
|
123
|
+
}])))
|
|
124
|
+
}, unmarshalListForwardingsResponse);
|
|
125
|
+
this.listForwardings = (request = {}) => enrichForPagination("forwardings", this.pageOfListForwardings, request);
|
|
126
|
+
this.getForwarding = (request) => this.client.fetch({
|
|
127
|
+
method: "GET",
|
|
128
|
+
path: `/mailbox/v1alpha1/forwardings/${validatePathParam("forwardingId", request.forwardingId)}`
|
|
129
|
+
}, unmarshalForwarding);
|
|
130
|
+
this.waitForForwarding = (request, options) => waitForResource(options?.stop ?? ((res) => Promise.resolve(!FORWARDING_TRANSIENT_STATUSES.includes(res.status))), this.getForwarding, request, options);
|
|
131
|
+
this.updateForwarding = (request) => this.client.fetch({
|
|
132
|
+
body: JSON.stringify(marshalUpdateForwardingRequest(request, this.client.settings)),
|
|
133
|
+
headers: jsonContentHeaders,
|
|
134
|
+
method: "PATCH",
|
|
135
|
+
path: `/mailbox/v1alpha1/forwardings/${validatePathParam("forwardingId", request.forwardingId)}`
|
|
136
|
+
}, unmarshalForwarding);
|
|
137
|
+
this.deleteForwarding = (request) => this.client.fetch({
|
|
138
|
+
method: "DELETE",
|
|
139
|
+
path: `/mailbox/v1alpha1/forwardings/${validatePathParam("forwardingId", request.forwardingId)}`
|
|
140
|
+
}, unmarshalForwarding);
|
|
141
|
+
this.getMailboxForwarding = (request) => this.client.fetch({
|
|
142
|
+
method: "GET",
|
|
143
|
+
path: `/mailbox/v1alpha1/mailboxes/${validatePathParam("mailboxId", request.mailboxId)}/forwarding`
|
|
144
|
+
}, unmarshalMailboxForwarding);
|
|
145
|
+
this.updateMailboxForwarding = (request) => this.client.fetch({
|
|
146
|
+
body: JSON.stringify(marshalUpdateMailboxForwardingRequest(request, this.client.settings)),
|
|
147
|
+
headers: jsonContentHeaders,
|
|
148
|
+
method: "PATCH",
|
|
149
|
+
path: `/mailbox/v1alpha1/mailboxes/${validatePathParam("mailboxId", request.mailboxId)}/forwarding`
|
|
150
|
+
}, unmarshalMailboxForwarding);
|
|
105
151
|
}
|
|
106
152
|
};
|
|
153
|
+
|
|
107
154
|
//#endregion
|
|
108
|
-
export { API };
|
|
155
|
+
export { API$1 as API };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { AliasStatus, DomainRecordDNSType, DomainRecordLevel, DomainRecordStatus, DomainStatus, ForwardingStatus, ListAliasesRequestOrderBy, ListDomainsRequestOrderBy, ListForwardingsRequestOrderBy, ListMailboxesRequestOrderBy, MailboxStatus, MailboxSubscriptionPeriod } from "./types.gen.js";
|
|
2
|
+
//#region src/v1alpha1/constants.gen.d.ts
|
|
2
3
|
/** Lists all values of the enum {@link AliasStatus}. */
|
|
3
4
|
export declare const ALIAS_STATUSES: AliasStatus[];
|
|
4
5
|
/** Lists all values of the enum {@link DomainRecordDNSType}. */
|
|
@@ -9,13 +10,18 @@ export declare const DOMAIN_RECORD_LEVELS: DomainRecordLevel[];
|
|
|
9
10
|
export declare const DOMAIN_RECORD_STATUSES: DomainRecordStatus[];
|
|
10
11
|
/** Lists all values of the enum {@link DomainStatus}. */
|
|
11
12
|
export declare const DOMAIN_STATUSES: DomainStatus[];
|
|
13
|
+
/** Lists all values of the enum {@link ForwardingStatus}. */
|
|
14
|
+
export declare const FORWARDING_STATUSES: ForwardingStatus[];
|
|
12
15
|
/** Lists all values of the enum {@link ListAliasesRequestOrderBy}. */
|
|
13
16
|
export declare const LIST_ALIASES_REQUEST_ORDER_BIES: ListAliasesRequestOrderBy[];
|
|
14
17
|
/** Lists all values of the enum {@link ListDomainsRequestOrderBy}. */
|
|
15
18
|
export declare const LIST_DOMAINS_REQUEST_ORDER_BIES: ListDomainsRequestOrderBy[];
|
|
19
|
+
/** Lists all values of the enum {@link ListForwardingsRequestOrderBy}. */
|
|
20
|
+
export declare const LIST_FORWARDINGS_REQUEST_ORDER_BIES: ListForwardingsRequestOrderBy[];
|
|
16
21
|
/** Lists all values of the enum {@link ListMailboxesRequestOrderBy}. */
|
|
17
22
|
export declare const LIST_MAILBOXES_REQUEST_ORDER_BIES: ListMailboxesRequestOrderBy[];
|
|
18
23
|
/** Lists all values of the enum {@link MailboxStatus}. */
|
|
19
24
|
export declare const MAILBOX_STATUSES: MailboxStatus[];
|
|
20
25
|
/** Lists all values of the enum {@link MailboxSubscriptionPeriod}. */
|
|
21
26
|
export declare const MAILBOX_SUBSCRIPTION_PERIODS: MailboxSubscriptionPeriod[];
|
|
27
|
+
//#endregion
|
|
@@ -40,6 +40,14 @@ const DOMAIN_STATUSES = [
|
|
|
40
40
|
"ready",
|
|
41
41
|
"deleting"
|
|
42
42
|
];
|
|
43
|
+
/** Lists all values of the enum {@link ForwardingStatus}. */
|
|
44
|
+
const FORWARDING_STATUSES = [
|
|
45
|
+
"unknown_status",
|
|
46
|
+
"provisioning",
|
|
47
|
+
"ready",
|
|
48
|
+
"updating",
|
|
49
|
+
"deleting"
|
|
50
|
+
];
|
|
43
51
|
/** Lists all values of the enum {@link ListAliasesRequestOrderBy}. */
|
|
44
52
|
const LIST_ALIASES_REQUEST_ORDER_BIES = [
|
|
45
53
|
"created_at_desc",
|
|
@@ -60,6 +68,15 @@ const LIST_DOMAINS_REQUEST_ORDER_BIES = [
|
|
|
60
68
|
"mailbox_total_count_desc",
|
|
61
69
|
"mailbox_total_count_asc"
|
|
62
70
|
];
|
|
71
|
+
/** Lists all values of the enum {@link ListForwardingsRequestOrderBy}. */
|
|
72
|
+
const LIST_FORWARDINGS_REQUEST_ORDER_BIES = [
|
|
73
|
+
"created_at_desc",
|
|
74
|
+
"created_at_asc",
|
|
75
|
+
"updated_at_desc",
|
|
76
|
+
"updated_at_asc",
|
|
77
|
+
"email_desc",
|
|
78
|
+
"email_asc"
|
|
79
|
+
];
|
|
63
80
|
/** Lists all values of the enum {@link ListMailboxesRequestOrderBy}. */
|
|
64
81
|
const LIST_MAILBOXES_REQUEST_ORDER_BIES = [
|
|
65
82
|
"created_at_desc",
|
|
@@ -90,5 +107,6 @@ const MAILBOX_SUBSCRIPTION_PERIODS = [
|
|
|
90
107
|
"monthly",
|
|
91
108
|
"yearly"
|
|
92
109
|
];
|
|
110
|
+
|
|
93
111
|
//#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 };
|
|
112
|
+
export { ALIAS_STATUSES, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_STATUSES, FORWARDING_STATUSES, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_FORWARDINGS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS };
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { AliasStatus, DomainRecordStatus, DomainStatus, ForwardingStatus, MailboxStatus } from "./types.gen.js";
|
|
2
|
+
//#region src/v1alpha1/content.gen.d.ts
|
|
2
3
|
/** Lists transient statutes of the enum {@link AliasStatus}. */
|
|
3
4
|
export declare const ALIAS_TRANSIENT_STATUSES: AliasStatus[];
|
|
4
5
|
/** Lists transient statutes of the enum {@link DomainRecordStatus}. */
|
|
5
6
|
export declare const DOMAIN_RECORD_TRANSIENT_STATUSES: DomainRecordStatus[];
|
|
6
7
|
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
7
8
|
export declare const DOMAIN_TRANSIENT_STATUSES: DomainStatus[];
|
|
9
|
+
/** Lists transient statutes of the enum {@link ForwardingStatus}. */
|
|
10
|
+
export declare const FORWARDING_TRANSIENT_STATUSES: ForwardingStatus[];
|
|
8
11
|
/** Lists transient statutes of the enum {@link MailboxStatus}. */
|
|
9
12
|
export declare const MAILBOX_TRANSIENT_STATUSES: MailboxStatus[];
|
|
13
|
+
//#endregion
|
|
@@ -10,6 +10,12 @@ const DOMAIN_TRANSIENT_STATUSES = [
|
|
|
10
10
|
"provisioning",
|
|
11
11
|
"deleting"
|
|
12
12
|
];
|
|
13
|
+
/** Lists transient statutes of the enum {@link ForwardingStatus}. */
|
|
14
|
+
const FORWARDING_TRANSIENT_STATUSES = [
|
|
15
|
+
"provisioning",
|
|
16
|
+
"updating",
|
|
17
|
+
"deleting"
|
|
18
|
+
];
|
|
13
19
|
/** Lists transient statutes of the enum {@link MailboxStatus}. */
|
|
14
20
|
const MAILBOX_TRANSIENT_STATUSES = [
|
|
15
21
|
"creating",
|
|
@@ -19,5 +25,6 @@ const MAILBOX_TRANSIENT_STATUSES = [
|
|
|
19
25
|
"deleting",
|
|
20
26
|
"restoring"
|
|
21
27
|
];
|
|
28
|
+
|
|
22
29
|
//#endregion
|
|
23
|
-
export { ALIAS_TRANSIENT_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES };
|
|
30
|
+
export { ALIAS_TRANSIENT_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, FORWARDING_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES };
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Alias, AliasStatus, BatchCreateMailboxesRequest, BatchCreateMailboxesRequestMailboxParameters, BatchCreateMailboxesResponse, CreateAliasRequest, CreateDomainRequest, CreateForwardingRequest, DeleteAliasRequest, DeleteDomainRequest, DeleteForwardingRequest, DeleteMailboxRequest, Domain, DomainRecord, DomainRecordDNSType, DomainRecordLevel, DomainRecordStatus, DomainStatus, Forwarding, ForwardingStatus, GetAliasRequest, GetDomainRecordsRequest, GetDomainRecordsResponse, GetDomainRequest, GetForwardingRequest, GetMailboxForwardingRequest, GetMailboxRequest, ListAliasesRequest, ListAliasesRequestOrderBy, ListAliasesResponse, ListDomainsRequest, ListDomainsRequestOrderBy, ListDomainsResponse, ListForwardingsRequest, ListForwardingsRequestOrderBy, ListForwardingsResponse, ListMailboxesRequest, ListMailboxesRequestOrderBy, ListMailboxesResponse, Mailbox, MailboxForwarding, MailboxStatus, MailboxSubscriptionPeriod, RestoreMailboxRequest, UpdateAliasRequest, UpdateForwardingRequest, UpdateMailboxForwardingRequest, UpdateMailboxRequest, ValidateDomainRecordsRequest } from "./types.gen.js";
|
|
2
|
+
import { API } from "./api.gen.js";
|
|
3
|
+
import { ALIAS_TRANSIENT_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, FORWARDING_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
4
|
+
import { ALIAS_STATUSES, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_STATUSES, FORWARDING_STATUSES, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_FORWARDINGS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS } from "./constants.gen.js";
|
|
5
|
+
import { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalCreateForwardingRequest, marshalUpdateAliasRequest, marshalUpdateForwardingRequest, marshalUpdateMailboxForwardingRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalForwarding, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListForwardingsResponse, unmarshalListMailboxesResponse, unmarshalMailbox, unmarshalMailboxForwarding } from "./marshalling.gen.js";
|
|
6
|
+
import { validation_rules_gen_d_exports } from "./validation-rules.gen.js";
|
|
7
|
+
declare namespace index_gen_d_exports {
|
|
8
|
+
export { ALIAS_STATUSES, ALIAS_TRANSIENT_STATUSES, API, Alias, AliasStatus, BatchCreateMailboxesRequest, BatchCreateMailboxesRequestMailboxParameters, BatchCreateMailboxesResponse, CreateAliasRequest, CreateDomainRequest, CreateForwardingRequest, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_STATUSES, DOMAIN_TRANSIENT_STATUSES, DeleteAliasRequest, DeleteDomainRequest, DeleteForwardingRequest, DeleteMailboxRequest, Domain, DomainRecord, DomainRecordDNSType, DomainRecordLevel, DomainRecordStatus, DomainStatus, FORWARDING_STATUSES, FORWARDING_TRANSIENT_STATUSES, Forwarding, ForwardingStatus, GetAliasRequest, GetDomainRecordsRequest, GetDomainRecordsResponse, GetDomainRequest, GetForwardingRequest, GetMailboxForwardingRequest, GetMailboxRequest, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_FORWARDINGS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, ListAliasesRequest, ListAliasesRequestOrderBy, ListAliasesResponse, ListDomainsRequest, ListDomainsRequestOrderBy, ListDomainsResponse, ListForwardingsRequest, ListForwardingsRequestOrderBy, ListForwardingsResponse, ListMailboxesRequest, ListMailboxesRequestOrderBy, ListMailboxesResponse, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS, MAILBOX_TRANSIENT_STATUSES, Mailbox, MailboxForwarding, MailboxStatus, MailboxSubscriptionPeriod, RestoreMailboxRequest, UpdateAliasRequest, UpdateForwardingRequest, UpdateMailboxForwardingRequest, UpdateMailboxRequest, ValidateDomainRecordsRequest, validation_rules_gen_d_exports as ValidationRules, marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalCreateForwardingRequest, marshalUpdateAliasRequest, marshalUpdateForwardingRequest, marshalUpdateMailboxForwardingRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalForwarding, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListForwardingsResponse, unmarshalListMailboxesResponse, unmarshalMailbox, unmarshalMailboxForwarding };
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ALIAS_STATUSES, ALIAS_TRANSIENT_STATUSES, API, type Alias, type AliasStatus, type BatchCreateMailboxesRequest, type BatchCreateMailboxesRequestMailboxParameters, type BatchCreateMailboxesResponse, type CreateAliasRequest, type CreateDomainRequest, type CreateForwardingRequest, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_STATUSES, DOMAIN_TRANSIENT_STATUSES, type DeleteAliasRequest, type DeleteDomainRequest, type DeleteForwardingRequest, type DeleteMailboxRequest, type Domain, type DomainRecord, type DomainRecordDNSType, type DomainRecordLevel, type DomainRecordStatus, type DomainStatus, FORWARDING_STATUSES, FORWARDING_TRANSIENT_STATUSES, type Forwarding, type ForwardingStatus, type GetAliasRequest, type GetDomainRecordsRequest, type GetDomainRecordsResponse, type GetDomainRequest, type GetForwardingRequest, type GetMailboxForwardingRequest, type GetMailboxRequest, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_FORWARDINGS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, type ListAliasesRequest, type ListAliasesRequestOrderBy, type ListAliasesResponse, type ListDomainsRequest, type ListDomainsRequestOrderBy, type ListDomainsResponse, type ListForwardingsRequest, type ListForwardingsRequestOrderBy, type ListForwardingsResponse, type ListMailboxesRequest, type ListMailboxesRequestOrderBy, type ListMailboxesResponse, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS, MAILBOX_TRANSIENT_STATUSES, type Mailbox, type MailboxForwarding, type MailboxStatus, type MailboxSubscriptionPeriod, type RestoreMailboxRequest, type UpdateAliasRequest, type UpdateForwardingRequest, type UpdateMailboxForwardingRequest, type UpdateMailboxRequest, type ValidateDomainRecordsRequest, validation_rules_gen_d_exports as ValidationRules, index_gen_d_exports, marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalCreateForwardingRequest, marshalUpdateAliasRequest, marshalUpdateForwardingRequest, marshalUpdateMailboxForwardingRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalForwarding, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListForwardingsResponse, unmarshalListMailboxesResponse, unmarshalMailbox, unmarshalMailboxForwarding };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { ALIAS_TRANSIENT_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
|
-
import { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalUpdateAliasRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListMailboxesResponse, unmarshalMailbox } from "./marshalling.gen.js";
|
|
2
|
+
import { ALIAS_TRANSIENT_STATUSES, DOMAIN_RECORD_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, FORWARDING_TRANSIENT_STATUSES, MAILBOX_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
|
+
import { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalCreateForwardingRequest, marshalUpdateAliasRequest, marshalUpdateForwardingRequest, marshalUpdateMailboxForwardingRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalForwarding, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListForwardingsResponse, unmarshalListMailboxesResponse, unmarshalMailbox, unmarshalMailboxForwarding } 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
|
+
import { ALIAS_STATUSES, DOMAIN_RECORD_DNS_TYPES, DOMAIN_RECORD_LEVELS, DOMAIN_RECORD_STATUSES, DOMAIN_STATUSES, FORWARDING_STATUSES, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_FORWARDINGS_REQUEST_ORDER_BIES, LIST_MAILBOXES_REQUEST_ORDER_BIES, MAILBOX_STATUSES, MAILBOX_SUBSCRIPTION_PERIODS } from "./constants.gen.js";
|
|
6
6
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
7
|
+
|
|
7
8
|
//#region src/v1alpha1/index.gen.ts
|
|
8
9
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
9
10
|
ALIAS_STATUSES: () => ALIAS_STATUSES,
|
|
@@ -15,8 +16,11 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
15
16
|
DOMAIN_RECORD_TRANSIENT_STATUSES: () => DOMAIN_RECORD_TRANSIENT_STATUSES,
|
|
16
17
|
DOMAIN_STATUSES: () => DOMAIN_STATUSES,
|
|
17
18
|
DOMAIN_TRANSIENT_STATUSES: () => DOMAIN_TRANSIENT_STATUSES,
|
|
19
|
+
FORWARDING_STATUSES: () => FORWARDING_STATUSES,
|
|
20
|
+
FORWARDING_TRANSIENT_STATUSES: () => FORWARDING_TRANSIENT_STATUSES,
|
|
18
21
|
LIST_ALIASES_REQUEST_ORDER_BIES: () => LIST_ALIASES_REQUEST_ORDER_BIES,
|
|
19
22
|
LIST_DOMAINS_REQUEST_ORDER_BIES: () => LIST_DOMAINS_REQUEST_ORDER_BIES,
|
|
23
|
+
LIST_FORWARDINGS_REQUEST_ORDER_BIES: () => LIST_FORWARDINGS_REQUEST_ORDER_BIES,
|
|
20
24
|
LIST_MAILBOXES_REQUEST_ORDER_BIES: () => LIST_MAILBOXES_REQUEST_ORDER_BIES,
|
|
21
25
|
MAILBOX_STATUSES: () => MAILBOX_STATUSES,
|
|
22
26
|
MAILBOX_SUBSCRIPTION_PERIODS: () => MAILBOX_SUBSCRIPTION_PERIODS,
|
|
@@ -25,16 +29,23 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
25
29
|
marshalBatchCreateMailboxesRequest: () => marshalBatchCreateMailboxesRequest,
|
|
26
30
|
marshalCreateAliasRequest: () => marshalCreateAliasRequest,
|
|
27
31
|
marshalCreateDomainRequest: () => marshalCreateDomainRequest,
|
|
32
|
+
marshalCreateForwardingRequest: () => marshalCreateForwardingRequest,
|
|
28
33
|
marshalUpdateAliasRequest: () => marshalUpdateAliasRequest,
|
|
34
|
+
marshalUpdateForwardingRequest: () => marshalUpdateForwardingRequest,
|
|
35
|
+
marshalUpdateMailboxForwardingRequest: () => marshalUpdateMailboxForwardingRequest,
|
|
29
36
|
marshalUpdateMailboxRequest: () => marshalUpdateMailboxRequest,
|
|
30
37
|
unmarshalAlias: () => unmarshalAlias,
|
|
31
38
|
unmarshalBatchCreateMailboxesResponse: () => unmarshalBatchCreateMailboxesResponse,
|
|
32
39
|
unmarshalDomain: () => unmarshalDomain,
|
|
40
|
+
unmarshalForwarding: () => unmarshalForwarding,
|
|
33
41
|
unmarshalGetDomainRecordsResponse: () => unmarshalGetDomainRecordsResponse,
|
|
34
42
|
unmarshalListAliasesResponse: () => unmarshalListAliasesResponse,
|
|
35
43
|
unmarshalListDomainsResponse: () => unmarshalListDomainsResponse,
|
|
44
|
+
unmarshalListForwardingsResponse: () => unmarshalListForwardingsResponse,
|
|
36
45
|
unmarshalListMailboxesResponse: () => unmarshalListMailboxesResponse,
|
|
37
|
-
unmarshalMailbox: () => unmarshalMailbox
|
|
46
|
+
unmarshalMailbox: () => unmarshalMailbox,
|
|
47
|
+
unmarshalMailboxForwarding: () => unmarshalMailboxForwarding
|
|
38
48
|
});
|
|
49
|
+
|
|
39
50
|
//#endregion
|
|
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 };
|
|
51
|
+
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, FORWARDING_STATUSES, FORWARDING_TRANSIENT_STATUSES, LIST_ALIASES_REQUEST_ORDER_BIES, LIST_DOMAINS_REQUEST_ORDER_BIES, LIST_FORWARDINGS_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, marshalCreateForwardingRequest, marshalUpdateAliasRequest, marshalUpdateForwardingRequest, marshalUpdateMailboxForwardingRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalForwarding, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListForwardingsResponse, unmarshalListMailboxesResponse, unmarshalMailbox, unmarshalMailboxForwarding };
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Alias, BatchCreateMailboxesRequest, BatchCreateMailboxesResponse, CreateAliasRequest, CreateDomainRequest, CreateForwardingRequest, Domain, Forwarding, GetDomainRecordsResponse, ListAliasesResponse, ListDomainsResponse, ListForwardingsResponse, ListMailboxesResponse, Mailbox, MailboxForwarding, UpdateAliasRequest, UpdateForwardingRequest, UpdateMailboxForwardingRequest, UpdateMailboxRequest } from "./types.gen.js";
|
|
2
|
+
import { DefaultValues } from "@scaleway/sdk-client";
|
|
3
|
+
//#region src/v1alpha1/marshalling.gen.d.ts
|
|
3
4
|
export declare const unmarshalMailbox: (data: unknown) => Mailbox;
|
|
4
5
|
export declare const unmarshalAlias: (data: unknown) => Alias;
|
|
5
6
|
export declare const unmarshalDomain: (data: unknown) => Domain;
|
|
7
|
+
export declare const unmarshalForwarding: (data: unknown) => Forwarding;
|
|
6
8
|
export declare const unmarshalBatchCreateMailboxesResponse: (data: unknown) => BatchCreateMailboxesResponse;
|
|
7
9
|
export declare const unmarshalGetDomainRecordsResponse: (data: unknown) => GetDomainRecordsResponse;
|
|
8
10
|
export declare const unmarshalListAliasesResponse: (data: unknown) => ListAliasesResponse;
|
|
9
11
|
export declare const unmarshalListDomainsResponse: (data: unknown) => ListDomainsResponse;
|
|
12
|
+
export declare const unmarshalListForwardingsResponse: (data: unknown) => ListForwardingsResponse;
|
|
10
13
|
export declare const unmarshalListMailboxesResponse: (data: unknown) => ListMailboxesResponse;
|
|
14
|
+
export declare const unmarshalMailboxForwarding: (data: unknown) => MailboxForwarding;
|
|
11
15
|
export declare const marshalBatchCreateMailboxesRequest: (request: BatchCreateMailboxesRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
12
16
|
export declare const marshalCreateAliasRequest: (request: CreateAliasRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
13
17
|
export declare const marshalCreateDomainRequest: (request: CreateDomainRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
18
|
+
export declare const marshalCreateForwardingRequest: (request: CreateForwardingRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
14
19
|
export declare const marshalUpdateAliasRequest: (request: UpdateAliasRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
20
|
+
export declare const marshalUpdateForwardingRequest: (request: UpdateForwardingRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
21
|
+
export declare const marshalUpdateMailboxForwardingRequest: (request: UpdateMailboxForwardingRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
15
22
|
export declare const marshalUpdateMailboxRequest: (request: UpdateMailboxRequest, defaults: DefaultValues) => Record<string, unknown>;
|
|
23
|
+
//#endregion
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isJSONObject, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
|
+
|
|
2
3
|
//#region src/v1alpha1/marshalling.gen.ts
|
|
3
4
|
const unmarshalMailbox = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Mailbox' failed as data isn't a dictionary.`);
|
|
@@ -47,6 +48,17 @@ const unmarshalDomain = (data) => {
|
|
|
47
48
|
webmailUrl: data.webmail_url
|
|
48
49
|
};
|
|
49
50
|
};
|
|
51
|
+
const unmarshalForwarding = (data) => {
|
|
52
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Forwarding' failed as data isn't a dictionary.`);
|
|
53
|
+
return {
|
|
54
|
+
createdAt: unmarshalDate(data.created_at),
|
|
55
|
+
email: data.email,
|
|
56
|
+
id: data.id,
|
|
57
|
+
mailboxId: data.mailbox_id,
|
|
58
|
+
status: data.status,
|
|
59
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
60
|
+
};
|
|
61
|
+
};
|
|
50
62
|
const unmarshalBatchCreateMailboxesResponse = (data) => {
|
|
51
63
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'BatchCreateMailboxesResponse' failed as data isn't a dictionary.`);
|
|
52
64
|
return { mailboxes: unmarshalArrayOfObject(data.mailboxes, unmarshalMailbox) };
|
|
@@ -97,6 +109,13 @@ const unmarshalListDomainsResponse = (data) => {
|
|
|
97
109
|
totalCount: data.total_count
|
|
98
110
|
};
|
|
99
111
|
};
|
|
112
|
+
const unmarshalListForwardingsResponse = (data) => {
|
|
113
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListForwardingsResponse' failed as data isn't a dictionary.`);
|
|
114
|
+
return {
|
|
115
|
+
forwardings: unmarshalArrayOfObject(data.forwardings, unmarshalForwarding),
|
|
116
|
+
totalCount: data.total_count
|
|
117
|
+
};
|
|
118
|
+
};
|
|
100
119
|
const unmarshalListMailboxesResponse = (data) => {
|
|
101
120
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListMailboxesResponse' failed as data isn't a dictionary.`);
|
|
102
121
|
return {
|
|
@@ -104,6 +123,16 @@ const unmarshalListMailboxesResponse = (data) => {
|
|
|
104
123
|
totalCount: data.total_count
|
|
105
124
|
};
|
|
106
125
|
};
|
|
126
|
+
const unmarshalMailboxForwarding = (data) => {
|
|
127
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'MailboxForwarding' failed as data isn't a dictionary.`);
|
|
128
|
+
return {
|
|
129
|
+
createdAt: unmarshalDate(data.created_at),
|
|
130
|
+
enabled: data.enabled,
|
|
131
|
+
keepCopy: data.keep_copy,
|
|
132
|
+
mailboxId: data.mailbox_id,
|
|
133
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
134
|
+
};
|
|
135
|
+
};
|
|
107
136
|
const marshalBatchCreateMailboxesRequestMailboxParameters = (request, defaults) => ({
|
|
108
137
|
local_part: request.localPart,
|
|
109
138
|
password: request.password
|
|
@@ -122,10 +151,20 @@ const marshalCreateDomainRequest = (request, defaults) => ({
|
|
|
122
151
|
name: request.name,
|
|
123
152
|
project_id: request.projectId ?? defaults.defaultProjectId
|
|
124
153
|
});
|
|
154
|
+
const marshalCreateForwardingRequest = (request, defaults) => ({
|
|
155
|
+
email: request.email,
|
|
156
|
+
mailbox_id: request.mailboxId
|
|
157
|
+
});
|
|
125
158
|
const marshalUpdateAliasRequest = (request, defaults) => ({ description: request.description });
|
|
159
|
+
const marshalUpdateForwardingRequest = (request, defaults) => ({ email: request.email });
|
|
160
|
+
const marshalUpdateMailboxForwardingRequest = (request, defaults) => ({
|
|
161
|
+
enabled: request.enabled,
|
|
162
|
+
keep_copy: request.keepCopy
|
|
163
|
+
});
|
|
126
164
|
const marshalUpdateMailboxRequest = (request, defaults) => ({
|
|
127
165
|
new_password: request.newPassword,
|
|
128
166
|
subscription_period: request.subscriptionPeriod
|
|
129
167
|
});
|
|
168
|
+
|
|
130
169
|
//#endregion
|
|
131
|
-
export { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalUpdateAliasRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListMailboxesResponse, unmarshalMailbox };
|
|
170
|
+
export { marshalBatchCreateMailboxesRequest, marshalCreateAliasRequest, marshalCreateDomainRequest, marshalCreateForwardingRequest, marshalUpdateAliasRequest, marshalUpdateForwardingRequest, marshalUpdateMailboxForwardingRequest, marshalUpdateMailboxRequest, unmarshalAlias, unmarshalBatchCreateMailboxesResponse, unmarshalDomain, unmarshalForwarding, unmarshalGetDomainRecordsResponse, unmarshalListAliasesResponse, unmarshalListDomainsResponse, unmarshalListForwardingsResponse, unmarshalListMailboxesResponse, unmarshalMailbox, unmarshalMailboxForwarding };
|
|
@@ -1,92 +1,128 @@
|
|
|
1
|
+
//#region src/v1alpha1/metadata.gen.d.ts
|
|
1
2
|
export declare const queriesMetadata: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
3
|
+
readonly namespace: 'mailbox';
|
|
4
|
+
readonly version: 'v1alpha1';
|
|
5
|
+
readonly folderName: 'mailboxv1alpha1';
|
|
6
|
+
readonly services: readonly [{
|
|
7
|
+
readonly apiClass: 'API';
|
|
8
|
+
readonly methods: readonly [{
|
|
9
|
+
readonly methodName: 'listDomains';
|
|
10
|
+
readonly protoName: 'ListDomains';
|
|
11
|
+
readonly paramsType: 'ListDomainsRequest';
|
|
12
|
+
readonly returnType: 'ListDomainsResponse';
|
|
13
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
14
|
+
readonly isList: true;
|
|
15
|
+
readonly paginationType: 'offset';
|
|
16
|
+
readonly pageParamKey: 'page';
|
|
17
|
+
readonly listItemType: 'Domain';
|
|
18
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
19
|
+
readonly isPrivate: false;
|
|
20
|
+
readonly description: '"';
|
|
21
|
+
}, {
|
|
22
|
+
readonly methodName: 'getDomain';
|
|
23
|
+
readonly protoName: 'GetDomain';
|
|
24
|
+
readonly paramsType: 'GetDomainRequest';
|
|
25
|
+
readonly returnType: 'Domain';
|
|
26
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
27
|
+
readonly isList: false;
|
|
28
|
+
readonly paginationType: 'none';
|
|
29
|
+
readonly isPrivate: false;
|
|
30
|
+
readonly description: '"';
|
|
31
|
+
readonly hasWaiter: true;
|
|
32
|
+
}, {
|
|
33
|
+
readonly methodName: 'getDomainRecords';
|
|
34
|
+
readonly protoName: 'GetDomainRecords';
|
|
35
|
+
readonly paramsType: 'GetDomainRecordsRequest';
|
|
36
|
+
readonly returnType: 'GetDomainRecordsResponse';
|
|
37
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
38
|
+
readonly isList: false;
|
|
39
|
+
readonly paginationType: 'none';
|
|
40
|
+
readonly isPrivate: false;
|
|
41
|
+
readonly description: '"';
|
|
42
|
+
}, {
|
|
43
|
+
readonly methodName: 'listMailboxes';
|
|
44
|
+
readonly protoName: 'ListMailboxes';
|
|
45
|
+
readonly paramsType: 'ListMailboxesRequest';
|
|
46
|
+
readonly returnType: 'ListMailboxesResponse';
|
|
47
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
48
|
+
readonly isList: true;
|
|
49
|
+
readonly paginationType: 'offset';
|
|
50
|
+
readonly pageParamKey: 'page';
|
|
51
|
+
readonly listItemType: 'Mailbox';
|
|
52
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
53
|
+
readonly isPrivate: false;
|
|
54
|
+
readonly description: '"';
|
|
55
|
+
}, {
|
|
56
|
+
readonly methodName: 'getMailbox';
|
|
57
|
+
readonly protoName: 'GetMailbox';
|
|
58
|
+
readonly paramsType: 'GetMailboxRequest';
|
|
59
|
+
readonly returnType: 'Mailbox';
|
|
60
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
61
|
+
readonly isList: false;
|
|
62
|
+
readonly paginationType: 'none';
|
|
63
|
+
readonly isPrivate: false;
|
|
64
|
+
readonly description: '"';
|
|
65
|
+
readonly hasWaiter: true;
|
|
66
|
+
}, {
|
|
67
|
+
readonly methodName: 'listAliases';
|
|
68
|
+
readonly protoName: 'ListAliases';
|
|
69
|
+
readonly paramsType: 'ListAliasesRequest';
|
|
70
|
+
readonly returnType: 'ListAliasesResponse';
|
|
71
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
72
|
+
readonly isList: true;
|
|
73
|
+
readonly paginationType: 'offset';
|
|
74
|
+
readonly pageParamKey: 'page';
|
|
75
|
+
readonly listItemType: 'Alias';
|
|
76
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
77
|
+
readonly isPrivate: false;
|
|
78
|
+
readonly description: '"';
|
|
79
|
+
}, {
|
|
80
|
+
readonly methodName: 'getAlias';
|
|
81
|
+
readonly protoName: 'GetAlias';
|
|
82
|
+
readonly paramsType: 'GetAliasRequest';
|
|
83
|
+
readonly returnType: 'Alias';
|
|
84
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
85
|
+
readonly isList: false;
|
|
86
|
+
readonly paginationType: 'none';
|
|
87
|
+
readonly isPrivate: false;
|
|
88
|
+
readonly description: '"';
|
|
89
|
+
readonly hasWaiter: true;
|
|
90
|
+
}, {
|
|
91
|
+
readonly methodName: 'listForwardings';
|
|
92
|
+
readonly protoName: 'ListForwardings';
|
|
93
|
+
readonly paramsType: 'ListForwardingsRequest';
|
|
94
|
+
readonly returnType: 'ListForwardingsResponse';
|
|
95
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
96
|
+
readonly isList: true;
|
|
97
|
+
readonly paginationType: 'offset';
|
|
98
|
+
readonly pageParamKey: 'page';
|
|
99
|
+
readonly listItemType: 'Forwarding';
|
|
100
|
+
readonly listItemTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
101
|
+
readonly isPrivate: false;
|
|
102
|
+
readonly description: '"';
|
|
103
|
+
}, {
|
|
104
|
+
readonly methodName: 'getForwarding';
|
|
105
|
+
readonly protoName: 'GetForwarding';
|
|
106
|
+
readonly paramsType: 'GetForwardingRequest';
|
|
107
|
+
readonly returnType: 'Forwarding';
|
|
108
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
109
|
+
readonly isList: false;
|
|
110
|
+
readonly paginationType: 'none';
|
|
111
|
+
readonly isPrivate: false;
|
|
112
|
+
readonly description: '"';
|
|
113
|
+
readonly hasWaiter: true;
|
|
114
|
+
}, {
|
|
115
|
+
readonly methodName: 'getMailboxForwarding';
|
|
116
|
+
readonly protoName: 'GetMailboxForwarding';
|
|
117
|
+
readonly paramsType: 'GetMailboxForwardingRequest';
|
|
118
|
+
readonly returnType: 'MailboxForwarding';
|
|
119
|
+
readonly returnTypeNamespace: '@scaleway/sdk-mailbox/v1alpha1';
|
|
120
|
+
readonly isList: false;
|
|
121
|
+
readonly paginationType: 'none';
|
|
122
|
+
readonly isPrivate: false;
|
|
123
|
+
readonly description: '"';
|
|
90
124
|
}];
|
|
125
|
+
}];
|
|
91
126
|
};
|
|
92
127
|
export type QueriesMetadata = typeof queriesMetadata;
|
|
128
|
+
//#endregion
|