@vertracloud/api-types 0.4.2 → 0.4.3
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/package.json +1 -1
- package/payloads/v1/api-error.d.ts +8 -0
- package/payloads/v1/api-error.js +4 -0
- package/payloads/v1/api-error.js.map +1 -1
- package/payloads/v1/api-error.mjs +4 -0
- package/payloads/v1/application.d.ts +20 -2
- package/payloads/v1/application.js +14 -1
- package/payloads/v1/application.js.map +1 -1
- package/payloads/v1/application.mjs +13 -1
- package/payloads/v1/index.d.ts +1 -1
- package/payloads/v1/index.js +18 -1
- package/payloads/v1/index.js.map +1 -1
- package/payloads/v1/index.mjs +17 -1
- package/rest/v1/application.d.ts +4 -4
- package/rest/v1/application.js.map +1 -1
- package/v1.d.ts +1 -1
- package/v1.js +18 -1
- package/v1.js.map +1 -1
- package/v1.mjs +17 -1
package/v1.mjs
CHANGED
|
@@ -455,6 +455,8 @@ var API_ERROR_CODES = {
|
|
|
455
455
|
APP_BANNED: "APP_BANNED",
|
|
456
456
|
APP_ALREADY_PUBLISHED: "APP_ALREADY_PUBLISHED",
|
|
457
457
|
APP_HAS_NO_SUBDOMAIN: "APP_HAS_NO_SUBDOMAIN",
|
|
458
|
+
/** 409 — the application is still building; wait until the build ends. */
|
|
459
|
+
APP_BUILDING: "APP_BUILDING",
|
|
458
460
|
APP_NOT_FOUND: "APP_NOT_FOUND",
|
|
459
461
|
APP_NOT_PUBLISHED: "APP_NOT_PUBLISHED",
|
|
460
462
|
APP_ALREADY_IN_WORKSPACE: "APP_ALREADY_IN_WORKSPACE",
|
|
@@ -507,6 +509,8 @@ var API_ERROR_CODES = {
|
|
|
507
509
|
STORAGE_QUOTA_EXCEEDED: "STORAGE_QUOTA_EXCEEDED",
|
|
508
510
|
BUILD_FAILED: "BUILD_FAILED",
|
|
509
511
|
BUILD_TIMEOUT: "BUILD_TIMEOUT",
|
|
512
|
+
/** The build was interrupted before it finished; start it again with a restart. */
|
|
513
|
+
BUILD_INTERRUPTED: "BUILD_INTERRUPTED",
|
|
510
514
|
/** 400 — the order needs complete billing details for the service invoice (name, address and, in Brazil, CPF/CNPJ). Fill them with `PUT /v1/users/me/billing`. */
|
|
511
515
|
BILLING_DETAILS_INCOMPLETE: "BILLING_DETAILS_INCOMPLETE",
|
|
512
516
|
/** 400 — billing details failed validation; the field is in `details.path`. */
|
|
@@ -683,7 +687,18 @@ var ApplicationLanguage = {
|
|
|
683
687
|
};
|
|
684
688
|
var ApplicationStatus = {
|
|
685
689
|
UP: "up",
|
|
686
|
-
DOWN: "down"
|
|
690
|
+
DOWN: "down",
|
|
691
|
+
/** First build and start in progress after `POST /v1/apps`; ends as `up` or `down`. */
|
|
692
|
+
BUILDING: "building"
|
|
693
|
+
};
|
|
694
|
+
var ApplicationBuildError = {
|
|
695
|
+
BUILD_FAILED: "BUILD_FAILED",
|
|
696
|
+
BUILD_TIMEOUT: "BUILD_TIMEOUT",
|
|
697
|
+
INSTALL_FAILED: "INSTALL_FAILED",
|
|
698
|
+
INSTALL_OUT_OF_MEMORY: "INSTALL_OUT_OF_MEMORY",
|
|
699
|
+
INSTALL_TIMEOUT: "INSTALL_TIMEOUT",
|
|
700
|
+
INSTALL_SHIELD_BLOCKED: "INSTALL_SHIELD_BLOCKED",
|
|
701
|
+
BUILD_INTERRUPTED: "BUILD_INTERRUPTED"
|
|
687
702
|
};
|
|
688
703
|
var ApplicationCluster = {
|
|
689
704
|
USA_1: 1,
|
|
@@ -903,6 +918,7 @@ export {
|
|
|
903
918
|
ActivityOrigin,
|
|
904
919
|
ActivityStatus,
|
|
905
920
|
ActivityTargetType,
|
|
921
|
+
ApplicationBuildError,
|
|
906
922
|
ApplicationCluster,
|
|
907
923
|
ApplicationDnsRecordStatus,
|
|
908
924
|
ApplicationDnsRecordType,
|