@brimble/models 3.8.38 → 3.8.40

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.
Files changed (72) hide show
  1. package/dist/activity-log.d.ts +6 -27
  2. package/dist/app-message.d.ts +6 -27
  3. package/dist/auto-scaling.d.ts +6 -27
  4. package/dist/card.d.ts +6 -27
  5. package/dist/cashier_subscription.d.ts +6 -27
  6. package/dist/cashier_subscription_item.d.ts +6 -27
  7. package/dist/collab-annotation.d.ts +6 -27
  8. package/dist/collab-comment.d.ts +6 -27
  9. package/dist/collab-integration.d.ts +6 -27
  10. package/dist/collab-push-subscription.d.ts +6 -27
  11. package/dist/collab-settings.d.ts +6 -27
  12. package/dist/collab-share-token.d.ts +6 -27
  13. package/dist/compute.d.ts +6 -27
  14. package/dist/db-image.d.ts +6 -27
  15. package/dist/domain/dns.d.ts +6 -27
  16. package/dist/domain/index.d.ts +6 -27
  17. package/dist/domain/renewal.d.ts +6 -27
  18. package/dist/domain/transfer.d.ts +6 -27
  19. package/dist/enum/index.js +40 -40
  20. package/dist/env.d.ts +6 -27
  21. package/dist/environment-variable.d.ts +6 -27
  22. package/dist/follower.d.ts +6 -27
  23. package/dist/following.d.ts +6 -27
  24. package/dist/framework.d.ts +6 -27
  25. package/dist/index.js +2 -1
  26. package/dist/integration.d.ts +6 -27
  27. package/dist/intention.d.ts +6 -27
  28. package/dist/invoice.d.ts +6 -27
  29. package/dist/job.d.ts +6 -2
  30. package/dist/job.js +17 -7
  31. package/dist/license.d.ts +6 -27
  32. package/dist/load-balancer-port.d.ts +6 -27
  33. package/dist/logs.d.ts +6 -27
  34. package/dist/logs.js +0 -2
  35. package/dist/member-permission.d.ts +6 -27
  36. package/dist/member.d.ts +6 -27
  37. package/dist/ownership-transfer.d.ts +6 -27
  38. package/dist/permission.d.ts +6 -27
  39. package/dist/plan_configuration.d.ts +6 -2
  40. package/dist/project/connection.d.ts +6 -27
  41. package/dist/project/index.d.ts +12 -29
  42. package/dist/project/preview.d.ts +6 -27
  43. package/dist/project-environment.d.ts +6 -27
  44. package/dist/project-tag-assignment.d.ts +6 -27
  45. package/dist/project_analytics.d.ts +6 -27
  46. package/dist/provider.d.ts +6 -27
  47. package/dist/region.d.ts +6 -26
  48. package/dist/role.d.ts +6 -27
  49. package/dist/sandbox-activity.d.ts +6 -27
  50. package/dist/sandbox-image.d.ts +6 -27
  51. package/dist/sandbox-snapshot-usage-segment.d.ts +6 -27
  52. package/dist/sandbox-snapshot.d.ts +6 -27
  53. package/dist/sandbox-snapshot.js +0 -2
  54. package/dist/sandbox-usage-segment.d.ts +6 -27
  55. package/dist/sandbox.d.ts +6 -27
  56. package/dist/server.d.ts +6 -27
  57. package/dist/settings.d.ts +6 -27
  58. package/dist/subscription.d.ts +6 -27
  59. package/dist/tag.d.ts +6 -27
  60. package/dist/team.d.ts +6 -27
  61. package/dist/token.d.ts +6 -27
  62. package/dist/user.d.ts +6 -27
  63. package/dist/volume-usage-segment.d.ts +6 -27
  64. package/dist/volume.d.ts +6 -27
  65. package/dist/wallet.d.ts +6 -27
  66. package/dist/webhook-category.d.ts +6 -27
  67. package/dist/webhook-event.d.ts +6 -27
  68. package/dist/webhook-setting.d.ts +6 -27
  69. package/index.ts +1 -1
  70. package/logs.ts +0 -3
  71. package/package.json +3 -4
  72. package/sandbox-snapshot.ts +0 -3
