@brimble/models 3.8.77 → 3.8.79
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/dist/activity-log.d.ts +6 -27
- package/dist/alert-event.d.ts +9 -0
- package/dist/alert-event.js +78 -0
- package/dist/alert-rule-state.d.ts +9 -0
- package/dist/alert-rule-state.js +49 -0
- package/dist/alert-rule.d.ts +9 -0
- package/dist/alert-rule.js +77 -0
- package/dist/app-message.d.ts +6 -27
- package/dist/app-message.js +2 -2
- package/dist/auto-scaling.d.ts +6 -27
- package/dist/card.d.ts +6 -27
- package/dist/cashier_subscription.d.ts +6 -27
- package/dist/cashier_subscription_item.d.ts +6 -27
- package/dist/collab-annotation.d.ts +6 -27
- package/dist/collab-comment.d.ts +6 -27
- package/dist/collab-integration.d.ts +6 -27
- package/dist/collab-push-subscription.d.ts +6 -27
- package/dist/collab-settings.d.ts +6 -27
- package/dist/collab-share-token.d.ts +6 -27
- package/dist/compute.d.ts +6 -27
- package/dist/compute.js +6 -0
- package/dist/db-image.d.ts +6 -27
- package/dist/db-image.js +19 -0
- package/dist/domain/dns-changelog.d.ts +9 -0
- package/dist/domain/dns-changelog.js +82 -0
- package/dist/domain/dns.d.ts +6 -27
- package/dist/domain/index.d.ts +6 -27
- package/dist/domain/index.js +4 -0
- package/dist/domain/renewal.d.ts +6 -27
- package/dist/domain/transfer.d.ts +6 -27
- package/dist/enum/index.d.ts +184 -0
- package/dist/enum/index.js +273 -37
- package/dist/env.d.ts +6 -27
- package/dist/environment-variable.d.ts +6 -27
- package/dist/environment-variable.js +8 -0
- package/dist/follower.d.ts +6 -27
- package/dist/following.d.ts +6 -27
- package/dist/framework.d.ts +6 -27
- package/dist/idempotency.d.ts +9 -0
- package/dist/idempotency.js +17 -0
- package/dist/index.d.ts +25 -2
- package/dist/index.js +92 -3
- package/dist/integration.d.ts +6 -27
- package/dist/intention.d.ts +6 -27
- package/dist/invoice.d.ts +6 -27
- package/dist/job.d.ts +6 -2
- package/dist/job.js +17 -7
- package/dist/license.d.ts +6 -27
- package/dist/load-balancer-port.d.ts +6 -27
- package/dist/logs.d.ts +6 -27
- package/dist/logs.js +0 -2
- package/dist/member-permission.d.ts +6 -27
- package/dist/member.d.ts +6 -27
- package/dist/object-storage-usage-segment.d.ts +9 -0
- package/dist/object-storage-usage-segment.js +46 -0
- package/dist/ownership-transfer.d.ts +6 -27
- package/dist/permission.d.ts +6 -27
- package/dist/plan_configuration.d.ts +6 -2
- package/dist/plan_configuration.js +22 -0
- package/dist/project/connection.d.ts +6 -27
- package/dist/project/index.d.ts +12 -29
- package/dist/project/index.js +29 -0
- package/dist/project/preview.d.ts +6 -27
- package/dist/project-environment.d.ts +6 -27
- package/dist/project-network-settings.d.ts +9 -0
- package/dist/project-network-settings.js +34 -0
- package/dist/project-tag-assignment.d.ts +6 -27
- package/dist/project_analytics.d.ts +6 -27
- package/dist/provider.d.ts +6 -27
- package/dist/provider.js +1 -0
- package/dist/quest-campaign.d.ts +9 -0
- package/dist/quest-campaign.js +39 -0
- package/dist/quest-participation.d.ts +9 -0
- package/dist/quest-participation.js +21 -0
- package/dist/quest-reward-issuance.d.ts +9 -0
- package/dist/quest-reward-issuance.js +19 -0
- package/dist/ratelimit.d.ts +9 -0
- package/dist/ratelimit.js +36 -0
- package/dist/region.d.ts +7 -28
- package/dist/role.d.ts +6 -27
- package/dist/sandbox-activity.d.ts +9 -0
- package/dist/sandbox-activity.js +49 -0
- package/dist/sandbox-image.d.ts +9 -0
- package/dist/sandbox-image.js +31 -0
- package/dist/sandbox-snapshot-usage-segment.d.ts +9 -0
- package/dist/sandbox-snapshot-usage-segment.js +49 -0
- package/dist/sandbox-snapshot.d.ts +9 -0
- package/dist/sandbox-snapshot.js +51 -0
- package/dist/sandbox-usage-segment.d.ts +9 -0
- package/dist/sandbox-usage-segment.js +57 -0
- package/dist/sandbox.d.ts +9 -0
- package/dist/sandbox.js +142 -0
- package/dist/server.d.ts +6 -27
- package/dist/settings.d.ts +6 -27
- package/dist/storage.d.ts +43 -0
- package/dist/storage.js +118 -0
- package/dist/streak-day.d.ts +9 -0
- package/dist/streak-day.js +11 -0
- package/dist/streak-event.d.ts +9 -0
- package/dist/streak-event.js +18 -0
- package/dist/streak-milestone.d.ts +9 -0
- package/dist/streak-milestone.js +11 -0
- package/dist/streak.d.ts +9 -0
- package/dist/streak.js +17 -0
- package/dist/subscription.d.ts +6 -27
- package/dist/tag.d.ts +6 -27
- package/dist/team.d.ts +6 -27
- package/dist/team.js +26 -0
- package/dist/token.d.ts +6 -27
- package/dist/types/alert-event.d.ts +23 -0
- package/dist/types/alert-event.js +2 -0
- package/dist/types/alert-rule-state.d.ts +13 -0
- package/dist/types/alert-rule-state.js +2 -0
- package/dist/types/alert-rule.d.ts +21 -0
- package/dist/types/alert-rule.js +2 -0
- package/dist/types/app-message.d.ts +2 -2
- package/dist/types/auto-scaling-group.d.ts +1 -1
- package/dist/types/compute.d.ts +3 -1
- package/dist/types/db-image.d.ts +5 -1
- package/dist/types/domain/dns-changelog.d.ts +20 -0
- package/dist/types/domain/dns-changelog.js +2 -0
- package/dist/types/domain/index.d.ts +1 -0
- package/dist/types/environment-variable.d.ts +2 -0
- package/dist/types/idempotency.d.ts +10 -0
- package/dist/types/idempotency.js +2 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/object-storage-usage-segment.d.ts +23 -0
- package/dist/types/object-storage-usage-segment.js +2 -0
- package/dist/types/plan_configuration.d.ts +22 -0
- package/dist/types/project/index.d.ts +7 -0
- package/dist/types/project-network-settings.d.ts +28 -0
- package/dist/types/project-network-settings.js +2 -0
- package/dist/types/provider.d.ts +1 -0
- package/dist/types/quest-campaign.d.ts +38 -0
- package/dist/types/quest-campaign.js +2 -0
- package/dist/types/quest-participation.d.ts +19 -0
- package/dist/types/quest-participation.js +2 -0
- package/dist/types/quest-reward-issuance.d.ts +17 -0
- package/dist/types/quest-reward-issuance.js +2 -0
- package/dist/types/ratelimit.d.ts +41 -0
- package/dist/types/ratelimit.js +2 -0
- package/dist/types/region.d.ts +2 -2
- package/dist/types/sandbox-activity.d.ts +14 -0
- package/dist/types/sandbox-activity.js +2 -0
- package/dist/types/sandbox-image.d.ts +9 -0
- package/dist/types/sandbox-image.js +2 -0
- package/dist/types/sandbox-snapshot-usage-segment.d.ts +16 -0
- package/dist/types/sandbox-snapshot-usage-segment.js +2 -0
- package/dist/types/sandbox-snapshot.d.ts +16 -0
- package/dist/types/sandbox-snapshot.js +2 -0
- package/dist/types/sandbox-usage-segment.d.ts +25 -0
- package/dist/types/sandbox-usage-segment.js +2 -0
- package/dist/types/sandbox.d.ts +46 -0
- package/dist/types/sandbox.js +2 -0
- package/dist/types/storage.d.ts +131 -0
- package/dist/types/storage.js +2 -0
- package/dist/types/streak-day.d.ts +9 -0
- package/dist/types/streak-day.js +2 -0
- package/dist/types/streak-event.d.ts +13 -0
- package/dist/types/streak-event.js +2 -0
- package/dist/types/streak-milestone.d.ts +10 -0
- package/dist/types/streak-milestone.js +2 -0
- package/dist/types/streak.d.ts +17 -0
- package/dist/types/streak.js +2 -0
- package/dist/types/team.d.ts +8 -2
- package/dist/types/user.d.ts +4 -0
- package/dist/types/volume-usage-segment.d.ts +16 -0
- package/dist/types/volume-usage-segment.js +2 -0
- package/dist/types/volume.d.ts +9 -3
- package/dist/types/wallet.d.ts +1 -0
- package/dist/user.d.ts +6 -27
- package/dist/user.js +14 -0
- package/dist/volume-usage-segment.d.ts +9 -0
- package/dist/volume-usage-segment.js +46 -0
- package/dist/volume.d.ts +6 -27
- package/dist/volume.js +21 -4
- package/dist/wallet.d.ts +6 -27
- package/dist/wallet.js +4 -0
- package/dist/webhook-category.d.ts +6 -27
- package/dist/webhook-event.d.ts +6 -27
- package/dist/webhook-setting.d.ts +6 -27
- package/package.json +9 -5
- package/.claude/settings.local.json +0 -7
- package/.eslintrc.js +0 -26
- package/.prettierrc +0 -4
- package/activity-log.ts +0 -66
- package/app-message.ts +0 -18
- package/auto-scaling.ts +0 -72
- package/card.ts +0 -45
- package/cashier_subscription.ts +0 -35
- package/cashier_subscription_item.ts +0 -25
- package/collab-annotation.ts +0 -36
- package/collab-comment.ts +0 -27
- package/collab-integration.ts +0 -21
- package/collab-push-subscription.ts +0 -19
- package/collab-settings.ts +0 -29
- package/collab-share-token.ts +0 -15
- package/compute.ts +0 -88
- package/db-image.ts +0 -66
- package/domain/dns.ts +0 -34
- package/domain/index.ts +0 -109
- package/domain/renewal.ts +0 -25
- package/domain/transfer.ts +0 -112
- package/enum/index.ts +0 -257
- package/env.ts +0 -38
- package/environment-variable.ts +0 -21
- package/follower.ts +0 -19
- package/following.ts +0 -19
- package/framework.ts +0 -88
- package/index.ts +0 -199
- package/integration.ts +0 -39
- package/intention.ts +0 -40
- package/invoice.ts +0 -36
- package/job.ts +0 -30
- package/load-balancer-port.ts +0 -31
- package/logs.ts +0 -47
- package/member-permission.ts +0 -13
- package/member.ts +0 -44
- package/ownership-transfer.ts +0 -42
- package/permission.ts +0 -13
- package/plan_configuration.ts +0 -48
- package/project/connection.ts +0 -21
- package/project/index.ts +0 -238
- package/project/preview.ts +0 -41
- package/project-environment.ts +0 -18
- package/project-tag-assignment.ts +0 -40
- package/project_analytics.ts +0 -26
- package/provider.ts +0 -11
- package/region.ts +0 -18
- package/role.ts +0 -12
- package/server.ts +0 -105
- package/settings.ts +0 -53
- package/subscription.ts +0 -86
- package/tag.ts +0 -34
- package/team.ts +0 -60
- package/token.ts +0 -40
- package/tsconfig.json +0 -14
- package/types/activity-log.ts +0 -19
- package/types/app-message.ts +0 -16
- package/types/auto-scaling-group.ts +0 -21
- package/types/card.ts +0 -20
- package/types/cashier_subscription.ts +0 -29
- package/types/collab-annotation.ts +0 -28
- package/types/collab-comment.ts +0 -22
- package/types/collab-integration.ts +0 -14
- package/types/collab-push-subscription.ts +0 -10
- package/types/collab-settings.ts +0 -17
- package/types/collab-share-token.ts +0 -13
- package/types/compute.ts +0 -51
- package/types/db-image.ts +0 -18
- package/types/domain/dns.ts +0 -13
- package/types/domain/index.ts +0 -35
- package/types/domain/renewal.ts +0 -11
- package/types/domain/transfer.ts +0 -32
- package/types/env.ts +0 -14
- package/types/environment-variable.ts +0 -13
- package/types/following.ts +0 -6
- package/types/framework.ts +0 -41
- package/types/git.ts +0 -15
- package/types/index.ts +0 -56
- package/types/installed_integration.ts +0 -9
- package/types/integration.ts +0 -24
- package/types/intention.ts +0 -14
- package/types/invoice.ts +0 -16
- package/types/job.ts +0 -20
- package/types/license.ts +0 -19
- package/types/load-balancer-port.ts +0 -13
- package/types/logs.ts +0 -36
- package/types/member-permission.ts +0 -11
- package/types/member.ts +0 -19
- package/types/ownership-transfer.ts +0 -13
- package/types/permission.ts +0 -19
- package/types/plan_configuration.ts +0 -35
- package/types/project/connection.ts +0 -7
- package/types/project/index.ts +0 -96
- package/types/project/preview.ts +0 -22
- package/types/project-environment.ts +0 -14
- package/types/project-tag-assignment.ts +0 -14
- package/types/project_analytics.ts +0 -12
- package/types/provider.ts +0 -8
- package/types/region.ts +0 -16
- package/types/role.ts +0 -13
- package/types/server.ts +0 -59
- package/types/settings.ts +0 -19
- package/types/subscription.ts +0 -34
- package/types/tag.ts +0 -12
- package/types/team.ts +0 -19
- package/types/token.ts +0 -12
- package/types/user.ts +0 -41
- package/types/volume.ts +0 -15
- package/types/wallet.ts +0 -8
- package/types/webhook-category.ts +0 -5
- package/types/webhook-event.ts +0 -8
- package/types/webhook-setting.ts +0 -17
- package/user.ts +0 -61
- package/volume.ts +0 -36
- package/wallet.ts +0 -23
- package/webhook-category.ts +0 -11
- package/webhook-event.ts +0 -20
- package/webhook-setting.ts +0 -48
package/dist/enum/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.INVOICE_TYPE = exports.INVOICE_PAYMENT_STATUS = exports.INVOICE_STATUS = exports.COLLAB_TOOLBAR_POSITION = exports.COLLAB_THEME = exports.COLLAB_INTEGRATION_TYPE = exports.COLLAB_ANNOTATION_STATUS = exports.NomadDeploymentStatus = exports.DomainTransferStatus = exports.DomainTransferDirection = exports.DomainTransferProvider = exports.DomainRenewalStatus = exports.FrameworkApplicationType = exports.SCALING_METRIC = exports.SCALING_STRATEGY = exports.LicenseStatus = exports.JobStatus = exports.DatabaseEngine = exports.ServiceType = exports.REGION_CONTINENT = exports.PERMISSION_TYPE = exports.ROLES = exports.DNS_TYPE = exports.SERVER_STATUS = exports.OAUTH_PERMISSIONS = exports.SUBSCRIPTION_PLAN_TYPE = exports.SUBSCRIPTION_STATUS = exports.PROJECT_STATUS = exports.CARD_TYPES = exports.INTEGRATION_PROVIDERS = exports.INTEGRATION_TYPES = exports.ENVIRONMENT = exports.REQUEST_TYPE = exports.BUILD_DISABLED_BY = exports.SERVER_PROTOCOL = exports.GIT_TYPE = void 0;
|
|
3
|
+
exports.StorageBucketStatus = exports.SANDBOX_SNAPSHOT_STATUS = exports.SANDBOX_EGRESS_MODE = exports.SANDBOX_DESTROY_REASON = exports.SANDBOX_STATUS = exports.SANDBOX_TEMPLATE = exports.INVOICE_TYPE = exports.INVOICE_PAYMENT_STATUS = exports.INVOICE_STATUS = exports.COLLAB_TOOLBAR_POSITION = exports.COLLAB_THEME = exports.COLLAB_INTEGRATION_TYPE = exports.COLLAB_ANNOTATION_STATUS = exports.NomadDeploymentStatus = exports.DomainTransferStatus = exports.DomainTransferDirection = exports.DomainTransferProvider = exports.DomainRenewalStatus = exports.FrameworkApplicationType = exports.SCALING_SOURCE = exports.SCALING_METRIC = exports.SCALING_STRATEGY = exports.LicenseStatus = exports.JobStatus = exports.DatabaseEngine = exports.ServiceType = exports.REGION_CONTINENT = exports.PERMISSION_TYPE = exports.ROLES = exports.DNS_CHANGE_SOURCE = exports.DNS_CHANGE_TYPE = exports.DNS_TYPE = exports.SERVER_STATUS = exports.OAUTH_PERMISSIONS = exports.SUBSCRIPTION_PLAN_TYPE = exports.SUBSCRIPTION_STATUS = exports.AlertEventStatus = exports.AlertChannelMode = exports.AlertRuleState = exports.AlertCondition = exports.AlertMetric = exports.PROJECT_STATUS = exports.CARD_TYPES = exports.INTEGRATION_PROVIDERS = exports.INTEGRATION_TYPES = exports.ENVIRONMENT = exports.REQUEST_TYPE = exports.BUILD_DISABLED_BY = exports.SERVER_PROTOCOL = exports.GIT_TYPE = void 0;
|
|
4
|
+
exports.QUEST_TARGETLESS_REQUIREMENTS = exports.QUEST_CLAIM_REQUIREMENTS = exports.WorkbenchMode = exports.QuestRequirementType = exports.QuestEntity = exports.QuestCriterionType = exports.QuestRewardStatus = exports.RewardType = exports.EligibilityType = exports.ACTION_TO_MILESTONE = exports.QUEST_COUNTABLE_MILESTONES = exports.MilestoneType = exports.QualifyingActionType = exports.XRobotsTag = exports.XContentTypeOptions = exports.XFrameOptions = exports.StorageMigrationStatus = exports.StorageCredentialStatus = exports.StorageCredentialRole = exports.StorageTokenStatus = exports.StorageUploadStatus = void 0;
|
|
4
5
|
var GIT_TYPE;
|
|
5
6
|
(function (GIT_TYPE) {
|
|
6
7
|
GIT_TYPE["GITHUB"] = "GITHUB";
|
|
@@ -8,32 +9,32 @@ var GIT_TYPE;
|
|
|
8
9
|
GIT_TYPE["BITBUCKET"] = "BITBUCKET";
|
|
9
10
|
GIT_TYPE["DOCKER"] = "DOCKER";
|
|
10
11
|
GIT_TYPE["HUGGING_FACE"] = "HUGGINGFACE";
|
|
11
|
-
})(GIT_TYPE
|
|
12
|
+
})(GIT_TYPE || (exports.GIT_TYPE = GIT_TYPE = {}));
|
|
12
13
|
var SERVER_PROTOCOL;
|
|
13
14
|
(function (SERVER_PROTOCOL) {
|
|
14
15
|
SERVER_PROTOCOL["TCP"] = "TCP";
|
|
15
16
|
SERVER_PROTOCOL["UDP"] = "UDP";
|
|
16
17
|
SERVER_PROTOCOL["HTTP"] = "HTTP";
|
|
17
18
|
SERVER_PROTOCOL["HTTPS"] = "HTTPS";
|
|
18
|
-
})(SERVER_PROTOCOL
|
|
19
|
+
})(SERVER_PROTOCOL || (exports.SERVER_PROTOCOL = SERVER_PROTOCOL = {}));
|
|
19
20
|
var BUILD_DISABLED_BY;
|
|
20
21
|
(function (BUILD_DISABLED_BY) {
|
|
21
22
|
BUILD_DISABLED_BY["System"] = "system";
|
|
22
23
|
BUILD_DISABLED_BY["User"] = "user";
|
|
23
24
|
BUILD_DISABLED_BY["Payment"] = "payment_failure";
|
|
24
|
-
})(BUILD_DISABLED_BY
|
|
25
|
+
})(BUILD_DISABLED_BY || (exports.BUILD_DISABLED_BY = BUILD_DISABLED_BY = {}));
|
|
25
26
|
var REQUEST_TYPE;
|
|
26
27
|
(function (REQUEST_TYPE) {
|
|
27
28
|
REQUEST_TYPE["GET"] = "GET";
|
|
28
29
|
REQUEST_TYPE["PUT"] = "PUT";
|
|
29
30
|
REQUEST_TYPE["POST"] = "POST";
|
|
30
31
|
REQUEST_TYPE["DELETE"] = "DELETE";
|
|
31
|
-
})(REQUEST_TYPE
|
|
32
|
+
})(REQUEST_TYPE || (exports.REQUEST_TYPE = REQUEST_TYPE = {}));
|
|
32
33
|
var ENVIRONMENT;
|
|
33
34
|
(function (ENVIRONMENT) {
|
|
34
35
|
ENVIRONMENT["PREVIEW"] = "PREVIEW";
|
|
35
36
|
ENVIRONMENT["PRODUCTION"] = "PRODUCTION";
|
|
36
|
-
})(ENVIRONMENT
|
|
37
|
+
})(ENVIRONMENT || (exports.ENVIRONMENT = ENVIRONMENT = {}));
|
|
37
38
|
var INTEGRATION_TYPES;
|
|
38
39
|
(function (INTEGRATION_TYPES) {
|
|
39
40
|
INTEGRATION_TYPES["Messaging"] = "MESSAGING";
|
|
@@ -45,7 +46,7 @@ var INTEGRATION_TYPES;
|
|
|
45
46
|
INTEGRATION_TYPES["Logging"] = "LOGGING";
|
|
46
47
|
INTEGRATION_TYPES["Monitoring"] = "MONITORING";
|
|
47
48
|
INTEGRATION_TYPES["Cms"] = "CMS";
|
|
48
|
-
})(INTEGRATION_TYPES
|
|
49
|
+
})(INTEGRATION_TYPES || (exports.INTEGRATION_TYPES = INTEGRATION_TYPES = {}));
|
|
49
50
|
var INTEGRATION_PROVIDERS;
|
|
50
51
|
(function (INTEGRATION_PROVIDERS) {
|
|
51
52
|
INTEGRATION_PROVIDERS["Slack"] = "SLACK";
|
|
@@ -56,13 +57,13 @@ var INTEGRATION_PROVIDERS;
|
|
|
56
57
|
INTEGRATION_PROVIDERS["Novu"] = "NOVU";
|
|
57
58
|
INTEGRATION_PROVIDERS["Netlify"] = "NETLIFY";
|
|
58
59
|
INTEGRATION_PROVIDERS["GoogleAnalytics"] = "GOOGLE_ANALYTICS";
|
|
59
|
-
})(INTEGRATION_PROVIDERS
|
|
60
|
+
})(INTEGRATION_PROVIDERS || (exports.INTEGRATION_PROVIDERS = INTEGRATION_PROVIDERS = {}));
|
|
60
61
|
var CARD_TYPES;
|
|
61
62
|
(function (CARD_TYPES) {
|
|
62
63
|
CARD_TYPES["MASTERCARD"] = "MASTERCARD";
|
|
63
64
|
CARD_TYPES["VISA"] = "VISA";
|
|
64
65
|
CARD_TYPES["VERVE"] = "VERVE";
|
|
65
|
-
})(CARD_TYPES
|
|
66
|
+
})(CARD_TYPES || (exports.CARD_TYPES = CARD_TYPES = {}));
|
|
66
67
|
var PROJECT_STATUS;
|
|
67
68
|
(function (PROJECT_STATUS) {
|
|
68
69
|
PROJECT_STATUS["INACTIVE"] = "INACTIVE";
|
|
@@ -75,12 +76,41 @@ var PROJECT_STATUS;
|
|
|
75
76
|
PROJECT_STATUS["PAYMENT"] = "PAYMENT DUE";
|
|
76
77
|
PROJECT_STATUS["NOMAD_READY"] = "NOMAD_READY";
|
|
77
78
|
PROJECT_STATUS["NOMAD_FAILED"] = "NOMAD_FAILED";
|
|
78
|
-
})(PROJECT_STATUS
|
|
79
|
+
})(PROJECT_STATUS || (exports.PROJECT_STATUS = PROJECT_STATUS = {}));
|
|
80
|
+
var AlertMetric;
|
|
81
|
+
(function (AlertMetric) {
|
|
82
|
+
AlertMetric["CpuUsagePercent"] = "cpu_usage_percent";
|
|
83
|
+
AlertMetric["MemoryUsagePercent"] = "memory_usage_percent";
|
|
84
|
+
AlertMetric["DiskUsagePercent"] = "disk_usage_percent";
|
|
85
|
+
AlertMetric["ContainerRestarts"] = "container_restarts";
|
|
86
|
+
AlertMetric["ResponseTimeP95Ms"] = "response_time_p95_ms";
|
|
87
|
+
})(AlertMetric || (exports.AlertMetric = AlertMetric = {}));
|
|
88
|
+
var AlertCondition;
|
|
89
|
+
(function (AlertCondition) {
|
|
90
|
+
AlertCondition["Above"] = "above";
|
|
91
|
+
AlertCondition["Below"] = "below";
|
|
92
|
+
})(AlertCondition || (exports.AlertCondition = AlertCondition = {}));
|
|
93
|
+
var AlertRuleState;
|
|
94
|
+
(function (AlertRuleState) {
|
|
95
|
+
AlertRuleState["Ok"] = "ok";
|
|
96
|
+
AlertRuleState["Pending"] = "pending";
|
|
97
|
+
AlertRuleState["Firing"] = "firing";
|
|
98
|
+
})(AlertRuleState || (exports.AlertRuleState = AlertRuleState = {}));
|
|
99
|
+
var AlertChannelMode;
|
|
100
|
+
(function (AlertChannelMode) {
|
|
101
|
+
AlertChannelMode["AllChannels"] = "all_channels";
|
|
102
|
+
AlertChannelMode["SpecificChannels"] = "specific_channels";
|
|
103
|
+
})(AlertChannelMode || (exports.AlertChannelMode = AlertChannelMode = {}));
|
|
104
|
+
var AlertEventStatus;
|
|
105
|
+
(function (AlertEventStatus) {
|
|
106
|
+
AlertEventStatus["Firing"] = "firing";
|
|
107
|
+
AlertEventStatus["Resolved"] = "resolved";
|
|
108
|
+
})(AlertEventStatus || (exports.AlertEventStatus = AlertEventStatus = {}));
|
|
79
109
|
var SUBSCRIPTION_STATUS;
|
|
80
110
|
(function (SUBSCRIPTION_STATUS) {
|
|
81
111
|
SUBSCRIPTION_STATUS["ACTIVE"] = "active";
|
|
82
112
|
SUBSCRIPTION_STATUS["INACTIVE"] = "in-active";
|
|
83
|
-
})(SUBSCRIPTION_STATUS
|
|
113
|
+
})(SUBSCRIPTION_STATUS || (exports.SUBSCRIPTION_STATUS = SUBSCRIPTION_STATUS = {}));
|
|
84
114
|
var SUBSCRIPTION_PLAN_TYPE;
|
|
85
115
|
(function (SUBSCRIPTION_PLAN_TYPE) {
|
|
86
116
|
SUBSCRIPTION_PLAN_TYPE["FreePlan"] = "FREE_PLAN";
|
|
@@ -89,19 +119,19 @@ var SUBSCRIPTION_PLAN_TYPE;
|
|
|
89
119
|
SUBSCRIPTION_PLAN_TYPE["DomainPlan"] = "DOMAIN_PLAN";
|
|
90
120
|
SUBSCRIPTION_PLAN_TYPE["HackerPlan"] = "HACKER_PLAN";
|
|
91
121
|
SUBSCRIPTION_PLAN_TYPE["LiscensePlan"] = "LISCENSE_PLAN";
|
|
92
|
-
})(SUBSCRIPTION_PLAN_TYPE
|
|
122
|
+
})(SUBSCRIPTION_PLAN_TYPE || (exports.SUBSCRIPTION_PLAN_TYPE = SUBSCRIPTION_PLAN_TYPE = {}));
|
|
93
123
|
var OAUTH_PERMISSIONS;
|
|
94
124
|
(function (OAUTH_PERMISSIONS) {
|
|
95
125
|
OAUTH_PERMISSIONS["READ_USER"] = "read_user";
|
|
96
126
|
OAUTH_PERMISSIONS["READ_PROJECT"] = "read_project";
|
|
97
127
|
OAUTH_PERMISSIONS["UPDATE_CREDENTIALS"] = "update_credentials";
|
|
98
|
-
})(OAUTH_PERMISSIONS
|
|
128
|
+
})(OAUTH_PERMISSIONS || (exports.OAUTH_PERMISSIONS = OAUTH_PERMISSIONS = {}));
|
|
99
129
|
var SERVER_STATUS;
|
|
100
130
|
(function (SERVER_STATUS) {
|
|
101
131
|
SERVER_STATUS["Active"] = "active";
|
|
102
132
|
SERVER_STATUS["InProgress"] = "in-progress";
|
|
103
133
|
SERVER_STATUS["InActive"] = "in-active";
|
|
104
|
-
})(SERVER_STATUS
|
|
134
|
+
})(SERVER_STATUS || (exports.SERVER_STATUS = SERVER_STATUS = {}));
|
|
105
135
|
var DNS_TYPE;
|
|
106
136
|
(function (DNS_TYPE) {
|
|
107
137
|
DNS_TYPE["A"] = "A";
|
|
@@ -110,14 +140,26 @@ var DNS_TYPE;
|
|
|
110
140
|
DNS_TYPE["TXT"] = "TXT";
|
|
111
141
|
DNS_TYPE["MX"] = "MX";
|
|
112
142
|
DNS_TYPE["SPF"] = "SPF";
|
|
113
|
-
})(DNS_TYPE
|
|
143
|
+
})(DNS_TYPE || (exports.DNS_TYPE = DNS_TYPE = {}));
|
|
144
|
+
var DNS_CHANGE_TYPE;
|
|
145
|
+
(function (DNS_CHANGE_TYPE) {
|
|
146
|
+
DNS_CHANGE_TYPE["CREATED"] = "created";
|
|
147
|
+
DNS_CHANGE_TYPE["UPDATED"] = "updated";
|
|
148
|
+
DNS_CHANGE_TYPE["DELETED"] = "deleted";
|
|
149
|
+
DNS_CHANGE_TYPE["ZONE_REMOVED"] = "zone_removed";
|
|
150
|
+
})(DNS_CHANGE_TYPE || (exports.DNS_CHANGE_TYPE = DNS_CHANGE_TYPE = {}));
|
|
151
|
+
var DNS_CHANGE_SOURCE;
|
|
152
|
+
(function (DNS_CHANGE_SOURCE) {
|
|
153
|
+
DNS_CHANGE_SOURCE["API"] = "api";
|
|
154
|
+
DNS_CHANGE_SOURCE["SYSTEM"] = "system";
|
|
155
|
+
})(DNS_CHANGE_SOURCE || (exports.DNS_CHANGE_SOURCE = DNS_CHANGE_SOURCE = {}));
|
|
114
156
|
var ROLES;
|
|
115
157
|
(function (ROLES) {
|
|
116
158
|
ROLES["CREATOR"] = "CREATOR";
|
|
117
159
|
ROLES["ADMINISTRATOR"] = "ADMINISTRATOR";
|
|
118
160
|
ROLES["MEMBER"] = "MEMBER";
|
|
119
161
|
ROLES["VIEWER"] = "VIEWER";
|
|
120
|
-
})(ROLES
|
|
162
|
+
})(ROLES || (exports.ROLES = ROLES = {}));
|
|
121
163
|
var PERMISSION_TYPE;
|
|
122
164
|
(function (PERMISSION_TYPE) {
|
|
123
165
|
PERMISSION_TYPE["DOMAIN"] = "DOMAIN";
|
|
@@ -125,14 +167,14 @@ var PERMISSION_TYPE;
|
|
|
125
167
|
PERMISSION_TYPE["PROJECT"] = "PROJECT";
|
|
126
168
|
PERMISSION_TYPE["INTEGRATION"] = "INTEGRATION";
|
|
127
169
|
PERMISSION_TYPE["USERS"] = "USERS";
|
|
128
|
-
})(PERMISSION_TYPE
|
|
170
|
+
})(PERMISSION_TYPE || (exports.PERMISSION_TYPE = PERMISSION_TYPE = {}));
|
|
129
171
|
var REGION_CONTINENT;
|
|
130
172
|
(function (REGION_CONTINENT) {
|
|
131
173
|
REGION_CONTINENT["AFRICA"] = "Africa";
|
|
132
174
|
REGION_CONTINENT["EUROPE"] = "Europe";
|
|
133
175
|
REGION_CONTINENT["AMERICA"] = "America";
|
|
134
176
|
REGION_CONTINENT["ASIA"] = "Asia";
|
|
135
|
-
})(REGION_CONTINENT
|
|
177
|
+
})(REGION_CONTINENT || (exports.REGION_CONTINENT = REGION_CONTINENT = {}));
|
|
136
178
|
var ServiceType;
|
|
137
179
|
(function (ServiceType) {
|
|
138
180
|
ServiceType["Database"] = "database";
|
|
@@ -141,7 +183,7 @@ var ServiceType;
|
|
|
141
183
|
ServiceType["Mcp"] = "mcp";
|
|
142
184
|
ServiceType["Liscense"] = "liscense";
|
|
143
185
|
ServiceType["Worker"] = "worker";
|
|
144
|
-
})(ServiceType
|
|
186
|
+
})(ServiceType || (exports.ServiceType = ServiceType = {}));
|
|
145
187
|
var DatabaseEngine;
|
|
146
188
|
(function (DatabaseEngine) {
|
|
147
189
|
DatabaseEngine["MySQL"] = "mysql";
|
|
@@ -150,7 +192,7 @@ var DatabaseEngine;
|
|
|
150
192
|
DatabaseEngine["Redis"] = "redis";
|
|
151
193
|
DatabaseEngine["WordPress"] = "wordpress";
|
|
152
194
|
DatabaseEngine["SQLite"] = "sqlite";
|
|
153
|
-
})(DatabaseEngine
|
|
195
|
+
})(DatabaseEngine || (exports.DatabaseEngine = DatabaseEngine = {}));
|
|
154
196
|
var JobStatus;
|
|
155
197
|
(function (JobStatus) {
|
|
156
198
|
JobStatus["SCHEDULED"] = "scheduled";
|
|
@@ -158,20 +200,20 @@ var JobStatus;
|
|
|
158
200
|
JobStatus["COMPLETED"] = "completed";
|
|
159
201
|
JobStatus["FAILED"] = "failed";
|
|
160
202
|
JobStatus["CANCELLED"] = "cancelled";
|
|
161
|
-
})(JobStatus
|
|
203
|
+
})(JobStatus || (exports.JobStatus = JobStatus = {}));
|
|
162
204
|
var LicenseStatus;
|
|
163
205
|
(function (LicenseStatus) {
|
|
164
206
|
LicenseStatus["ACTIVE"] = "ACTIVE";
|
|
165
207
|
LicenseStatus["EXPIRED"] = "EXPIRED";
|
|
166
208
|
LicenseStatus["SUSPENDED"] = "SUSPENDED";
|
|
167
209
|
LicenseStatus["REVOKED"] = "REVOKED";
|
|
168
|
-
})(LicenseStatus
|
|
210
|
+
})(LicenseStatus || (exports.LicenseStatus = LicenseStatus = {}));
|
|
169
211
|
var SCALING_STRATEGY;
|
|
170
212
|
(function (SCALING_STRATEGY) {
|
|
171
213
|
SCALING_STRATEGY["Linear"] = "LINEAR";
|
|
172
214
|
SCALING_STRATEGY["Exponential"] = "EXPONENTIAL";
|
|
173
215
|
SCALING_STRATEGY["Target"] = "TARGET";
|
|
174
|
-
})(SCALING_STRATEGY
|
|
216
|
+
})(SCALING_STRATEGY || (exports.SCALING_STRATEGY = SCALING_STRATEGY = {}));
|
|
175
217
|
var SCALING_METRIC;
|
|
176
218
|
(function (SCALING_METRIC) {
|
|
177
219
|
SCALING_METRIC["Cpu"] = "CPU";
|
|
@@ -179,72 +221,79 @@ var SCALING_METRIC;
|
|
|
179
221
|
SCALING_METRIC["RequestCount"] = "REQUEST_COUNT";
|
|
180
222
|
SCALING_METRIC["ResponseTime"] = "RESPONSE_TIME";
|
|
181
223
|
SCALING_METRIC["CustomMetric"] = "CUSTOM_METRIC";
|
|
182
|
-
})(SCALING_METRIC
|
|
224
|
+
})(SCALING_METRIC || (exports.SCALING_METRIC = SCALING_METRIC = {}));
|
|
225
|
+
var SCALING_SOURCE;
|
|
226
|
+
(function (SCALING_SOURCE) {
|
|
227
|
+
SCALING_SOURCE["Manual"] = "manual";
|
|
228
|
+
SCALING_SOURCE["Autoscaler"] = "autoscaler";
|
|
229
|
+
SCALING_SOURCE["Rebaseline"] = "rebaseline";
|
|
230
|
+
SCALING_SOURCE["Continuation"] = "continuation";
|
|
231
|
+
})(SCALING_SOURCE || (exports.SCALING_SOURCE = SCALING_SOURCE = {}));
|
|
183
232
|
var FrameworkApplicationType;
|
|
184
233
|
(function (FrameworkApplicationType) {
|
|
185
234
|
FrameworkApplicationType["Spa"] = "spa";
|
|
186
235
|
FrameworkApplicationType["Ssr"] = "ssr";
|
|
187
236
|
FrameworkApplicationType["Static"] = "static";
|
|
188
237
|
FrameworkApplicationType["Backend"] = "backend";
|
|
189
|
-
})(FrameworkApplicationType
|
|
238
|
+
})(FrameworkApplicationType || (exports.FrameworkApplicationType = FrameworkApplicationType = {}));
|
|
190
239
|
var DomainRenewalStatus;
|
|
191
240
|
(function (DomainRenewalStatus) {
|
|
192
241
|
DomainRenewalStatus["Pending"] = "pending";
|
|
193
242
|
DomainRenewalStatus["Completed"] = "completed";
|
|
194
243
|
DomainRenewalStatus["Failed"] = "failed";
|
|
195
|
-
})(DomainRenewalStatus
|
|
244
|
+
})(DomainRenewalStatus || (exports.DomainRenewalStatus = DomainRenewalStatus = {}));
|
|
196
245
|
var DomainTransferProvider;
|
|
197
246
|
(function (DomainTransferProvider) {
|
|
198
247
|
DomainTransferProvider["Dynadot"] = "dynadot";
|
|
199
248
|
DomainTransferProvider["NameDotCom"] = "name-dot-com";
|
|
200
249
|
DomainTransferProvider["NameCheap"] = "name-cheap";
|
|
201
|
-
})(DomainTransferProvider
|
|
250
|
+
})(DomainTransferProvider || (exports.DomainTransferProvider = DomainTransferProvider = {}));
|
|
202
251
|
var DomainTransferDirection;
|
|
203
252
|
(function (DomainTransferDirection) {
|
|
204
253
|
DomainTransferDirection["TransferIn"] = "transfer_in";
|
|
205
254
|
DomainTransferDirection["TransferOut"] = "transfer_out";
|
|
206
|
-
})(DomainTransferDirection
|
|
255
|
+
})(DomainTransferDirection || (exports.DomainTransferDirection = DomainTransferDirection = {}));
|
|
207
256
|
var DomainTransferStatus;
|
|
208
257
|
(function (DomainTransferStatus) {
|
|
209
258
|
DomainTransferStatus["Pending"] = "pending";
|
|
210
259
|
DomainTransferStatus["Completed"] = "completed";
|
|
211
260
|
DomainTransferStatus["Failed"] = "failed";
|
|
212
261
|
DomainTransferStatus["Cancelled"] = "cancelled";
|
|
213
|
-
})(DomainTransferStatus
|
|
262
|
+
})(DomainTransferStatus || (exports.DomainTransferStatus = DomainTransferStatus = {}));
|
|
214
263
|
var NomadDeploymentStatus;
|
|
215
264
|
(function (NomadDeploymentStatus) {
|
|
216
265
|
NomadDeploymentStatus["NOMAD_SETUP"] = "nomad_setup";
|
|
217
266
|
NomadDeploymentStatus["NOMAD_READY"] = "nomad_ready";
|
|
218
267
|
NomadDeploymentStatus["NOMAD_FAILED"] = "nomad_failed";
|
|
219
|
-
})(NomadDeploymentStatus
|
|
268
|
+
})(NomadDeploymentStatus || (exports.NomadDeploymentStatus = NomadDeploymentStatus = {}));
|
|
220
269
|
var COLLAB_ANNOTATION_STATUS;
|
|
221
270
|
(function (COLLAB_ANNOTATION_STATUS) {
|
|
222
271
|
COLLAB_ANNOTATION_STATUS["OPEN"] = "open";
|
|
223
272
|
COLLAB_ANNOTATION_STATUS["RESOLVED"] = "resolved";
|
|
224
|
-
})(COLLAB_ANNOTATION_STATUS
|
|
273
|
+
})(COLLAB_ANNOTATION_STATUS || (exports.COLLAB_ANNOTATION_STATUS = COLLAB_ANNOTATION_STATUS = {}));
|
|
225
274
|
var COLLAB_INTEGRATION_TYPE;
|
|
226
275
|
(function (COLLAB_INTEGRATION_TYPE) {
|
|
227
276
|
COLLAB_INTEGRATION_TYPE["SLACK"] = "slack";
|
|
228
277
|
COLLAB_INTEGRATION_TYPE["DISCORD"] = "discord";
|
|
229
|
-
})(COLLAB_INTEGRATION_TYPE
|
|
278
|
+
})(COLLAB_INTEGRATION_TYPE || (exports.COLLAB_INTEGRATION_TYPE = COLLAB_INTEGRATION_TYPE = {}));
|
|
230
279
|
var COLLAB_THEME;
|
|
231
280
|
(function (COLLAB_THEME) {
|
|
232
281
|
COLLAB_THEME["LIGHT"] = "light";
|
|
233
282
|
COLLAB_THEME["DARK"] = "dark";
|
|
234
283
|
COLLAB_THEME["SYSTEM"] = "system";
|
|
235
|
-
})(COLLAB_THEME
|
|
284
|
+
})(COLLAB_THEME || (exports.COLLAB_THEME = COLLAB_THEME = {}));
|
|
236
285
|
var COLLAB_TOOLBAR_POSITION;
|
|
237
286
|
(function (COLLAB_TOOLBAR_POSITION) {
|
|
238
287
|
COLLAB_TOOLBAR_POSITION["LEFT"] = "left";
|
|
239
288
|
COLLAB_TOOLBAR_POSITION["BOTTOM"] = "bottom";
|
|
240
289
|
COLLAB_TOOLBAR_POSITION["RIGHT"] = "right";
|
|
241
|
-
})(COLLAB_TOOLBAR_POSITION
|
|
290
|
+
})(COLLAB_TOOLBAR_POSITION || (exports.COLLAB_TOOLBAR_POSITION = COLLAB_TOOLBAR_POSITION = {}));
|
|
242
291
|
var INVOICE_STATUS;
|
|
243
292
|
(function (INVOICE_STATUS) {
|
|
244
293
|
INVOICE_STATUS["ACTIVE"] = "ACTIVE";
|
|
245
294
|
INVOICE_STATUS["PAID"] = "PAID";
|
|
246
295
|
INVOICE_STATUS["EXPIRED"] = "EXPIRED";
|
|
247
|
-
})(INVOICE_STATUS
|
|
296
|
+
})(INVOICE_STATUS || (exports.INVOICE_STATUS = INVOICE_STATUS = {}));
|
|
248
297
|
var INVOICE_PAYMENT_STATUS;
|
|
249
298
|
(function (INVOICE_PAYMENT_STATUS) {
|
|
250
299
|
INVOICE_PAYMENT_STATUS["PENDING"] = "PENDING";
|
|
@@ -253,9 +302,196 @@ var INVOICE_PAYMENT_STATUS;
|
|
|
253
302
|
INVOICE_PAYMENT_STATUS["FAILED"] = "FAILED";
|
|
254
303
|
INVOICE_PAYMENT_STATUS["REFUNDED"] = "REFUNDED";
|
|
255
304
|
INVOICE_PAYMENT_STATUS["REFUND_PROCESSING"] = "REFUND_PROCESSING";
|
|
256
|
-
})(INVOICE_PAYMENT_STATUS
|
|
305
|
+
})(INVOICE_PAYMENT_STATUS || (exports.INVOICE_PAYMENT_STATUS = INVOICE_PAYMENT_STATUS = {}));
|
|
257
306
|
var INVOICE_TYPE;
|
|
258
307
|
(function (INVOICE_TYPE) {
|
|
259
308
|
INVOICE_TYPE["INVOICE"] = "invoice";
|
|
260
309
|
INVOICE_TYPE["RECEIPT"] = "receipt";
|
|
261
|
-
})(INVOICE_TYPE
|
|
310
|
+
})(INVOICE_TYPE || (exports.INVOICE_TYPE = INVOICE_TYPE = {}));
|
|
311
|
+
var SANDBOX_TEMPLATE;
|
|
312
|
+
(function (SANDBOX_TEMPLATE) {
|
|
313
|
+
SANDBOX_TEMPLATE["PYTHON"] = "python";
|
|
314
|
+
SANDBOX_TEMPLATE["NODE"] = "node";
|
|
315
|
+
})(SANDBOX_TEMPLATE || (exports.SANDBOX_TEMPLATE = SANDBOX_TEMPLATE = {}));
|
|
316
|
+
var SANDBOX_STATUS;
|
|
317
|
+
(function (SANDBOX_STATUS) {
|
|
318
|
+
SANDBOX_STATUS["STARTING"] = "starting";
|
|
319
|
+
SANDBOX_STATUS["READY"] = "ready";
|
|
320
|
+
SANDBOX_STATUS["FAILED"] = "failed";
|
|
321
|
+
SANDBOX_STATUS["DESTROYED"] = "destroyed";
|
|
322
|
+
SANDBOX_STATUS["PAUSING"] = "pausing";
|
|
323
|
+
SANDBOX_STATUS["PAUSED"] = "paused";
|
|
324
|
+
SANDBOX_STATUS["RESUMING"] = "resuming";
|
|
325
|
+
})(SANDBOX_STATUS || (exports.SANDBOX_STATUS = SANDBOX_STATUS = {}));
|
|
326
|
+
var SANDBOX_DESTROY_REASON;
|
|
327
|
+
(function (SANDBOX_DESTROY_REASON) {
|
|
328
|
+
SANDBOX_DESTROY_REASON["USER"] = "user";
|
|
329
|
+
SANDBOX_DESTROY_REASON["IDLE_TTL"] = "idle_ttl";
|
|
330
|
+
SANDBOX_DESTROY_REASON["MAX_LIFETIME"] = "max_lifetime";
|
|
331
|
+
SANDBOX_DESTROY_REASON["FAILED"] = "failed";
|
|
332
|
+
SANDBOX_DESTROY_REASON["ONE_SHOT_STOPPED"] = "one_shot_stopped";
|
|
333
|
+
SANDBOX_DESTROY_REASON["PAUSED_TOO_LONG"] = "paused_too_long";
|
|
334
|
+
})(SANDBOX_DESTROY_REASON || (exports.SANDBOX_DESTROY_REASON = SANDBOX_DESTROY_REASON = {}));
|
|
335
|
+
var SANDBOX_EGRESS_MODE;
|
|
336
|
+
(function (SANDBOX_EGRESS_MODE) {
|
|
337
|
+
SANDBOX_EGRESS_MODE["OPEN"] = "open";
|
|
338
|
+
SANDBOX_EGRESS_MODE["RESTRICTED"] = "restricted";
|
|
339
|
+
SANDBOX_EGRESS_MODE["DENY_ALL"] = "deny_all";
|
|
340
|
+
})(SANDBOX_EGRESS_MODE || (exports.SANDBOX_EGRESS_MODE = SANDBOX_EGRESS_MODE = {}));
|
|
341
|
+
var SANDBOX_SNAPSHOT_STATUS;
|
|
342
|
+
(function (SANDBOX_SNAPSHOT_STATUS) {
|
|
343
|
+
SANDBOX_SNAPSHOT_STATUS["CREATING"] = "creating";
|
|
344
|
+
SANDBOX_SNAPSHOT_STATUS["READY"] = "ready";
|
|
345
|
+
SANDBOX_SNAPSHOT_STATUS["FAILED"] = "failed";
|
|
346
|
+
})(SANDBOX_SNAPSHOT_STATUS || (exports.SANDBOX_SNAPSHOT_STATUS = SANDBOX_SNAPSHOT_STATUS = {}));
|
|
347
|
+
var StorageBucketStatus;
|
|
348
|
+
(function (StorageBucketStatus) {
|
|
349
|
+
StorageBucketStatus["Active"] = "active";
|
|
350
|
+
StorageBucketStatus["Deleting"] = "deleting";
|
|
351
|
+
StorageBucketStatus["Deleted"] = "deleted";
|
|
352
|
+
})(StorageBucketStatus || (exports.StorageBucketStatus = StorageBucketStatus = {}));
|
|
353
|
+
var StorageUploadStatus;
|
|
354
|
+
(function (StorageUploadStatus) {
|
|
355
|
+
StorageUploadStatus["Pending"] = "pending";
|
|
356
|
+
StorageUploadStatus["Completed"] = "completed";
|
|
357
|
+
StorageUploadStatus["Aborted"] = "aborted";
|
|
358
|
+
StorageUploadStatus["Expired"] = "expired";
|
|
359
|
+
})(StorageUploadStatus || (exports.StorageUploadStatus = StorageUploadStatus = {}));
|
|
360
|
+
var StorageTokenStatus;
|
|
361
|
+
(function (StorageTokenStatus) {
|
|
362
|
+
StorageTokenStatus["Active"] = "active";
|
|
363
|
+
StorageTokenStatus["Revoked"] = "revoked";
|
|
364
|
+
})(StorageTokenStatus || (exports.StorageTokenStatus = StorageTokenStatus = {}));
|
|
365
|
+
var StorageCredentialRole;
|
|
366
|
+
(function (StorageCredentialRole) {
|
|
367
|
+
StorageCredentialRole["ReadOnly"] = "ReadOnly";
|
|
368
|
+
StorageCredentialRole["Editor"] = "Editor";
|
|
369
|
+
})(StorageCredentialRole || (exports.StorageCredentialRole = StorageCredentialRole = {}));
|
|
370
|
+
var StorageCredentialStatus;
|
|
371
|
+
(function (StorageCredentialStatus) {
|
|
372
|
+
StorageCredentialStatus["Active"] = "active";
|
|
373
|
+
StorageCredentialStatus["Revoked"] = "revoked";
|
|
374
|
+
})(StorageCredentialStatus || (exports.StorageCredentialStatus = StorageCredentialStatus = {}));
|
|
375
|
+
var StorageMigrationStatus;
|
|
376
|
+
(function (StorageMigrationStatus) {
|
|
377
|
+
StorageMigrationStatus["Queued"] = "queued";
|
|
378
|
+
StorageMigrationStatus["Running"] = "running";
|
|
379
|
+
StorageMigrationStatus["Completed"] = "completed";
|
|
380
|
+
StorageMigrationStatus["Failed"] = "failed";
|
|
381
|
+
StorageMigrationStatus["Cancelled"] = "cancelled";
|
|
382
|
+
})(StorageMigrationStatus || (exports.StorageMigrationStatus = StorageMigrationStatus = {}));
|
|
383
|
+
var XFrameOptions;
|
|
384
|
+
(function (XFrameOptions) {
|
|
385
|
+
XFrameOptions["Deny"] = "DENY";
|
|
386
|
+
XFrameOptions["SameOrigin"] = "SAMEORIGIN";
|
|
387
|
+
XFrameOptions["Disabled"] = "disabled";
|
|
388
|
+
})(XFrameOptions || (exports.XFrameOptions = XFrameOptions = {}));
|
|
389
|
+
var XContentTypeOptions;
|
|
390
|
+
(function (XContentTypeOptions) {
|
|
391
|
+
XContentTypeOptions["NoSniff"] = "nosniff";
|
|
392
|
+
XContentTypeOptions["Disabled"] = "disabled";
|
|
393
|
+
})(XContentTypeOptions || (exports.XContentTypeOptions = XContentTypeOptions = {}));
|
|
394
|
+
var XRobotsTag;
|
|
395
|
+
(function (XRobotsTag) {
|
|
396
|
+
XRobotsTag["IndexFollow"] = "index, follow";
|
|
397
|
+
XRobotsTag["NoIndexNoFollow"] = "noindex, nofollow";
|
|
398
|
+
XRobotsTag["NoIndexFollow"] = "noindex, follow";
|
|
399
|
+
XRobotsTag["IndexNoFollow"] = "index, nofollow";
|
|
400
|
+
XRobotsTag["Disabled"] = "disabled";
|
|
401
|
+
})(XRobotsTag || (exports.XRobotsTag = XRobotsTag = {}));
|
|
402
|
+
var QualifyingActionType;
|
|
403
|
+
(function (QualifyingActionType) {
|
|
404
|
+
QualifyingActionType["Deployment"] = "deployment";
|
|
405
|
+
QualifyingActionType["DomainPurchase"] = "domain_purchase";
|
|
406
|
+
QualifyingActionType["DomainConnect"] = "domain_connect";
|
|
407
|
+
QualifyingActionType["DatabaseProvision"] = "database_provision";
|
|
408
|
+
QualifyingActionType["BucketProvision"] = "bucket_provision";
|
|
409
|
+
QualifyingActionType["SandboxCreate"] = "sandbox_create";
|
|
410
|
+
QualifyingActionType["AutoscalingCreate"] = "autoscaling_create";
|
|
411
|
+
QualifyingActionType["AutoscalingApply"] = "autoscaling_apply";
|
|
412
|
+
})(QualifyingActionType || (exports.QualifyingActionType = QualifyingActionType = {}));
|
|
413
|
+
var MilestoneType;
|
|
414
|
+
(function (MilestoneType) {
|
|
415
|
+
MilestoneType["LiveDeploy"] = "live_deploy";
|
|
416
|
+
MilestoneType["DomainPurchase"] = "domain_purchase";
|
|
417
|
+
MilestoneType["DomainConnect"] = "domain_connect";
|
|
418
|
+
MilestoneType["DatabaseProvision"] = "database_provision";
|
|
419
|
+
MilestoneType["BucketProvision"] = "bucket_provision";
|
|
420
|
+
MilestoneType["SandboxCreate"] = "sandbox_create";
|
|
421
|
+
MilestoneType["AutoscalingCreate"] = "autoscaling_create";
|
|
422
|
+
MilestoneType["AutoscalingApply"] = "autoscaling_apply";
|
|
423
|
+
})(MilestoneType || (exports.MilestoneType = MilestoneType = {}));
|
|
424
|
+
exports.QUEST_COUNTABLE_MILESTONES = [
|
|
425
|
+
MilestoneType.LiveDeploy,
|
|
426
|
+
MilestoneType.DomainPurchase,
|
|
427
|
+
MilestoneType.DomainConnect,
|
|
428
|
+
MilestoneType.DatabaseProvision,
|
|
429
|
+
MilestoneType.BucketProvision,
|
|
430
|
+
];
|
|
431
|
+
exports.ACTION_TO_MILESTONE = {
|
|
432
|
+
[QualifyingActionType.Deployment]: MilestoneType.LiveDeploy,
|
|
433
|
+
[QualifyingActionType.DomainPurchase]: MilestoneType.DomainPurchase,
|
|
434
|
+
[QualifyingActionType.DomainConnect]: MilestoneType.DomainConnect,
|
|
435
|
+
[QualifyingActionType.DatabaseProvision]: MilestoneType.DatabaseProvision,
|
|
436
|
+
[QualifyingActionType.BucketProvision]: MilestoneType.BucketProvision,
|
|
437
|
+
[QualifyingActionType.SandboxCreate]: MilestoneType.SandboxCreate,
|
|
438
|
+
[QualifyingActionType.AutoscalingCreate]: MilestoneType.AutoscalingCreate,
|
|
439
|
+
[QualifyingActionType.AutoscalingApply]: MilestoneType.AutoscalingApply,
|
|
440
|
+
};
|
|
441
|
+
var EligibilityType;
|
|
442
|
+
(function (EligibilityType) {
|
|
443
|
+
EligibilityType["Streak"] = "streak";
|
|
444
|
+
EligibilityType["Paid"] = "paid";
|
|
445
|
+
})(EligibilityType || (exports.EligibilityType = EligibilityType = {}));
|
|
446
|
+
var RewardType;
|
|
447
|
+
(function (RewardType) {
|
|
448
|
+
RewardType["Merch"] = "merch";
|
|
449
|
+
RewardType["SubscriptionPass"] = "subscription_pass";
|
|
450
|
+
RewardType["FreeDomain"] = "free_domain";
|
|
451
|
+
RewardType["DiscountedDomain"] = "discounted_domain";
|
|
452
|
+
RewardType["BuildMinutes"] = "build_minutes";
|
|
453
|
+
RewardType["FreeCompute"] = "free_compute";
|
|
454
|
+
RewardType["CashPrize"] = "cash_prize";
|
|
455
|
+
})(RewardType || (exports.RewardType = RewardType = {}));
|
|
456
|
+
var QuestRewardStatus;
|
|
457
|
+
(function (QuestRewardStatus) {
|
|
458
|
+
QuestRewardStatus["Claimed"] = "claimed";
|
|
459
|
+
QuestRewardStatus["Fulfilled"] = "fulfilled";
|
|
460
|
+
})(QuestRewardStatus || (exports.QuestRewardStatus = QuestRewardStatus = {}));
|
|
461
|
+
var QuestCriterionType;
|
|
462
|
+
(function (QuestCriterionType) {
|
|
463
|
+
QuestCriterionType["StreakThreshold"] = "streak_threshold";
|
|
464
|
+
QuestCriterionType["DistinctMilestones"] = "distinct_milestones";
|
|
465
|
+
QuestCriterionType["EntityCount"] = "entity_count";
|
|
466
|
+
QuestCriterionType["ActionCount"] = "action_count";
|
|
467
|
+
QuestCriterionType["BuildMinutes"] = "build_minutes";
|
|
468
|
+
})(QuestCriterionType || (exports.QuestCriterionType = QuestCriterionType = {}));
|
|
469
|
+
var QuestEntity;
|
|
470
|
+
(function (QuestEntity) {
|
|
471
|
+
QuestEntity["Project"] = "project";
|
|
472
|
+
QuestEntity["Sandbox"] = "sandbox";
|
|
473
|
+
QuestEntity["Bucket"] = "bucket";
|
|
474
|
+
QuestEntity["Domain"] = "domain";
|
|
475
|
+
QuestEntity["Database"] = "database";
|
|
476
|
+
})(QuestEntity || (exports.QuestEntity = QuestEntity = {}));
|
|
477
|
+
var QuestRequirementType;
|
|
478
|
+
(function (QuestRequirementType) {
|
|
479
|
+
QuestRequirementType["AccountAgeDays"] = "account_age_days";
|
|
480
|
+
QuestRequirementType["PaidPlan"] = "paid_plan";
|
|
481
|
+
QuestRequirementType["PaymentMethod"] = "payment_method";
|
|
482
|
+
QuestRequirementType["DeploymentAgeMinutes"] = "deployment_age_minutes";
|
|
483
|
+
QuestRequirementType["RewardCooldownDays"] = "reward_cooldown_days";
|
|
484
|
+
})(QuestRequirementType || (exports.QuestRequirementType = QuestRequirementType = {}));
|
|
485
|
+
var WorkbenchMode;
|
|
486
|
+
(function (WorkbenchMode) {
|
|
487
|
+
WorkbenchMode["SQL"] = "sql";
|
|
488
|
+
WorkbenchMode["Kv"] = "kv";
|
|
489
|
+
WorkbenchMode["Document"] = "document";
|
|
490
|
+
})(WorkbenchMode || (exports.WorkbenchMode = WorkbenchMode = {}));
|
|
491
|
+
exports.QUEST_CLAIM_REQUIREMENTS = [
|
|
492
|
+
QuestRequirementType.RewardCooldownDays,
|
|
493
|
+
];
|
|
494
|
+
exports.QUEST_TARGETLESS_REQUIREMENTS = [
|
|
495
|
+
QuestRequirementType.PaidPlan,
|
|
496
|
+
QuestRequirementType.PaymentMethod,
|
|
497
|
+
];
|
package/dist/env.d.ts
CHANGED
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
-
/// <reference types="mongoose/types/callback" />
|
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
|
6
|
-
/// <reference types="mongoose/types/document" />
|
|
7
|
-
/// <reference types="mongoose/types/error" />
|
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
|
12
|
-
/// <reference types="mongoose/types/models" />
|
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
|
16
|
-
/// <reference types="mongoose/types/query" />
|
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
-
/// <reference types="mongoose/types/session" />
|
|
20
|
-
/// <reference types="mongoose/types/types" />
|
|
21
|
-
/// <reference types="mongoose/types/utility" />
|
|
22
|
-
/// <reference types="mongoose/types/validation" />
|
|
23
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
-
/// <reference types="mongoose" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
1
|
import { IEnv } from "./types";
|
|
27
|
-
declare const _default: import("mongoose").Model<IEnv, {}, {}, {}, import("mongoose").Document<unknown, {}, IEnv> & IEnv & {
|
|
2
|
+
declare const _default: import("mongoose").Model<IEnv, {}, {}, {}, import("mongoose").Document<unknown, {}, IEnv, {}, import("mongoose").DefaultSchemaOptions> & IEnv & Required<{
|
|
28
3
|
_id: import("mongoose").Types.ObjectId;
|
|
29
|
-
}
|
|
4
|
+
}> & {
|
|
5
|
+
__v: number;
|
|
6
|
+
} & {
|
|
7
|
+
id: string;
|
|
8
|
+
}, any, IEnv>;
|
|
30
9
|
export default _default;
|
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
-
/// <reference types="mongoose/types/callback" />
|
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
|
6
|
-
/// <reference types="mongoose/types/document" />
|
|
7
|
-
/// <reference types="mongoose/types/error" />
|
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
|
12
|
-
/// <reference types="mongoose/types/models" />
|
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
|
16
|
-
/// <reference types="mongoose/types/query" />
|
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
-
/// <reference types="mongoose/types/session" />
|
|
20
|
-
/// <reference types="mongoose/types/types" />
|
|
21
|
-
/// <reference types="mongoose/types/utility" />
|
|
22
|
-
/// <reference types="mongoose/types/validation" />
|
|
23
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
-
/// <reference types="mongoose" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
1
|
import { IEnvironmentVariable } from "./types";
|
|
27
|
-
declare const _default: import("mongoose").Model<IEnvironmentVariable, {}, {}, {}, import("mongoose").Document<unknown, {}, IEnvironmentVariable> & IEnvironmentVariable & {
|
|
2
|
+
declare const _default: import("mongoose").Model<IEnvironmentVariable, {}, {}, {}, import("mongoose").Document<unknown, {}, IEnvironmentVariable, {}, import("mongoose").DefaultSchemaOptions> & IEnvironmentVariable & Required<{
|
|
28
3
|
_id: import("mongoose").Types.ObjectId;
|
|
29
|
-
}
|
|
4
|
+
}> & {
|
|
5
|
+
__v: number;
|
|
6
|
+
} & {
|
|
7
|
+
id: string;
|
|
8
|
+
}, any, IEnvironmentVariable>;
|
|
30
9
|
export default _default;
|
|
@@ -8,9 +8,17 @@ const environmentVariableSchema = new mongoose_1.Schema({
|
|
|
8
8
|
ref: "ProjectEnvironment",
|
|
9
9
|
type: mongoose_1.Schema.Types.ObjectId,
|
|
10
10
|
required: true,
|
|
11
|
+
index: true,
|
|
12
|
+
},
|
|
13
|
+
source_project: {
|
|
14
|
+
ref: "Project",
|
|
15
|
+
type: mongoose_1.Schema.Types.ObjectId,
|
|
16
|
+
default: null,
|
|
17
|
+
index: true,
|
|
11
18
|
},
|
|
12
19
|
user: { ref: "User", type: mongoose_1.Schema.Types.ObjectId, required: true },
|
|
13
20
|
inheritable: { type: Boolean, default: true },
|
|
14
21
|
}, { timestamps: true });
|
|
15
22
|
environmentVariableSchema.index({ name: 1, project_environment: 1 }, { unique: true });
|
|
23
|
+
environmentVariableSchema.index({ project_environment: 1, source_project: 1, name: 1 });
|
|
16
24
|
exports.default = (0, mongoose_1.model)("EnvironmentVariable", environmentVariableSchema);
|