@scaleway/sdk-webhosting 1.0.1
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/index.gen.cjs +4 -0
- package/dist/index.gen.d.ts +5 -0
- package/dist/index.gen.js +4 -0
- package/dist/v1/api.gen.cjs +747 -0
- package/dist/v1/api.gen.d.ts +362 -0
- package/dist/v1/api.gen.js +747 -0
- package/dist/v1/content.gen.cjs +12 -0
- package/dist/v1/content.gen.d.ts +7 -0
- package/dist/v1/content.gen.js +12 -0
- package/dist/v1/index.gen.cjs +52 -0
- package/dist/v1/index.gen.d.ts +5 -0
- package/dist/v1/index.gen.js +52 -0
- package/dist/v1/marshalling.gen.cjs +578 -0
- package/dist/v1/marshalling.gen.d.ts +36 -0
- package/dist/v1/marshalling.gen.js +578 -0
- package/dist/v1/types.gen.d.ts +1303 -0
- package/dist/v1/validation-rules.gen.cjs +82 -0
- package/dist/v1/validation-rules.gen.d.ts +72 -0
- package/dist/v1/validation-rules.gen.js +82 -0
- package/package.json +51 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const DOMAIN_AVAILABILITY_TRANSIENT_STATUSES = ["validating"];
|
|
4
|
+
const DOMAIN_TRANSIENT_STATUSES = ["validating"];
|
|
5
|
+
const HOSTING_TRANSIENT_STATUSES = [
|
|
6
|
+
"delivering",
|
|
7
|
+
"deleting",
|
|
8
|
+
"migrating"
|
|
9
|
+
];
|
|
10
|
+
exports.DOMAIN_AVAILABILITY_TRANSIENT_STATUSES = DOMAIN_AVAILABILITY_TRANSIENT_STATUSES;
|
|
11
|
+
exports.DOMAIN_TRANSIENT_STATUSES = DOMAIN_TRANSIENT_STATUSES;
|
|
12
|
+
exports.HOSTING_TRANSIENT_STATUSES = HOSTING_TRANSIENT_STATUSES;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DomainAvailabilityStatus, DomainStatus, HostingStatus } from './types.gen';
|
|
2
|
+
/** Lists transient statutes of the enum {@link DomainAvailabilityStatus}. */
|
|
3
|
+
export declare const DOMAIN_AVAILABILITY_TRANSIENT_STATUSES: DomainAvailabilityStatus[];
|
|
4
|
+
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
5
|
+
export declare const DOMAIN_TRANSIENT_STATUSES: DomainStatus[];
|
|
6
|
+
/** Lists transient statutes of the enum {@link HostingStatus}. */
|
|
7
|
+
export declare const HOSTING_TRANSIENT_STATUSES: HostingStatus[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const DOMAIN_AVAILABILITY_TRANSIENT_STATUSES = ["validating"];
|
|
2
|
+
const DOMAIN_TRANSIENT_STATUSES = ["validating"];
|
|
3
|
+
const HOSTING_TRANSIENT_STATUSES = [
|
|
4
|
+
"delivering",
|
|
5
|
+
"deleting",
|
|
6
|
+
"migrating"
|
|
7
|
+
];
|
|
8
|
+
export {
|
|
9
|
+
DOMAIN_AVAILABILITY_TRANSIENT_STATUSES,
|
|
10
|
+
DOMAIN_TRANSIENT_STATUSES,
|
|
11
|
+
HOSTING_TRANSIENT_STATUSES
|
|
12
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const api_gen = require("./api.gen.cjs");
|
|
4
|
+
const content_gen = require("./content.gen.cjs");
|
|
5
|
+
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
6
|
+
const validationRules_gen = require("./validation-rules.gen.cjs");
|
|
7
|
+
exports.ControlPanelAPI = api_gen.ControlPanelAPI;
|
|
8
|
+
exports.DatabaseAPI = api_gen.DatabaseAPI;
|
|
9
|
+
exports.DnsAPI = api_gen.DnsAPI;
|
|
10
|
+
exports.FtpAccountAPI = api_gen.FtpAccountAPI;
|
|
11
|
+
exports.HostingAPI = api_gen.HostingAPI;
|
|
12
|
+
exports.MailAccountAPI = api_gen.MailAccountAPI;
|
|
13
|
+
exports.OfferAPI = api_gen.OfferAPI;
|
|
14
|
+
exports.WebsiteAPI = api_gen.WebsiteAPI;
|
|
15
|
+
exports.DOMAIN_AVAILABILITY_TRANSIENT_STATUSES = content_gen.DOMAIN_AVAILABILITY_TRANSIENT_STATUSES;
|
|
16
|
+
exports.DOMAIN_TRANSIENT_STATUSES = content_gen.DOMAIN_TRANSIENT_STATUSES;
|
|
17
|
+
exports.HOSTING_TRANSIENT_STATUSES = content_gen.HOSTING_TRANSIENT_STATUSES;
|
|
18
|
+
exports.marshalDatabaseApiAssignDatabaseUserRequest = marshalling_gen.marshalDatabaseApiAssignDatabaseUserRequest;
|
|
19
|
+
exports.marshalDatabaseApiChangeDatabaseUserPasswordRequest = marshalling_gen.marshalDatabaseApiChangeDatabaseUserPasswordRequest;
|
|
20
|
+
exports.marshalDatabaseApiCreateDatabaseRequest = marshalling_gen.marshalDatabaseApiCreateDatabaseRequest;
|
|
21
|
+
exports.marshalDatabaseApiCreateDatabaseUserRequest = marshalling_gen.marshalDatabaseApiCreateDatabaseUserRequest;
|
|
22
|
+
exports.marshalDatabaseApiUnassignDatabaseUserRequest = marshalling_gen.marshalDatabaseApiUnassignDatabaseUserRequest;
|
|
23
|
+
exports.marshalDnsApiCheckUserOwnsDomainRequest = marshalling_gen.marshalDnsApiCheckUserOwnsDomainRequest;
|
|
24
|
+
exports.marshalDnsApiSyncDomainDnsRecordsRequest = marshalling_gen.marshalDnsApiSyncDomainDnsRecordsRequest;
|
|
25
|
+
exports.marshalFtpAccountApiChangeFtpAccountPasswordRequest = marshalling_gen.marshalFtpAccountApiChangeFtpAccountPasswordRequest;
|
|
26
|
+
exports.marshalFtpAccountApiCreateFtpAccountRequest = marshalling_gen.marshalFtpAccountApiCreateFtpAccountRequest;
|
|
27
|
+
exports.marshalHostingApiCreateHostingRequest = marshalling_gen.marshalHostingApiCreateHostingRequest;
|
|
28
|
+
exports.marshalHostingApiUpdateHostingRequest = marshalling_gen.marshalHostingApiUpdateHostingRequest;
|
|
29
|
+
exports.marshalMailAccountApiChangeMailAccountPasswordRequest = marshalling_gen.marshalMailAccountApiChangeMailAccountPasswordRequest;
|
|
30
|
+
exports.marshalMailAccountApiCreateMailAccountRequest = marshalling_gen.marshalMailAccountApiCreateMailAccountRequest;
|
|
31
|
+
exports.marshalMailAccountApiRemoveMailAccountRequest = marshalling_gen.marshalMailAccountApiRemoveMailAccountRequest;
|
|
32
|
+
exports.unmarshalCheckUserOwnsDomainResponse = marshalling_gen.unmarshalCheckUserOwnsDomainResponse;
|
|
33
|
+
exports.unmarshalDatabase = marshalling_gen.unmarshalDatabase;
|
|
34
|
+
exports.unmarshalDatabaseUser = marshalling_gen.unmarshalDatabaseUser;
|
|
35
|
+
exports.unmarshalDnsRecords = marshalling_gen.unmarshalDnsRecords;
|
|
36
|
+
exports.unmarshalDomain = marshalling_gen.unmarshalDomain;
|
|
37
|
+
exports.unmarshalFtpAccount = marshalling_gen.unmarshalFtpAccount;
|
|
38
|
+
exports.unmarshalHosting = marshalling_gen.unmarshalHosting;
|
|
39
|
+
exports.unmarshalListControlPanelsResponse = marshalling_gen.unmarshalListControlPanelsResponse;
|
|
40
|
+
exports.unmarshalListDatabaseUsersResponse = marshalling_gen.unmarshalListDatabaseUsersResponse;
|
|
41
|
+
exports.unmarshalListDatabasesResponse = marshalling_gen.unmarshalListDatabasesResponse;
|
|
42
|
+
exports.unmarshalListFtpAccountsResponse = marshalling_gen.unmarshalListFtpAccountsResponse;
|
|
43
|
+
exports.unmarshalListHostingsResponse = marshalling_gen.unmarshalListHostingsResponse;
|
|
44
|
+
exports.unmarshalListMailAccountsResponse = marshalling_gen.unmarshalListMailAccountsResponse;
|
|
45
|
+
exports.unmarshalListOffersResponse = marshalling_gen.unmarshalListOffersResponse;
|
|
46
|
+
exports.unmarshalListWebsitesResponse = marshalling_gen.unmarshalListWebsitesResponse;
|
|
47
|
+
exports.unmarshalMailAccount = marshalling_gen.unmarshalMailAccount;
|
|
48
|
+
exports.unmarshalResetHostingPasswordResponse = marshalling_gen.unmarshalResetHostingPasswordResponse;
|
|
49
|
+
exports.unmarshalResourceSummary = marshalling_gen.unmarshalResourceSummary;
|
|
50
|
+
exports.unmarshalSearchDomainsResponse = marshalling_gen.unmarshalSearchDomainsResponse;
|
|
51
|
+
exports.unmarshalSession = marshalling_gen.unmarshalSession;
|
|
52
|
+
exports.ValidationRules = validationRules_gen;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ControlPanelAPI, DatabaseAPI, DnsAPI, FtpAccountAPI, HostingAPI, MailAccountAPI, OfferAPI, WebsiteAPI, } from './api.gen';
|
|
2
|
+
export * from './content.gen';
|
|
3
|
+
export * from './marshalling.gen';
|
|
4
|
+
export type { AutoConfigDomainDns, CheckUserOwnsDomainResponse, ControlPanel, ControlPanelApiListControlPanelsRequest, CreateDatabaseRequestUser, CreateHostingRequestDomainConfiguration, Database, DatabaseApiAssignDatabaseUserRequest, DatabaseApiChangeDatabaseUserPasswordRequest, DatabaseApiCreateDatabaseRequest, DatabaseApiCreateDatabaseUserRequest, DatabaseApiDeleteDatabaseRequest, DatabaseApiDeleteDatabaseUserRequest, DatabaseApiGetDatabaseRequest, DatabaseApiGetDatabaseUserRequest, DatabaseApiListDatabaseUsersRequest, DatabaseApiListDatabasesRequest, DatabaseApiUnassignDatabaseUserRequest, DatabaseUser, DnsApiCheckUserOwnsDomainRequest, DnsApiGetDomainDnsRecordsRequest, DnsApiGetDomainRequest, DnsApiSearchDomainsRequest, DnsApiSyncDomainDnsRecordsRequest, DnsRecord, DnsRecordStatus, DnsRecordType, DnsRecords, DnsRecordsStatus, Domain, DomainAction, DomainAvailability, DomainAvailabilityAction, DomainAvailabilityStatus, DomainDnsAction, DomainStatus, DomainZoneOwner, FtpAccount, FtpAccountApiChangeFtpAccountPasswordRequest, FtpAccountApiCreateFtpAccountRequest, FtpAccountApiListFtpAccountsRequest, FtpAccountApiRemoveFtpAccountRequest, Hosting, HostingApiCreateHostingRequest, HostingApiCreateSessionRequest, HostingApiDeleteHostingRequest, HostingApiGetHostingRequest, HostingApiGetResourceSummaryRequest, HostingApiListHostingsRequest, HostingApiResetHostingPasswordRequest, HostingApiUpdateHostingRequest, HostingStatus, HostingSummary, HostingUser, ListControlPanelsResponse, ListDatabaseUsersRequestOrderBy, ListDatabaseUsersResponse, ListDatabasesRequestOrderBy, ListDatabasesResponse, ListFtpAccountsRequestOrderBy, ListFtpAccountsResponse, ListHostingsRequestOrderBy, ListHostingsResponse, ListMailAccountsRequestOrderBy, ListMailAccountsResponse, ListOffersRequestOrderBy, ListOffersResponse, ListWebsitesRequestOrderBy, ListWebsitesResponse, MailAccount, MailAccountApiChangeMailAccountPasswordRequest, MailAccountApiCreateMailAccountRequest, MailAccountApiListMailAccountsRequest, MailAccountApiRemoveMailAccountRequest, Nameserver, NameserverStatus, Offer, OfferApiListOffersRequest, OfferOption, OfferOptionName, OfferOptionRequest, OfferOptionWarning, Platform, PlatformControlPanel, PlatformControlPanelUrls, PlatformPlatformGroup, ResetHostingPasswordResponse, ResourceSummary, SearchDomainsResponse, Session, SyncDomainDnsRecordsRequestRecord, Website, WebsiteApiListWebsitesRequest, } from './types.gen';
|
|
5
|
+
export * as ValidationRules from './validation-rules.gen';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ControlPanelAPI, DatabaseAPI, DnsAPI, FtpAccountAPI, HostingAPI, MailAccountAPI, OfferAPI, WebsiteAPI } from "./api.gen.js";
|
|
2
|
+
import { DOMAIN_AVAILABILITY_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, HOSTING_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
|
+
import { marshalDatabaseApiAssignDatabaseUserRequest, marshalDatabaseApiChangeDatabaseUserPasswordRequest, marshalDatabaseApiCreateDatabaseRequest, marshalDatabaseApiCreateDatabaseUserRequest, marshalDatabaseApiUnassignDatabaseUserRequest, marshalDnsApiCheckUserOwnsDomainRequest, marshalDnsApiSyncDomainDnsRecordsRequest, marshalFtpAccountApiChangeFtpAccountPasswordRequest, marshalFtpAccountApiCreateFtpAccountRequest, marshalHostingApiCreateHostingRequest, marshalHostingApiUpdateHostingRequest, marshalMailAccountApiChangeMailAccountPasswordRequest, marshalMailAccountApiCreateMailAccountRequest, marshalMailAccountApiRemoveMailAccountRequest, unmarshalCheckUserOwnsDomainResponse, unmarshalDatabase, unmarshalDatabaseUser, unmarshalDnsRecords, unmarshalDomain, unmarshalFtpAccount, unmarshalHosting, unmarshalListControlPanelsResponse, unmarshalListDatabaseUsersResponse, unmarshalListDatabasesResponse, unmarshalListFtpAccountsResponse, unmarshalListHostingsResponse, unmarshalListMailAccountsResponse, unmarshalListOffersResponse, unmarshalListWebsitesResponse, unmarshalMailAccount, unmarshalResetHostingPasswordResponse, unmarshalResourceSummary, unmarshalSearchDomainsResponse, unmarshalSession } from "./marshalling.gen.js";
|
|
4
|
+
import * as validationRules_gen from "./validation-rules.gen.js";
|
|
5
|
+
export {
|
|
6
|
+
ControlPanelAPI,
|
|
7
|
+
DOMAIN_AVAILABILITY_TRANSIENT_STATUSES,
|
|
8
|
+
DOMAIN_TRANSIENT_STATUSES,
|
|
9
|
+
DatabaseAPI,
|
|
10
|
+
DnsAPI,
|
|
11
|
+
FtpAccountAPI,
|
|
12
|
+
HOSTING_TRANSIENT_STATUSES,
|
|
13
|
+
HostingAPI,
|
|
14
|
+
MailAccountAPI,
|
|
15
|
+
OfferAPI,
|
|
16
|
+
validationRules_gen as ValidationRules,
|
|
17
|
+
WebsiteAPI,
|
|
18
|
+
marshalDatabaseApiAssignDatabaseUserRequest,
|
|
19
|
+
marshalDatabaseApiChangeDatabaseUserPasswordRequest,
|
|
20
|
+
marshalDatabaseApiCreateDatabaseRequest,
|
|
21
|
+
marshalDatabaseApiCreateDatabaseUserRequest,
|
|
22
|
+
marshalDatabaseApiUnassignDatabaseUserRequest,
|
|
23
|
+
marshalDnsApiCheckUserOwnsDomainRequest,
|
|
24
|
+
marshalDnsApiSyncDomainDnsRecordsRequest,
|
|
25
|
+
marshalFtpAccountApiChangeFtpAccountPasswordRequest,
|
|
26
|
+
marshalFtpAccountApiCreateFtpAccountRequest,
|
|
27
|
+
marshalHostingApiCreateHostingRequest,
|
|
28
|
+
marshalHostingApiUpdateHostingRequest,
|
|
29
|
+
marshalMailAccountApiChangeMailAccountPasswordRequest,
|
|
30
|
+
marshalMailAccountApiCreateMailAccountRequest,
|
|
31
|
+
marshalMailAccountApiRemoveMailAccountRequest,
|
|
32
|
+
unmarshalCheckUserOwnsDomainResponse,
|
|
33
|
+
unmarshalDatabase,
|
|
34
|
+
unmarshalDatabaseUser,
|
|
35
|
+
unmarshalDnsRecords,
|
|
36
|
+
unmarshalDomain,
|
|
37
|
+
unmarshalFtpAccount,
|
|
38
|
+
unmarshalHosting,
|
|
39
|
+
unmarshalListControlPanelsResponse,
|
|
40
|
+
unmarshalListDatabaseUsersResponse,
|
|
41
|
+
unmarshalListDatabasesResponse,
|
|
42
|
+
unmarshalListFtpAccountsResponse,
|
|
43
|
+
unmarshalListHostingsResponse,
|
|
44
|
+
unmarshalListMailAccountsResponse,
|
|
45
|
+
unmarshalListOffersResponse,
|
|
46
|
+
unmarshalListWebsitesResponse,
|
|
47
|
+
unmarshalMailAccount,
|
|
48
|
+
unmarshalResetHostingPasswordResponse,
|
|
49
|
+
unmarshalResourceSummary,
|
|
50
|
+
unmarshalSearchDomainsResponse,
|
|
51
|
+
unmarshalSession
|
|
52
|
+
};
|