@@ -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 { IDomainRenewal } from "../types";
27
- declare const _default: import("mongoose").Model<IDomainRenewal, {}, {}, {}, import("mongoose").Document<unknown, {}, IDomainRenewal> & IDomainRenewal & {
2
+ declare const _default: import("mongoose").Model<IDomainRenewal, {}, {}, {}, import("mongoose").Document<unknown, {}, IDomainRenewal, {}, import("mongoose").DefaultSchemaOptions> & IDomainRenewal & Required<{
28
3
  _id: import("mongoose").Types.ObjectId;
29
- }, any>;
4
+ }> & {
5
+ __v: number;
6
+ } & {
7
+ id: string;
8
+ }, any, IDomainRenewal>;
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 { IDomainTransfer } from "../types";
27
- declare const _default: import("mongoose").Model<IDomainTransfer, {}, {}, {}, import("mongoose").Document<unknown, {}, IDomainTransfer> & IDomainTransfer & {
2
+ declare const _default: import("mongoose").Model<IDomainTransfer, {}, {}, {}, import("mongoose").Document<unknown, {}, IDomainTransfer, {}, import("mongoose").DefaultSchemaOptions> & IDomainTransfer & Required<{
28
3
  _id: import("mongoose").Types.ObjectId;
29
- }, any>;
4
+ }> & {
5
+ __v: number;
6
+ } & {
7
+ id: string;
8
+ }, any, IDomainTransfer>;
30
9
  export default _default;
@@ -8,32 +8,32 @@ var GIT_TYPE;
8
8
  GIT_TYPE["BITBUCKET"] = "BITBUCKET";
9
9
  GIT_TYPE["DOCKER"] = "DOCKER";
10
10
  GIT_TYPE["HUGGING_FACE"] = "HUGGINGFACE";
11
- })(GIT_TYPE = exports.GIT_TYPE || (exports.GIT_TYPE = {}));
11
+ })(GIT_TYPE || (exports.GIT_TYPE = GIT_TYPE = {}));
12
12
  var SERVER_PROTOCOL;
13
13
  (function (SERVER_PROTOCOL) {
14
14
  SERVER_PROTOCOL["TCP"] = "TCP";
15
15
  SERVER_PROTOCOL["UDP"] = "UDP";
16
16
  SERVER_PROTOCOL["HTTP"] = "HTTP";
17
17
  SERVER_PROTOCOL["HTTPS"] = "HTTPS";
18
- })(SERVER_PROTOCOL = exports.SERVER_PROTOCOL || (exports.SERVER_PROTOCOL = {}));
18
+ })(SERVER_PROTOCOL || (exports.SERVER_PROTOCOL = SERVER_PROTOCOL = {}));
19
19
  var BUILD_DISABLED_BY;
20
20
  (function (BUILD_DISABLED_BY) {
21
21
  BUILD_DISABLED_BY["System"] = "system";
22
22
  BUILD_DISABLED_BY["User"] = "user";
23
23
  BUILD_DISABLED_BY["Payment"] = "payment_failure";
24
- })(BUILD_DISABLED_BY = exports.BUILD_DISABLED_BY || (exports.BUILD_DISABLED_BY = {}));
24
+ })(BUILD_DISABLED_BY || (exports.BUILD_DISABLED_BY = BUILD_DISABLED_BY = {}));
25
25
  var REQUEST_TYPE;
26
26
  (function (REQUEST_TYPE) {
27
27
  REQUEST_TYPE["GET"] = "GET";
28
28
  REQUEST_TYPE["PUT"] = "PUT";
29
29
  REQUEST_TYPE["POST"] = "POST";
30
30
  REQUEST_TYPE["DELETE"] = "DELETE";
31
- })(REQUEST_TYPE = exports.REQUEST_TYPE || (exports.REQUEST_TYPE = {}));
31
+ })(REQUEST_TYPE || (exports.REQUEST_TYPE = REQUEST_TYPE = {}));
32
32
  var ENVIRONMENT;
33
33
  (function (ENVIRONMENT) {
34
34
  ENVIRONMENT["PREVIEW"] = "PREVIEW";
35
35
  ENVIRONMENT["PRODUCTION"] = "PRODUCTION";
36
- })(ENVIRONMENT = exports.ENVIRONMENT || (exports.ENVIRONMENT = {}));
36
+ })(ENVIRONMENT || (exports.ENVIRONMENT = ENVIRONMENT = {}));
37
37
  var INTEGRATION_TYPES;
