@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/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,