@brimble/models 4.0.1 → 4.0.2
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/types/activity-log.d.ts +8 -8
- package/dist/types/agent-design-skill-revision.d.ts +1 -1
- package/dist/types/alert-rule.d.ts +1 -1
- package/dist/types/app-message.d.ts +4 -4
- package/dist/types/auto-scaling-group.d.ts +2 -2
- package/dist/types/cashier_subscription.d.ts +1 -1
- package/dist/types/collab-annotation.d.ts +13 -13
- package/dist/types/collab-comment.d.ts +6 -6
- package/dist/types/collab-integration.d.ts +1 -1
- package/dist/types/collab-settings.d.ts +2 -2
- package/dist/types/collab-share-token.d.ts +1 -1
- package/dist/types/compute.d.ts +11 -11
- package/dist/types/coupon-redemption.d.ts +9 -9
- package/dist/types/coupon.d.ts +11 -11
- package/dist/types/db-image.d.ts +3 -3
- package/dist/types/domain/dns-changelog.d.ts +8 -8
- package/dist/types/domain/dns.d.ts +1 -1
- package/dist/types/domain/index.d.ts +6 -6
- package/dist/types/domain/transfer.d.ts +13 -13
- package/dist/types/drain.d.ts +13 -13
- package/dist/types/email-dead-letter.d.ts +3 -3
- package/dist/types/env.d.ts +1 -1
- package/dist/types/environment-variable.d.ts +1 -1
- package/dist/types/following.d.ts +2 -2
- package/dist/types/framework.d.ts +9 -9
- package/dist/types/git.d.ts +12 -12
- package/dist/types/integration.d.ts +7 -7
- package/dist/types/intention.d.ts +1 -1
- package/dist/types/job.d.ts +9 -9
- package/dist/types/logs.d.ts +3 -3
- package/dist/types/member.d.ts +2 -2
- package/dist/types/plan_configuration.d.ts +1 -1
- package/dist/types/platform-api-key.d.ts +4 -4
- package/dist/types/project/index.d.ts +31 -31
- package/dist/types/project/preview.d.ts +1 -1
- package/dist/types/project-drain-subscription.d.ts +1 -1
- package/dist/types/project-environment.d.ts +2 -2
- package/dist/types/project-network-settings.d.ts +2 -2
- package/dist/types/project_analytics.d.ts +1 -1
- package/dist/types/quest-campaign.d.ts +2 -2
- package/dist/types/quest-participation.d.ts +2 -2
- package/dist/types/quest-reward-issuance.d.ts +2 -2
- package/dist/types/ratelimit.d.ts +16 -16
- package/dist/types/ref.d.ts +3 -2
- package/dist/types/region.d.ts +15 -15
- package/dist/types/role.d.ts +2 -2
- package/dist/types/sandbox-activity.d.ts +2 -2
- package/dist/types/sandbox-usage-segment.d.ts +2 -2
- package/dist/types/sandbox.d.ts +1 -1
- package/dist/types/server.d.ts +11 -11
- package/dist/types/storage.d.ts +50 -50
- package/dist/types/streak-day.d.ts +2 -2
- package/dist/types/streak-event.d.ts +2 -2
- package/dist/types/streak-milestone.d.ts +2 -2
- package/dist/types/streak.d.ts +2 -2
- package/dist/types/subscription.d.ts +1 -1
- package/dist/types/ticket.d.ts +5 -5
- package/dist/types/user.d.ts +4 -4
- package/dist/types/volume-usage-segment.d.ts +3 -3
- package/dist/types/volume.d.ts +6 -6
- package/dist/types/webhook-setting.d.ts +2 -2
- package/package.json +1 -1
package/dist/types/streak.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface ISubscription extends Document {
|
|
|
11
11
|
admin_id: Ref<IUser>;
|
|
12
12
|
downgraded: boolean;
|
|
13
13
|
billable_id: Ref<IUser>;
|
|
14
|
-
project_id
|
|
14
|
+
project_id: Ref<IProject>;
|
|
15
15
|
plan_type: SUBSCRIPTION_PLAN_TYPE;
|
|
16
16
|
status: SUBSCRIPTION_STATUS;
|
|
17
17
|
amount: number;
|
package/dist/types/ticket.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ export interface ITicket extends Document {
|
|
|
9
9
|
message: string;
|
|
10
10
|
status: string;
|
|
11
11
|
attachment_count: number;
|
|
12
|
-
linear_issue_id
|
|
13
|
-
linear_issue_identifier
|
|
14
|
-
linear_issue_url
|
|
15
|
-
resolved_at
|
|
16
|
-
remarks
|
|
12
|
+
linear_issue_id: string | null;
|
|
13
|
+
linear_issue_identifier: string | null;
|
|
14
|
+
linear_issue_url: string | null;
|
|
15
|
+
resolved_at: Date | null;
|
|
16
|
+
remarks: string | null;
|
|
17
17
|
createdAt: Date;
|
|
18
18
|
updatedAt: Date;
|
|
19
19
|
}
|
package/dist/types/user.d.ts
CHANGED
|
@@ -11,15 +11,15 @@ export interface IUser extends Document {
|
|
|
11
11
|
password: string;
|
|
12
12
|
email_verified_at: string;
|
|
13
13
|
verification_token: number;
|
|
14
|
-
token
|
|
15
|
-
company
|
|
14
|
+
token: string;
|
|
15
|
+
company: string;
|
|
16
16
|
ai_usage_count: number;
|
|
17
17
|
github: IGit;
|
|
18
18
|
gitlab: IGit;
|
|
19
19
|
location: string;
|
|
20
20
|
interests: Array<string>;
|
|
21
21
|
bitbucket: IGit;
|
|
22
|
-
origin
|
|
22
|
+
origin: IOrigin;
|
|
23
23
|
following: Ref<IFollowing>[];
|
|
24
24
|
projects: Ref<IProject>[];
|
|
25
25
|
teams: Ref<ITeam>[];
|
|
@@ -45,7 +45,7 @@ export interface IUser extends Document {
|
|
|
45
45
|
email: boolean;
|
|
46
46
|
mute: boolean;
|
|
47
47
|
};
|
|
48
|
-
totp_enabled
|
|
48
|
+
totp_enabled: boolean;
|
|
49
49
|
agent_byok_enabled: boolean;
|
|
50
50
|
created_at: Date;
|
|
51
51
|
updated_at: Date;
|
|
@@ -9,9 +9,9 @@ export interface IVolumeUsageSegment extends Document {
|
|
|
9
9
|
user_id: Types.ObjectId;
|
|
10
10
|
team_id: Types.ObjectId | null;
|
|
11
11
|
size_gb: number;
|
|
12
|
-
volume_name
|
|
13
|
-
project_id
|
|
14
|
-
project_name
|
|
12
|
+
volume_name: string | null;
|
|
13
|
+
project_id: Types.ObjectId | null;
|
|
14
|
+
project_name: string | null;
|
|
15
15
|
costs: IVolumeUsageSegmentCosts;
|
|
16
16
|
billed: boolean;
|
|
17
17
|
createdAt: Date;
|
package/dist/types/volume.d.ts
CHANGED
|
@@ -5,18 +5,18 @@ import { IRegion } from "./region";
|
|
|
5
5
|
import { Ref } from "./ref";
|
|
6
6
|
export interface IVolume extends Document {
|
|
7
7
|
name: string;
|
|
8
|
-
user
|
|
9
|
-
team
|
|
8
|
+
user: Ref<IUser>;
|
|
9
|
+
team: Ref<ITeam>;
|
|
10
10
|
namespace: string;
|
|
11
11
|
size: number;
|
|
12
12
|
type: string;
|
|
13
|
-
mount_path
|
|
13
|
+
mount_path: string;
|
|
14
14
|
csi_volume_id: string | null;
|
|
15
15
|
region: Ref<IRegion> | null;
|
|
16
16
|
attached_sandbox_id: Types.ObjectId | null;
|
|
17
17
|
attached_project_id: Types.ObjectId | null;
|
|
18
18
|
last_attached_at: Date | null;
|
|
19
|
-
deleted_at
|
|
20
|
-
created_at
|
|
21
|
-
updated_at
|
|
19
|
+
deleted_at: Date | null;
|
|
20
|
+
created_at: Date;
|
|
21
|
+
updated_at: Date;
|
|
22
22
|
}
|
|
@@ -6,10 +6,10 @@ import { ITeam } from "./team";
|
|
|
6
6
|
import { Ref } from "./ref";
|
|
7
7
|
export interface IWebhookSetting extends Document {
|
|
8
8
|
user_id: Ref<IUser>;
|
|
9
|
-
team_id
|
|
9
|
+
team_id: Ref<ITeam>;
|
|
10
10
|
subscription_id: Ref<ISubscription>;
|
|
11
11
|
webhook_id: string;
|
|
12
|
-
external_webhook_url
|
|
12
|
+
external_webhook_url: string;
|
|
13
13
|
webhookUrl: string;
|
|
14
14
|
discordUrl: string;
|
|
15
15
|
slackUrl: string;
|