38
38
  (function (INTEGRATION_TYPES) {
39
39
  INTEGRATION_TYPES["Messaging"] = "MESSAGING";
@@ -45,7 +45,7 @@ var INTEGRATION_TYPES;
45
45
  INTEGRATION_TYPES["Logging"] = "LOGGING";
46
46
  INTEGRATION_TYPES["Monitoring"] = "MONITORING";
47
47
  INTEGRATION_TYPES["Cms"] = "CMS";
48
- })(INTEGRATION_TYPES = exports.INTEGRATION_TYPES || (exports.INTEGRATION_TYPES = {}));
48
+ })(INTEGRATION_TYPES || (exports.INTEGRATION_TYPES = INTEGRATION_TYPES = {}));
49
49
  var INTEGRATION_PROVIDERS;
50
50
  (function (INTEGRATION_PROVIDERS) {
51
51
  INTEGRATION_PROVIDERS["Slack"] = "SLACK";
@@ -56,13 +56,13 @@ var INTEGRATION_PROVIDERS;
56
56
  INTEGRATION_PROVIDERS["Novu"] = "NOVU";
57
57
  INTEGRATION_PROVIDERS["Netlify"] = "NETLIFY";
58
58
  INTEGRATION_PROVIDERS["GoogleAnalytics"] = "GOOGLE_ANALYTICS";
59
- })(INTEGRATION_PROVIDERS = exports.INTEGRATION_PROVIDERS || (exports.INTEGRATION_PROVIDERS = {}));
59
+ })(INTEGRATION_PROVIDERS || (exports.INTEGRATION_PROVIDERS = INTEGRATION_PROVIDERS = {}));
60
60
  var CARD_TYPES;
61
61
  (function (CARD_TYPES) {
62
62
  CARD_TYPES["MASTERCARD"] = "MASTERCARD";
63
63
  CARD_TYPES["VISA"] = "VISA";
64
64
  CARD_TYPES["VERVE"] = "VERVE";
65
- })(CARD_TYPES = exports.CARD_TYPES || (exports.CARD_TYPES = {}));
65
+ })(CARD_TYPES || (exports.CARD_TYPES = CARD_TYPES = {}));
66
66
  var PROJECT_STATUS;
67
67
  (function (PROJECT_STATUS) {
68
68
  PROJECT_STATUS["INACTIVE"] = "INACTIVE";
@@ -75,12 +75,12 @@ var PROJECT_STATUS;
75
75
  PROJECT_STATUS["PAYMENT"] = "PAYMENT DUE";
76
76
  PROJECT_STATUS["NOMAD_READY"] = "NOMAD_READY";
77
77
  PROJECT_STATUS["NOMAD_FAILED"] = "NOMAD_FAILED";
78
- })(PROJECT_STATUS = exports.PROJECT_STATUS || (exports.PROJECT_STATUS = {}));
78
+ })(PROJECT_STATUS || (exports.PROJECT_STATUS = PROJECT_STATUS = {}));
79
79
  var SUBSCRIPTION_STATUS;
80
80
  (function (SUBSCRIPTION_STATUS) {
81
81
  SUBSCRIPTION_STATUS["ACTIVE"] = "active";
82
82
  SUBSCRIPTION_STATUS["INACTIVE"] = "in-active";
83
- })(SUBSCRIPTION_STATUS = exports.SUBSCRIPTION_STATUS || (exports.SUBSCRIPTION_STATUS = {}));
83
+ })(SUBSCRIPTION_STATUS || (exports.SUBSCRIPTION_STATUS = SUBSCRIPTION_STATUS = {}));
84
84
  var SUBSCRIPTION_PLAN_TYPE;
85
85
  (function (SUBSCRIPTION_PLAN_TYPE) {
86
86
  SUBSCRIPTION_PLAN_TYPE["FreePlan"] = "FREE_PLAN";
@@ -89,19 +89,19 @@ var SUBSCRIPTION_PLAN_TYPE;
89
89
  SUBSCRIPTION_PLAN_TYPE["DomainPlan"] = "DOMAIN_PLAN";
90
90
  SUBSCRIPTION_PLAN_TYPE["HackerPlan"] = "HACKER_PLAN";
91
91
  SUBSCRIPTION_PLAN_TYPE["LiscensePlan"] = "LISCENSE_PLAN";
92
- })(SUBSCRIPTION_PLAN_TYPE = exports.SUBSCRIPTION_PLAN_TYPE || (exports.SUBSCRIPTION_PLAN_TYPE = {}));
92
+ })(SUBSCRIPTION_PLAN_TYPE || (exports.SUBSCRIPTION_PLAN_TYPE = SUBSCRIPTION_PLAN_TYPE = {}));
93
93
  var OAUTH_PERMISSIONS;
94
94
  (function (OAUTH_PERMISSIONS) {
95
95
  OAUTH_PERMISSIONS["READ_USER"] = "read_user";
96
96
  OAUTH_PERMISSIONS["READ_PROJECT"] = "read_project";
97
97
  OAUTH_PERMISSIONS["UPDATE_CREDENTIALS"] = "update_credentials";
98
- })(OAUTH_PERMISSIONS = exports.OAUTH_PERMISSIONS || (exports.OAUTH_PERMISSIONS = {}));
98
+ })(OAUTH_PERMISSIONS || (exports.OAUTH_PERMISSIONS = OAUTH_PERMISSIONS = {}));
99
99
  var SERVER_STATUS;
100
100
  (function (SERVER_STATUS) {
101
101
  SERVER_STATUS["Active"] = "active";
102
102
  SERVER_STATUS["InProgress"] = "in-progress";
103
103
  SERVER_STATUS["InActive"] = "in-active";
104
- })(SERVER_STATUS = exports.SERVER_STATUS || (exports.SERVER_STATUS = {}));
104
+ })(SERVER_STATUS || (exports.SERVER_STATUS = SERVER_STATUS = {}));
105
105
  var DNS_TYPE;
106
106
  (function (DNS_TYPE) {
107
107
  DNS_TYPE["A"] = "A";
@@ -110,14 +110,14 @@ var DNS_TYPE;
110
110
  DNS_TYPE["TXT"] = "TXT";
111
111
  DNS_TYPE["MX"] = "MX";
112
112
  DNS_TYPE["SPF"] = "SPF";
113
- })(DNS_TYPE = exports.DNS_TYPE || (exports.DNS_TYPE = {}));
113
+ })(DNS_TYPE || (exports.DNS_TYPE = DNS_TYPE = {}));
114
114
  var ROLES;
115
115
  (function (ROLES) {
116
116
  ROLES["CREATOR"] = "CREATOR";
117
117
  ROLES["ADMINISTRATOR"] = "ADMINISTRATOR";
118
118
  ROLES["MEMBER"] = "MEMBER";
119
119
  ROLES["VIEWER"] = "VIEWER";
120
- })(ROLES = exports.ROLES || (exports.ROLES = {}));
120
+ })(ROLES || (exports.ROLES = ROLES = {}));
121
121
  var PERMISSION_TYPE;
122
122
  (function (PERMISSION_TYPE) {
123
123
  PERMISSION_TYPE["DOMAIN"] = "DOMAIN";
@@ -125,14 +125,14 @@ var PERMISSION_TYPE;
125
125
  PERMISSION_TYPE["PROJECT"] = "PROJECT";
126
126
  PERMISSION_TYPE["INTEGRATION"] = "INTEGRATION";
127
127
  PERMISSION_TYPE["USERS"] = "USERS";
128
- })(PERMISSION_TYPE = exports.PERMISSION_TYPE || (exports.PERMISSION_TYPE = {}));
128
+ })(PERMISSION_TYPE || (exports.PERMISSION_TYPE = PERMISSION_TYPE = {}));
129
129
  var REGION_CONTINENT;
130
130
  (function (REGION_CONTINENT) {
131
131
  REGION_CONTINENT["AFRICA"] = "Africa";
132
132
  REGION_CONTINENT["EUROPE"] = "Europe";
133
133
  REGION_CONTINENT["AMERICA"] = "America";
134
134
  REGION_CONTINENT["ASIA"] = "Asia";
135
- })(REGION_CONTINENT = exports.REGION_CONTINENT || (exports.REGION_CONTINENT = {}));
135
+ })(REGION_CONTINENT || (exports.REGION_CONTINENT = REGION_CONTINENT = {}));
136
136
  var ServiceType;
137
137
  (function (ServiceType) {
138
138
  ServiceType["Database"] = "database";
@@ -141,7 +141,7 @@ var ServiceType;
141
141
  ServiceType["Mcp"] = "mcp";
142
142
  ServiceType["Liscense"] = "liscense";
143
143
  ServiceType["Worker"] = "worker";
144
- })(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
144
+ })(ServiceType || (exports.ServiceType = ServiceType = {}));
145
145
  var DatabaseEngine;
146
146
  (function (DatabaseEngine) {
147
147
  DatabaseEngine["MySQL"] = "mysql";
@@ -150,7 +150,7 @@ var DatabaseEngine;
150
150
  DatabaseEngine["Redis"] = "redis";
151
151
  DatabaseEngine["WordPress"] = "wordpress";
152
152
  DatabaseEngine["SQLite"] = "sqlite";
153
- })(DatabaseEngine = exports.DatabaseEngine || (exports.DatabaseEngine = {}));
153
+ })(DatabaseEngine || (exports.DatabaseEngine = DatabaseEngine = {}));
154
154
  var JobStatus;
155
155
  (function (JobStatus) {
156
156
  JobStatus["SCHEDULED"] = "scheduled";
@@ -158,20 +158,20 @@ var JobStatus;
158
158
  JobStatus["COMPLETED"] = "completed";
159
159
  JobStatus["FAILED"] = "failed";
160
160
  JobStatus["CANCELLED"] = "cancelled";
161
- })(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
161
+ })(JobStatus || (exports.JobStatus = JobStatus = {}));
162
162
  var LicenseStatus;
163
163
  (function (LicenseStatus) {
164
164
  LicenseStatus["ACTIVE"] = "ACTIVE";
165
165
  LicenseStatus["EXPIRED"] = "EXPIRED";
166
166
  LicenseStatus["SUSPENDED"] = "SUSPENDED";
167
167
  LicenseStatus["REVOKED"] = "REVOKED";
168
- })(LicenseStatus = exports.LicenseStatus || (exports.LicenseStatus = {}));
168
+ })(LicenseStatus || (exports.LicenseStatus = LicenseStatus = {}));
169
169
  var SCALING_STRATEGY;
170
170
  (function (SCALING_STRATEGY) {
171
171
  SCALING_STRATEGY["Linear"] = "LINEAR";
172
172
  SCALING_STRATEGY["Exponential"] = "EXPONENTIAL";
173
173
  SCALING_STRATEGY["Target"] = "TARGET";
174
- })(SCALING_STRATEGY = exports.SCALING_STRATEGY || (exports.SCALING_STRATEGY = {}));
174
+ })(SCALING_STRATEGY || (exports.SCALING_STRATEGY = SCALING_STRATEGY = {}));
175
175
  var SCALING_METRIC;
176
176
  (function (SCALING_METRIC) {
177
177
  SCALING_METRIC["Cpu"] = "CPU";
@@ -179,72 +179,72 @@ var SCALING_METRIC;
179
179
  SCALING_METRIC["RequestCount"] = "REQUEST_COUNT";
180
180
  SCALING_METRIC["ResponseTime"] = "RESPONSE_TIME";
181
181
  SCALING_METRIC["CustomMetric"] = "CUSTOM_METRIC";
182
- })(SCALING_METRIC = exports.SCALING_METRIC || (exports.SCALING_METRIC = {}));
182
+ })(SCALING_METRIC || (exports.SCALING_METRIC = SCALING_METRIC = {}));
183
183
  var FrameworkApplicationType;
184
184
  (function (FrameworkApplicationType) {
185
185
  FrameworkApplicationType["Spa"] = "spa";
186
186
  FrameworkApplicationType["Ssr"] = "ssr";
187
187
  FrameworkApplicationType["Static"] = "static";
188
188
  FrameworkApplicationType["Backend"] = "backend";
189
- })(FrameworkApplicationType = exports.FrameworkApplicationType || (exports.FrameworkApplicationType = {}));
189
+ })(FrameworkApplicationType || (exports.FrameworkApplicationType = FrameworkApplicationType = {}));
190
190
  var DomainRenewalStatus;
191
191
  (function (DomainRenewalStatus) {
192
192
  DomainRenewalStatus["Pending"] = "pending";
193
193
  DomainRenewalStatus["Completed"] = "completed";
194
194
  DomainRenewalStatus["Failed"] = "failed";
195
- })(DomainRenewalStatus = exports.DomainRenewalStatus || (exports.DomainRenewalStatus = {}));
195
+ })(DomainRenewalStatus || (exports.DomainRenewalStatus = DomainRenewalStatus = {}));
196
196
  var DomainTransferProvider;
197
197
  (function (DomainTransferProvider) {
198
198
  DomainTransferProvider["Dynadot"] = "dynadot";
199
199
  DomainTransferProvider["NameDotCom"] = "name-dot-com";
200
200
  DomainTransferProvider["NameCheap"] = "name-cheap";
201
- })(DomainTransferProvider = exports.DomainTransferProvider || (exports.DomainTransferProvider = {}));
201
+ })(DomainTransferProvider || (exports.DomainTransferProvider = DomainTransferProvider = {}));
202
202
  var DomainTransferDirection;
203
203
  (function (DomainTransferDirection) {
204
204
  DomainTransferDirection["TransferIn"] = "transfer_in";
205
205
  DomainTransferDirection["TransferOut"] = "transfer_out";
206
- })(DomainTransferDirection = exports.DomainTransferDirection || (exports.DomainTransferDirection = {}));
206
+ })(DomainTransferDirection || (exports.DomainTransferDirection = DomainTransferDirection = {}));
207
207
  var DomainTransferStatus;
208
208
  (function (DomainTransferStatus) {
209
209
  DomainTransferStatus["Pending"] = "pending";
210
210
  DomainTransferStatus["Completed"] = "completed";
211
211
  DomainTransferStatus["Failed"] = "failed";
212
212
  DomainTransferStatus["Cancelled"] = "cancelled";
213
- })(DomainTransferStatus = exports.DomainTransferStatus || (exports.DomainTransferStatus = {}));
213
+ })(DomainTransferStatus || (exports.DomainTransferStatus = DomainTransferStatus = {}));
214
214
  var NomadDeploymentStatus;
215
215
  (function (NomadDeploymentStatus) {
216
216
  NomadDeploymentStatus["NOMAD_SETUP"] = "nomad_setup";
217
217
  NomadDeploymentStatus["NOMAD_READY"] = "nomad_ready";
218
218
  NomadDeploymentStatus["NOMAD_FAILED"] = "nomad_failed";
219
- })(NomadDeploymentStatus = exports.NomadDeploymentStatus || (exports.NomadDeploymentStatus = {}));
219
+ })(NomadDeploymentStatus || (exports.NomadDeploymentStatus = NomadDeploymentStatus = {}));
220
220
  var COLLAB_ANNOTATION_STATUS;
221
221
  (function (COLLAB_ANNOTATION_STATUS) {
222
222
  COLLAB_ANNOTATION_STATUS["OPEN"] = "open";
223
223
  COLLAB_ANNOTATION_STATUS["RESOLVED"] = "resolved";
224
- })(COLLAB_ANNOTATION_STATUS = exports.COLLAB_ANNOTATION_STATUS || (exports.COLLAB_ANNOTATION_STATUS = {}));
224
+ })(COLLAB_ANNOTATION_STATUS || (exports.COLLAB_ANNOTATION_STATUS = COLLAB_ANNOTATION_STATUS = {}));
225
225
  var COLLAB_INTEGRATION_TYPE;
226
226
  (function (COLLAB_INTEGRATION_TYPE) {
227
227
  COLLAB_INTEGRATION_TYPE["SLACK"] = "slack";
228
228
  COLLAB_INTEGRATION_TYPE["DISCORD"] = "discord";
229
- })(COLLAB_INTEGRATION_TYPE = exports.COLLAB_INTEGRATION_TYPE || (exports.COLLAB_INTEGRATION_TYPE = {}));
229
+ })(COLLAB_INTEGRATION_TYPE || (exports.COLLAB_INTEGRATION_TYPE = COLLAB_INTEGRATION_TYPE = {}));
230
230
  var COLLAB_THEME;
231
231
  (function (COLLAB_THEME) {
232
232
  COLLAB_THEME["LIGHT"] = "light";
233
233
  COLLAB_THEME["DARK"] = "dark";
234
234
  COLLAB_THEME["SYSTEM"] = "system";
235
- })(COLLAB_THEME = exports.COLLAB_THEME || (exports.COLLAB_THEME = {}));
235
+ })(COLLAB_THEME || (exports.COLLAB_THEME = COLLAB_THEME = {}));
236
236
  var COLLAB_TOOLBAR_POSITION;
237
237
  (function (COLLAB_TOOLBAR_POSITION) {
238
238
  COLLAB_TOOLBAR_POSITION["LEFT"] = "left";
239
239
  COLLAB_TOOLBAR_POSITION["BOTTOM"] = "bottom";
240
240
  COLLAB_TOOLBAR_POSITION["RIGHT"] = "right";
241
- })(COLLAB_TOOLBAR_POSITION = exports.COLLAB_TOOLBAR_POSITION || (exports.COLLAB_TOOLBAR_POSITION = {}));
241
+ })(COLLAB_TOOLBAR_POSITION || (exports.COLLAB_TOOLBAR_POSITION = COLLAB_TOOLBAR_POSITION = {}));
242
242
  var INVOICE_STATUS;
243
243
  (function (INVOICE_STATUS) {
244
244
  INVOICE_STATUS["ACTIVE"] = "ACTIVE";
245
245
  INVOICE_STATUS["PAID"] = "PAID";
246
246
  INVOICE_STATUS["EXPIRED"] = "EXPIRED";
247
- })(INVOICE_STATUS = exports.INVOICE_STATUS || (exports.INVOICE_STATUS = {}));
247
+ })(INVOICE_STATUS || (exports.INVOICE_STATUS = INVOICE_STATUS = {}));
248
248
  var INVOICE_PAYMENT_STATUS;
249
249
  (function (INVOICE_PAYMENT_STATUS) {
250
250
  INVOICE_PAYMENT_STATUS["PENDING"] = "PENDING";
@@ -253,17 +253,17 @@ var INVOICE_PAYMENT_STATUS;
253
253
  INVOICE_PAYMENT_STATUS["FAILED"] = "FAILED";
254
254
  INVOICE_PAYMENT_STATUS["REFUNDED"] = "REFUNDED";
255
255
  INVOICE_PAYMENT_STATUS["REFUND_PROCESSING"] = "REFUND_PROCESSING";
256
- })(INVOICE_PAYMENT_STATUS = exports.INVOICE_PAYMENT_STATUS || (exports.INVOICE_PAYMENT_STATUS = {}));
256
+ })(INVOICE_PAYMENT_STATUS || (exports.INVOICE_PAYMENT_STATUS = INVOICE_PAYMENT_STATUS = {}));
257
257
  var INVOICE_TYPE;
258
258
  (function (INVOICE_TYPE) {
259
259
  INVOICE_TYPE["INVOICE"] = "invoice";
260
260
  INVOICE_TYPE["RECEIPT"] = "receipt";
261
- })(INVOICE_TYPE = exports.INVOICE_TYPE || (exports.INVOICE_TYPE = {}));
261
+ })(INVOICE_TYPE || (exports.INVOICE_TYPE = INVOICE_TYPE = {}));
262
262
  var SANDBOX_TEMPLATE;
263
263
  (function (SANDBOX_TEMPLATE) {
264
264
  SANDBOX_TEMPLATE["PYTHON"] = "python";
265
265
  SANDBOX_TEMPLATE["NODE"] = "node";
266
- })(SANDBOX_TEMPLATE = exports.SANDBOX_TEMPLATE || (exports.SANDBOX_TEMPLATE = {}));
266
+ })(SANDBOX_TEMPLATE || (exports.SANDBOX_TEMPLATE = SANDBOX_TEMPLATE = {}));
267
267
  var SANDBOX_STATUS;
268
268
  (function (SANDBOX_STATUS) {
269
269
  SANDBOX_STATUS["STARTING"] = "starting";
@@ -273,7 +273,7 @@ var SANDBOX_STATUS;
273
273
  SANDBOX_STATUS["PAUSING"] = "pausing";
274
274
  SANDBOX_STATUS["PAUSED"] = "paused";
275
275
  SANDBOX_STATUS["RESUMING"] = "resuming";
276
- })(SANDBOX_STATUS = exports.SANDBOX_STATUS || (exports.SANDBOX_STATUS = {}));
276
+ })(SANDBOX_STATUS || (exports.SANDBOX_STATUS = SANDBOX_STATUS = {}));
277
277
  var SANDBOX_DESTROY_REASON;
278
278
  (function (SANDBOX_DESTROY_REASON) {
279
279
  SANDBOX_DESTROY_REASON["USER"] = "user";
@@ -282,10 +282,10 @@ var SANDBOX_DESTROY_REASON;
282
282
  SANDBOX_DESTROY_REASON["FAILED"] = "failed";
283
283
  SANDBOX_DESTROY_REASON["ONE_SHOT_STOPPED"] = "one_shot_stopped";
284
284
  SANDBOX_DESTROY_REASON["PAUSED_TOO_LONG"] = "paused_too_long";
285
- })(SANDBOX_DESTROY_REASON = exports.SANDBOX_DESTROY_REASON || (exports.SANDBOX_DESTROY_REASON = {}));
285
+ })(SANDBOX_DESTROY_REASON || (exports.SANDBOX_DESTROY_REASON = SANDBOX_DESTROY_REASON = {}));
286
286
  var SANDBOX_SNAPSHOT_STATUS;
287
287
  (function (SANDBOX_SNAPSHOT_STATUS) {
288
288
  SANDBOX_SNAPSHOT_STATUS["CREATING"] = "creating";
289
289
  SANDBOX_SNAPSHOT_STATUS["READY"] = "ready";
290
290
  SANDBOX_SNAPSHOT_STATUS["FAILED"] = "failed";
291
- })(SANDBOX_SNAPSHOT_STATUS = exports.SANDBOX_SNAPSHOT_STATUS || (exports.SANDBOX_SNAPSHOT_STATUS = {}));
291
+ })(SANDBOX_SNAPSHOT_STATUS || (exports.SANDBOX_SNAPSHOT_STATUS = SANDBOX_SNAPSHOT_STATUS = {}));
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
- }, any>;
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
- }, any>;
4
+ }> & {
5
+ __v: number;
6
+ } & {
7
+ id: string;
8
+ }, any, IEnvironmentVariable>;
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 { IFollowing } from "./types";
27
- declare const _default: import("mongoose").Model<IFollowing, {}, {}, {}, import("mongoose").Document<unknown, {}, IFollowing> & IFollowing & {
2
+ declare const _default: import("mongoose").Model<IFollowing, {}, {}, {}, import("mongoose").Document<unknown, {}, IFollowing, {}, import("mongoose").DefaultSchemaOptions> & IFollowing & Required<{
28
3
  _id: import("mongoose").Types.ObjectId;
29
- }, any>;
4
+ }> & {
5
+ __v: number;
6
+ } & {
7
+ id: string;
8
+ }, any, IFollowing>;
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 { IFollowing } from "./types";
27
- declare const _default: import("mongoose").Model<IFollowing, {}, {}, {}, import("mongoose").Document<unknown, {}, IFollowing> & IFollowing & {
2
+ declare const _default: import("mongoose").Model<IFollowing, {}, {}, {}, import("mongoose").Document<unknown, {}, IFollowing, {}, import("mongoose").DefaultSchemaOptions> & IFollowing & Required<{
28
3
  _id: import("mongoose").Types.ObjectId;
29
- }, any>;
4
+ }> & {
5
+ __v: number;
6
+ } & {
7
+ id: string;
8
+ }, any, IFollowing>;
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 { IFramework } from "./types";
27
- declare const _default: import("mongoose").Model<IFramework, {}, {}, {}, import("mongoose").Document<unknown, {}, IFramework> & IFramework & {
2
+ declare const _default: import("mongoose").Model<IFramework, {}, {}, {}, import("mongoose").Document<unknown, {}, IFramework, {}, import("mongoose").DefaultSchemaOptions> & IFramework & Required<{
28
3
  _id: import("mongoose").Types.ObjectId;
29
- }, any>;
4
+ }> & {
5
+ __v: number;
6
+ } & {
7
+ id: string;
8
+ }, any, IFramework>;
30
9
  export default _default;
package/dist/index.js CHANGED
@@ -201,11 +201,12 @@ exports.db = mongoose_1.default.connection;
201
201
  const closeMongo = () => mongoose_1.default.connection.close(true);
202
202
  exports.closeMongo = closeMongo;
203
203
  const healthCheckMongo = () => __awaiter(void 0, void 0, void 0, function* () {
204
+ var _a;
204
205
  try {
205
206
  if (mongoose_1.default.connection.readyState !== 1) {
206
207
  return false;
207
208
  }
208
- yield mongoose_1.default.connection.db.admin().ping();
209
+ yield ((_a = mongoose_1.default.connection.db) === null || _a === void 0 ? void 0 : _a.admin().ping());
209
210
  return true;
210
211
  }
211
212
  catch (error) {
@@ -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 { IIntegration } from "./types";
27
- declare const _default: import("mongoose").Model<IIntegration, {}, {}, {}, import("mongoose").Document<unknown, {}, IIntegration> & IIntegration & {
2
+ declare const _default: import("mongoose").Model<IIntegration, {}, {}, {}, import("mongoose").Document<unknown, {}, IIntegration, {}, import("mongoose").DefaultSchemaOptions> & IIntegration & Required<{
28
3
  _id: import("mongoose").Types.ObjectId;
29
- }, any>;
4
+ }> & {
5
+ __v: number;
6
+ } & {
7
+ id: string;
8
+ }, any, IIntegration>;
30
9
  export default _default;