@revealui/contracts 1.1.0 → 1.2.0
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/a2a/index.d.ts.map +1 -1
- package/dist/a2a/index.js.map +1 -1
- package/dist/actions/action-validator.d.ts.map +1 -1
- package/dist/actions/action-validator.js.map +1 -1
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js.map +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js.map +1 -1
- package/dist/api/auth.d.ts +112 -0
- package/dist/api/auth.d.ts.map +1 -1
- package/dist/api/auth.js +123 -0
- package/dist/api/auth.js.map +1 -1
- package/dist/api/chat.d.ts +59 -4
- package/dist/api/chat.d.ts.map +1 -1
- package/dist/api/chat.js +42 -5
- package/dist/api/chat.js.map +1 -1
- package/dist/api/gdpr.d.ts.map +1 -1
- package/dist/api/gdpr.js.map +1 -1
- package/dist/cms/collection.d.ts.map +1 -1
- package/dist/cms/collection.js.map +1 -1
- package/dist/cms/compat.d.ts.map +1 -1
- package/dist/cms/compat.js.map +1 -1
- package/dist/cms/config-contract.d.ts.map +1 -1
- package/dist/cms/config-contract.js.map +1 -1
- package/dist/cms/config.d.ts +2 -0
- package/dist/cms/config.d.ts.map +1 -1
- package/dist/cms/config.js.map +1 -1
- package/dist/cms/errors.d.ts.map +1 -1
- package/dist/cms/errors.js.map +1 -1
- package/dist/cms/extensibility.d.ts.map +1 -1
- package/dist/cms/extensibility.js.map +1 -1
- package/dist/cms/field.d.ts.map +1 -1
- package/dist/cms/field.js.map +1 -1
- package/dist/cms/functions.d.ts +11 -1
- package/dist/cms/functions.d.ts.map +1 -1
- package/dist/cms/global.d.ts.map +1 -1
- package/dist/cms/global.js.map +1 -1
- package/dist/cms/index.d.ts +1 -1
- package/dist/cms/index.d.ts.map +1 -1
- package/dist/cms/index.js.map +1 -1
- package/dist/cms/structure.d.ts.map +1 -1
- package/dist/cms/structure.js.map +1 -1
- package/dist/content/index.d.ts.map +1 -1
- package/dist/content/index.js.map +1 -1
- package/dist/database/bridge.d.ts +0 -18
- package/dist/database/bridge.d.ts.map +1 -1
- package/dist/database/bridge.js +0 -22
- package/dist/database/bridge.js.map +1 -1
- package/dist/database/index.d.ts +2 -2
- package/dist/database/index.d.ts.map +1 -1
- package/dist/database/index.js +1 -2
- package/dist/database/index.js.map +1 -1
- package/dist/database/type-bridge.d.ts +0 -10
- package/dist/database/type-bridge.d.ts.map +1 -1
- package/dist/database/type-bridge.js.map +1 -1
- package/dist/entities/agent-context.d.ts.map +1 -1
- package/dist/entities/agent-context.js.map +1 -1
- package/dist/entities/agent-memory.d.ts.map +1 -1
- package/dist/entities/agent-memory.js.map +1 -1
- package/dist/entities/board.d.ts.map +1 -1
- package/dist/entities/board.js.map +1 -1
- package/dist/entities/code-provenance.d.ts.map +1 -1
- package/dist/entities/code-provenance.js.map +1 -1
- package/dist/entities/index.d.ts +11 -4
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +11 -4
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/media.d.ts.map +1 -1
- package/dist/entities/media.js.map +1 -1
- package/dist/entities/page-revision.d.ts.map +1 -1
- package/dist/entities/page-revision.js.map +1 -1
- package/dist/entities/page.d.ts +2 -1
- package/dist/entities/page.d.ts.map +1 -1
- package/dist/entities/page.js +2 -6
- package/dist/entities/page.js.map +1 -1
- package/dist/entities/post.d.ts.map +1 -1
- package/dist/entities/post.js.map +1 -1
- package/dist/entities/price.d.ts +35 -15
- package/dist/entities/price.d.ts.map +1 -1
- package/dist/entities/price.js +5 -7
- package/dist/entities/price.js.map +1 -1
- package/dist/entities/product.d.ts +35 -15
- package/dist/entities/product.d.ts.map +1 -1
- package/dist/entities/product.js +5 -6
- package/dist/entities/product.js.map +1 -1
- package/dist/entities/session.d.ts.map +1 -1
- package/dist/entities/session.js.map +1 -1
- package/dist/entities/site.d.ts +2 -1
- package/dist/entities/site.d.ts.map +1 -1
- package/dist/entities/site.js +2 -6
- package/dist/entities/site.js.map +1 -1
- package/dist/entities/ticket-comment.d.ts +1 -1
- package/dist/entities/ticket-comment.d.ts.map +1 -1
- package/dist/entities/ticket-comment.js.map +1 -1
- package/dist/entities/ticket-label.d.ts.map +1 -1
- package/dist/entities/ticket-label.js.map +1 -1
- package/dist/entities/ticket.d.ts.map +1 -1
- package/dist/entities/ticket.js +2 -0
- package/dist/entities/ticket.js.map +1 -1
- package/dist/entities/user.d.ts +1 -0
- package/dist/entities/user.d.ts.map +1 -1
- package/dist/entities/user.js +3 -2
- package/dist/entities/user.js.map +1 -1
- package/dist/foundation/contract.d.ts.map +1 -1
- package/dist/foundation/contract.js.map +1 -1
- package/dist/foundation/index.d.ts.map +1 -1
- package/dist/foundation/index.js.map +1 -1
- package/dist/generated/contracts.d.ts +721 -3
- package/dist/generated/contracts.d.ts.map +1 -1
- package/dist/generated/contracts.js +507 -1
- package/dist/generated/contracts.js.map +1 -1
- package/dist/generated/zod-schemas.d.ts +13811 -5683
- package/dist/generated/zod-schemas.d.ts.map +1 -1
- package/dist/generated/zod-schemas.js +287 -1
- package/dist/generated/zod-schemas.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/pricing.d.ts +63 -0
- package/dist/pricing.d.ts.map +1 -0
- package/dist/pricing.js +216 -0
- package/dist/pricing.js.map +1 -0
- package/dist/providers.d.ts +4 -0
- package/dist/providers.d.ts.map +1 -0
- package/dist/providers.js +10 -0
- package/dist/providers.js.map +1 -0
- package/dist/representation/index.d.ts.map +1 -1
- package/dist/representation/index.js.map +1 -1
- package/package.json +12 -7
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Auto-generated Contract wrappers
|
|
3
3
|
*
|
|
4
4
|
* DO NOT EDIT - Regenerate with: pnpm generate:all
|
|
5
|
-
* Generated: 2026-03-
|
|
5
|
+
* Generated: 2026-03-19T09:07:55.782Z
|
|
6
6
|
*
|
|
7
7
|
* This file provides Contract wrappers for all database tables.
|
|
8
8
|
* Contracts combine TypeScript types, Zod schemas, and runtime validation
|
|
@@ -11,6 +11,128 @@
|
|
|
11
11
|
* These base contracts can be extended in entity contracts to add
|
|
12
12
|
* business logic, computed fields, and custom validation rules.
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* Contract for accountEntitlements row (Select)
|
|
16
|
+
* Database table: account_entitlements
|
|
17
|
+
*/
|
|
18
|
+
export declare const AccountEntitlementsRowContract: import("../index.js").Contract<{
|
|
19
|
+
accountId: string;
|
|
20
|
+
planId: string;
|
|
21
|
+
tier: string;
|
|
22
|
+
status: string;
|
|
23
|
+
features: Record<string, boolean>;
|
|
24
|
+
limits: {
|
|
25
|
+
maxSites?: number;
|
|
26
|
+
maxUsers?: number;
|
|
27
|
+
maxAgentTasks?: number;
|
|
28
|
+
};
|
|
29
|
+
meteringStatus: string;
|
|
30
|
+
graceUntil: Date | null;
|
|
31
|
+
updatedAt: Date;
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Contract for accountEntitlements insert
|
|
35
|
+
* Database table: account_entitlements
|
|
36
|
+
*/
|
|
37
|
+
export declare const AccountEntitlementsInsertContract: import("../index.js").Contract<{
|
|
38
|
+
accountId: string;
|
|
39
|
+
planId: string;
|
|
40
|
+
tier?: string | undefined;
|
|
41
|
+
status?: string | undefined;
|
|
42
|
+
features?: Record<string, boolean> | undefined;
|
|
43
|
+
limits?: {
|
|
44
|
+
maxSites?: number;
|
|
45
|
+
maxUsers?: number;
|
|
46
|
+
maxAgentTasks?: number;
|
|
47
|
+
} | undefined;
|
|
48
|
+
meteringStatus?: string | undefined;
|
|
49
|
+
graceUntil?: Date | null | undefined;
|
|
50
|
+
updatedAt?: Date | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Contract for accountMemberships row (Select)
|
|
54
|
+
* Database table: account_memberships
|
|
55
|
+
*/
|
|
56
|
+
export declare const AccountMembershipsRowContract: import("../index.js").Contract<{
|
|
57
|
+
id: string;
|
|
58
|
+
accountId: string;
|
|
59
|
+
userId: string;
|
|
60
|
+
role: string;
|
|
61
|
+
status: string;
|
|
62
|
+
createdAt: Date;
|
|
63
|
+
updatedAt: Date;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* Contract for accountMemberships insert
|
|
67
|
+
* Database table: account_memberships
|
|
68
|
+
*/
|
|
69
|
+
export declare const AccountMembershipsInsertContract: import("../index.js").Contract<{
|
|
70
|
+
id: string;
|
|
71
|
+
accountId: string;
|
|
72
|
+
userId: string;
|
|
73
|
+
role?: string | undefined;
|
|
74
|
+
status?: string | undefined;
|
|
75
|
+
createdAt?: Date | undefined;
|
|
76
|
+
updatedAt?: Date | undefined;
|
|
77
|
+
}>;
|
|
78
|
+
/**
|
|
79
|
+
* Contract for accounts row (Select)
|
|
80
|
+
* Database table: accounts
|
|
81
|
+
*/
|
|
82
|
+
export declare const AccountsRowContract: import("../index.js").Contract<{
|
|
83
|
+
id: string;
|
|
84
|
+
name: string;
|
|
85
|
+
slug: string;
|
|
86
|
+
status: string;
|
|
87
|
+
createdAt: Date;
|
|
88
|
+
updatedAt: Date;
|
|
89
|
+
}>;
|
|
90
|
+
/**
|
|
91
|
+
* Contract for accounts insert
|
|
92
|
+
* Database table: accounts
|
|
93
|
+
*/
|
|
94
|
+
export declare const AccountsInsertContract: import("../index.js").Contract<{
|
|
95
|
+
id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
slug: string;
|
|
98
|
+
status?: string | undefined;
|
|
99
|
+
createdAt?: Date | undefined;
|
|
100
|
+
updatedAt?: Date | undefined;
|
|
101
|
+
}>;
|
|
102
|
+
/**
|
|
103
|
+
* Contract for accountSubscriptions row (Select)
|
|
104
|
+
* Database table: account_subscriptions
|
|
105
|
+
*/
|
|
106
|
+
export declare const AccountSubscriptionsRowContract: import("../index.js").Contract<{
|
|
107
|
+
id: string;
|
|
108
|
+
accountId: string;
|
|
109
|
+
stripeCustomerId: string;
|
|
110
|
+
stripeSubscriptionId: string | null;
|
|
111
|
+
planId: string;
|
|
112
|
+
status: string;
|
|
113
|
+
currentPeriodStart: Date | null;
|
|
114
|
+
currentPeriodEnd: Date | null;
|
|
115
|
+
cancelAtPeriodEnd: boolean;
|
|
116
|
+
createdAt: Date;
|
|
117
|
+
updatedAt: Date;
|
|
118
|
+
}>;
|
|
119
|
+
/**
|
|
120
|
+
* Contract for accountSubscriptions insert
|
|
121
|
+
* Database table: account_subscriptions
|
|
122
|
+
*/
|
|
123
|
+
export declare const AccountSubscriptionsInsertContract: import("../index.js").Contract<{
|
|
124
|
+
id: string;
|
|
125
|
+
accountId: string;
|
|
126
|
+
stripeCustomerId: string;
|
|
127
|
+
planId: string;
|
|
128
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
129
|
+
status?: string | undefined;
|
|
130
|
+
currentPeriodStart?: Date | null | undefined;
|
|
131
|
+
currentPeriodEnd?: Date | null | undefined;
|
|
132
|
+
cancelAtPeriodEnd?: boolean | undefined;
|
|
133
|
+
createdAt?: Date | undefined;
|
|
134
|
+
updatedAt?: Date | undefined;
|
|
135
|
+
}>;
|
|
14
136
|
/**
|
|
15
137
|
* Contract for agentActions row (Select)
|
|
16
138
|
* Database table: agent_actions
|
|
@@ -210,7 +332,7 @@ export declare const AgentMemoriesRowContract: import("../index.js").Contract<{
|
|
|
210
332
|
verified: boolean | null;
|
|
211
333
|
verifiedBy: string | null;
|
|
212
334
|
verifiedAt: Date | null;
|
|
213
|
-
siteId: string
|
|
335
|
+
siteId: string;
|
|
214
336
|
agentId: string | null;
|
|
215
337
|
createdAt: Date;
|
|
216
338
|
expiresAt: Date | null;
|
|
@@ -224,6 +346,7 @@ export declare const AgentMemoriesInsertContract: import("../index.js").Contract
|
|
|
224
346
|
content: string;
|
|
225
347
|
type: string;
|
|
226
348
|
source: import("drizzle-zod").Json;
|
|
349
|
+
siteId: string;
|
|
227
350
|
version?: number | undefined;
|
|
228
351
|
embedding?: {
|
|
229
352
|
[x: number]: number;
|
|
@@ -270,7 +393,6 @@ export declare const AgentMemoriesInsertContract: import("../index.js").Contract
|
|
|
270
393
|
verified?: boolean | null | undefined;
|
|
271
394
|
verifiedBy?: string | null | undefined;
|
|
272
395
|
verifiedAt?: Date | null | undefined;
|
|
273
|
-
siteId?: string | null | undefined;
|
|
274
396
|
agentId?: string | null | undefined;
|
|
275
397
|
createdAt?: Date | undefined;
|
|
276
398
|
expiresAt?: Date | null | undefined;
|
|
@@ -375,6 +497,38 @@ export declare const AuditLogInsertContract: import("../index.js").Contract<{
|
|
|
375
497
|
payload?: import("drizzle-zod").Json | undefined;
|
|
376
498
|
policyViolations?: string[] | undefined;
|
|
377
499
|
}>;
|
|
500
|
+
/**
|
|
501
|
+
* Contract for billingCatalog row (Select)
|
|
502
|
+
* Database table: billing_catalog
|
|
503
|
+
*/
|
|
504
|
+
export declare const BillingCatalogRowContract: import("../index.js").Contract<{
|
|
505
|
+
id: string;
|
|
506
|
+
planId: string;
|
|
507
|
+
tier: string;
|
|
508
|
+
billingModel: string;
|
|
509
|
+
stripeProductId: string | null;
|
|
510
|
+
stripePriceId: string | null;
|
|
511
|
+
active: boolean;
|
|
512
|
+
metadata: Record<string, unknown>;
|
|
513
|
+
createdAt: Date;
|
|
514
|
+
updatedAt: Date;
|
|
515
|
+
}>;
|
|
516
|
+
/**
|
|
517
|
+
* Contract for billingCatalog insert
|
|
518
|
+
* Database table: billing_catalog
|
|
519
|
+
*/
|
|
520
|
+
export declare const BillingCatalogInsertContract: import("../index.js").Contract<{
|
|
521
|
+
id: string;
|
|
522
|
+
planId: string;
|
|
523
|
+
tier: string;
|
|
524
|
+
billingModel: string;
|
|
525
|
+
stripeProductId?: string | null | undefined;
|
|
526
|
+
stripePriceId?: string | null | undefined;
|
|
527
|
+
active?: boolean | undefined;
|
|
528
|
+
metadata?: Record<string, unknown> | undefined;
|
|
529
|
+
createdAt?: Date | undefined;
|
|
530
|
+
updatedAt?: Date | undefined;
|
|
531
|
+
}>;
|
|
378
532
|
/**
|
|
379
533
|
* Contract for boardColumns row (Select)
|
|
380
534
|
* Database table: board_columns
|
|
@@ -581,6 +735,194 @@ export declare const ConversationsInsertContract: import("../index.js").Contract
|
|
|
581
735
|
createdAt?: Date | undefined;
|
|
582
736
|
updatedAt?: Date | undefined;
|
|
583
737
|
}>;
|
|
738
|
+
/**
|
|
739
|
+
* Contract for coordinationAgents row (Select)
|
|
740
|
+
* Database table: coordination_agents
|
|
741
|
+
*/
|
|
742
|
+
export declare const CoordinationAgentsRowContract: import("../index.js").Contract<{
|
|
743
|
+
id: string;
|
|
744
|
+
env: string;
|
|
745
|
+
firstSeen: Date;
|
|
746
|
+
lastSeen: Date;
|
|
747
|
+
totalSessions: number;
|
|
748
|
+
metadata: Record<string, unknown> | null;
|
|
749
|
+
}>;
|
|
750
|
+
/**
|
|
751
|
+
* Contract for coordinationAgents insert
|
|
752
|
+
* Database table: coordination_agents
|
|
753
|
+
*/
|
|
754
|
+
export declare const CoordinationAgentsInsertContract: import("../index.js").Contract<{
|
|
755
|
+
id: string;
|
|
756
|
+
env: string;
|
|
757
|
+
firstSeen?: Date | undefined;
|
|
758
|
+
lastSeen?: Date | undefined;
|
|
759
|
+
totalSessions?: number | undefined;
|
|
760
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
761
|
+
}>;
|
|
762
|
+
/**
|
|
763
|
+
* Contract for coordinationEvents row (Select)
|
|
764
|
+
* Database table: coordination_events
|
|
765
|
+
*/
|
|
766
|
+
export declare const CoordinationEventsRowContract: import("../index.js").Contract<{
|
|
767
|
+
id: number;
|
|
768
|
+
sessionId: string | null;
|
|
769
|
+
agentId: string;
|
|
770
|
+
type: string;
|
|
771
|
+
level: string;
|
|
772
|
+
payload: Record<string, unknown> | null;
|
|
773
|
+
createdAt: Date;
|
|
774
|
+
}>;
|
|
775
|
+
/**
|
|
776
|
+
* Contract for coordinationEvents insert
|
|
777
|
+
* Database table: coordination_events
|
|
778
|
+
*/
|
|
779
|
+
export declare const CoordinationEventsInsertContract: import("../index.js").Contract<{
|
|
780
|
+
agentId: string;
|
|
781
|
+
type: string;
|
|
782
|
+
id?: number | undefined;
|
|
783
|
+
sessionId?: string | null | undefined;
|
|
784
|
+
level?: string | undefined;
|
|
785
|
+
payload?: Record<string, unknown> | null | undefined;
|
|
786
|
+
createdAt?: Date | undefined;
|
|
787
|
+
}>;
|
|
788
|
+
/**
|
|
789
|
+
* Contract for coordinationFileClaims row (Select)
|
|
790
|
+
* Database table: coordination_file_claims
|
|
791
|
+
*/
|
|
792
|
+
export declare const CoordinationFileClaimsRowContract: import("../index.js").Contract<{
|
|
793
|
+
filePath: string;
|
|
794
|
+
sessionId: string;
|
|
795
|
+
claimedAt: Date;
|
|
796
|
+
}>;
|
|
797
|
+
/**
|
|
798
|
+
* Contract for coordinationFileClaims insert
|
|
799
|
+
* Database table: coordination_file_claims
|
|
800
|
+
*/
|
|
801
|
+
export declare const CoordinationFileClaimsInsertContract: import("../index.js").Contract<{
|
|
802
|
+
filePath: string;
|
|
803
|
+
sessionId: string;
|
|
804
|
+
claimedAt?: Date | undefined;
|
|
805
|
+
}>;
|
|
806
|
+
/**
|
|
807
|
+
* Contract for coordinationMail row (Select)
|
|
808
|
+
* Database table: coordination_mail
|
|
809
|
+
*/
|
|
810
|
+
export declare const CoordinationMailRowContract: import("../index.js").Contract<{
|
|
811
|
+
id: number;
|
|
812
|
+
fromAgent: string;
|
|
813
|
+
toAgent: string;
|
|
814
|
+
subject: string;
|
|
815
|
+
body: string | null;
|
|
816
|
+
read: boolean;
|
|
817
|
+
createdAt: Date;
|
|
818
|
+
}>;
|
|
819
|
+
/**
|
|
820
|
+
* Contract for coordinationMail insert
|
|
821
|
+
* Database table: coordination_mail
|
|
822
|
+
*/
|
|
823
|
+
export declare const CoordinationMailInsertContract: import("../index.js").Contract<{
|
|
824
|
+
fromAgent: string;
|
|
825
|
+
toAgent: string;
|
|
826
|
+
subject: string;
|
|
827
|
+
id?: number | undefined;
|
|
828
|
+
body?: string | null | undefined;
|
|
829
|
+
read?: boolean | undefined;
|
|
830
|
+
createdAt?: Date | undefined;
|
|
831
|
+
}>;
|
|
832
|
+
/**
|
|
833
|
+
* Contract for coordinationQueueItems row (Select)
|
|
834
|
+
* Database table: coordination_queue_items
|
|
835
|
+
*/
|
|
836
|
+
export declare const CoordinationQueueItemsRowContract: import("../index.js").Contract<{
|
|
837
|
+
id: number;
|
|
838
|
+
targetAgent: string;
|
|
839
|
+
priority: string;
|
|
840
|
+
fromAgent: string;
|
|
841
|
+
message: string;
|
|
842
|
+
consumed: boolean;
|
|
843
|
+
createdAt: Date;
|
|
844
|
+
consumedAt: Date | null;
|
|
845
|
+
}>;
|
|
846
|
+
/**
|
|
847
|
+
* Contract for coordinationQueueItems insert
|
|
848
|
+
* Database table: coordination_queue_items
|
|
849
|
+
*/
|
|
850
|
+
export declare const CoordinationQueueItemsInsertContract: import("../index.js").Contract<{
|
|
851
|
+
targetAgent: string;
|
|
852
|
+
fromAgent: string;
|
|
853
|
+
message: string;
|
|
854
|
+
id?: number | undefined;
|
|
855
|
+
priority?: string | undefined;
|
|
856
|
+
consumed?: boolean | undefined;
|
|
857
|
+
createdAt?: Date | undefined;
|
|
858
|
+
consumedAt?: Date | null | undefined;
|
|
859
|
+
}>;
|
|
860
|
+
/**
|
|
861
|
+
* Contract for coordinationSessions row (Select)
|
|
862
|
+
* Database table: coordination_sessions
|
|
863
|
+
*/
|
|
864
|
+
export declare const CoordinationSessionsRowContract: import("../index.js").Contract<{
|
|
865
|
+
id: string;
|
|
866
|
+
agentId: string;
|
|
867
|
+
startedAt: Date;
|
|
868
|
+
endedAt: Date | null;
|
|
869
|
+
task: string;
|
|
870
|
+
status: string;
|
|
871
|
+
pid: number | null;
|
|
872
|
+
tools: Record<string, number> | null;
|
|
873
|
+
metadata: Record<string, unknown> | null;
|
|
874
|
+
}>;
|
|
875
|
+
/**
|
|
876
|
+
* Contract for coordinationSessions insert
|
|
877
|
+
* Database table: coordination_sessions
|
|
878
|
+
*/
|
|
879
|
+
export declare const CoordinationSessionsInsertContract: import("../index.js").Contract<{
|
|
880
|
+
id: string;
|
|
881
|
+
agentId: string;
|
|
882
|
+
startedAt?: Date | undefined;
|
|
883
|
+
endedAt?: Date | null | undefined;
|
|
884
|
+
task?: string | undefined;
|
|
885
|
+
status?: string | undefined;
|
|
886
|
+
pid?: number | null | undefined;
|
|
887
|
+
tools?: Record<string, number> | null | undefined;
|
|
888
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
889
|
+
}>;
|
|
890
|
+
/**
|
|
891
|
+
* Contract for coordinationWorkItems row (Select)
|
|
892
|
+
* Database table: coordination_work_items
|
|
893
|
+
*/
|
|
894
|
+
export declare const CoordinationWorkItemsRowContract: import("../index.js").Contract<{
|
|
895
|
+
id: string;
|
|
896
|
+
title: string;
|
|
897
|
+
description: string | null;
|
|
898
|
+
status: string;
|
|
899
|
+
priority: number;
|
|
900
|
+
ownerAgent: string | null;
|
|
901
|
+
ownerSession: string | null;
|
|
902
|
+
parentId: string | null;
|
|
903
|
+
metadata: Record<string, unknown> | null;
|
|
904
|
+
createdAt: Date;
|
|
905
|
+
updatedAt: Date;
|
|
906
|
+
completedAt: Date | null;
|
|
907
|
+
}>;
|
|
908
|
+
/**
|
|
909
|
+
* Contract for coordinationWorkItems insert
|
|
910
|
+
* Database table: coordination_work_items
|
|
911
|
+
*/
|
|
912
|
+
export declare const CoordinationWorkItemsInsertContract: import("../index.js").Contract<{
|
|
913
|
+
id: string;
|
|
914
|
+
title: string;
|
|
915
|
+
description?: string | null | undefined;
|
|
916
|
+
status?: string | undefined;
|
|
917
|
+
priority?: number | undefined;
|
|
918
|
+
ownerAgent?: string | null | undefined;
|
|
919
|
+
ownerSession?: string | null | undefined;
|
|
920
|
+
parentId?: string | null | undefined;
|
|
921
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
922
|
+
createdAt?: Date | undefined;
|
|
923
|
+
updatedAt?: Date | undefined;
|
|
924
|
+
completedAt?: Date | null | undefined;
|
|
925
|
+
}>;
|
|
584
926
|
/**
|
|
585
927
|
* Contract for crdtOperations row (Select)
|
|
586
928
|
* Database table: crdt_operations
|
|
@@ -669,6 +1011,98 @@ export declare const FailedAttemptsInsertContract: import("../index.js").Contrac
|
|
|
669
1011
|
createdAt?: Date | undefined;
|
|
670
1012
|
updatedAt?: Date | undefined;
|
|
671
1013
|
}>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Contract for gdprBreaches row (Select)
|
|
1016
|
+
* Database table: gdpr_breaches
|
|
1017
|
+
*/
|
|
1018
|
+
export declare const GdprBreachesRowContract: import("../index.js").Contract<{
|
|
1019
|
+
id: string;
|
|
1020
|
+
detectedAt: Date;
|
|
1021
|
+
reportedAt: Date | null;
|
|
1022
|
+
type: string;
|
|
1023
|
+
severity: string;
|
|
1024
|
+
affectedUsers: string[];
|
|
1025
|
+
dataCategories: string[];
|
|
1026
|
+
description: string;
|
|
1027
|
+
mitigation: string | null;
|
|
1028
|
+
status: string;
|
|
1029
|
+
}>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Contract for gdprBreaches insert
|
|
1032
|
+
* Database table: gdpr_breaches
|
|
1033
|
+
*/
|
|
1034
|
+
export declare const GdprBreachesInsertContract: import("../index.js").Contract<{
|
|
1035
|
+
id: string;
|
|
1036
|
+
type: string;
|
|
1037
|
+
severity: string;
|
|
1038
|
+
description: string;
|
|
1039
|
+
detectedAt?: Date | undefined;
|
|
1040
|
+
reportedAt?: Date | null | undefined;
|
|
1041
|
+
affectedUsers?: string[] | undefined;
|
|
1042
|
+
dataCategories?: string[] | undefined;
|
|
1043
|
+
mitigation?: string | null | undefined;
|
|
1044
|
+
status?: string | undefined;
|
|
1045
|
+
}>;
|
|
1046
|
+
/**
|
|
1047
|
+
* Contract for gdprConsents row (Select)
|
|
1048
|
+
* Database table: gdpr_consents
|
|
1049
|
+
*/
|
|
1050
|
+
export declare const GdprConsentsRowContract: import("../index.js").Contract<{
|
|
1051
|
+
id: string;
|
|
1052
|
+
userId: string;
|
|
1053
|
+
type: string;
|
|
1054
|
+
granted: boolean;
|
|
1055
|
+
timestamp: Date;
|
|
1056
|
+
expiresAt: Date | null;
|
|
1057
|
+
source: string;
|
|
1058
|
+
version: string;
|
|
1059
|
+
metadata: Record<string, unknown> | null;
|
|
1060
|
+
}>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Contract for gdprConsents insert
|
|
1063
|
+
* Database table: gdpr_consents
|
|
1064
|
+
*/
|
|
1065
|
+
export declare const GdprConsentsInsertContract: import("../index.js").Contract<{
|
|
1066
|
+
id: string;
|
|
1067
|
+
userId: string;
|
|
1068
|
+
type: string;
|
|
1069
|
+
granted?: boolean | undefined;
|
|
1070
|
+
timestamp?: Date | undefined;
|
|
1071
|
+
expiresAt?: Date | null | undefined;
|
|
1072
|
+
source?: string | undefined;
|
|
1073
|
+
version?: string | undefined;
|
|
1074
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1075
|
+
}>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Contract for gdprDeletionRequests row (Select)
|
|
1078
|
+
* Database table: gdpr_deletion_requests
|
|
1079
|
+
*/
|
|
1080
|
+
export declare const GdprDeletionRequestsRowContract: import("../index.js").Contract<{
|
|
1081
|
+
id: string;
|
|
1082
|
+
userId: string;
|
|
1083
|
+
requestedAt: Date;
|
|
1084
|
+
processedAt: Date | null;
|
|
1085
|
+
status: string;
|
|
1086
|
+
dataCategories: string[];
|
|
1087
|
+
reason: string | null;
|
|
1088
|
+
retainedData: string[] | null;
|
|
1089
|
+
deletedData: string[] | null;
|
|
1090
|
+
}>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Contract for gdprDeletionRequests insert
|
|
1093
|
+
* Database table: gdpr_deletion_requests
|
|
1094
|
+
*/
|
|
1095
|
+
export declare const GdprDeletionRequestsInsertContract: import("../index.js").Contract<{
|
|
1096
|
+
id: string;
|
|
1097
|
+
userId: string;
|
|
1098
|
+
requestedAt?: Date | undefined;
|
|
1099
|
+
processedAt?: Date | null | undefined;
|
|
1100
|
+
status?: string | undefined;
|
|
1101
|
+
dataCategories?: string[] | undefined;
|
|
1102
|
+
reason?: string | null | undefined;
|
|
1103
|
+
retainedData?: string[] | null | undefined;
|
|
1104
|
+
deletedData?: string[] | null | undefined;
|
|
1105
|
+
}>;
|
|
672
1106
|
/**
|
|
673
1107
|
* Contract for globalFooter row (Select)
|
|
674
1108
|
* Database table: global_footer
|
|
@@ -793,6 +1227,44 @@ export declare const GlobalSettingsInsertContract: import("../index.js").Contrac
|
|
|
793
1227
|
createdAt?: Date | undefined;
|
|
794
1228
|
updatedAt?: Date | undefined;
|
|
795
1229
|
}>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Contract for jobs row (Select)
|
|
1232
|
+
* Database table: jobs
|
|
1233
|
+
*/
|
|
1234
|
+
export declare const JobsRowContract: import("../index.js").Contract<{
|
|
1235
|
+
id: string;
|
|
1236
|
+
name: string;
|
|
1237
|
+
data: Record<string, unknown>;
|
|
1238
|
+
state: string;
|
|
1239
|
+
priority: number;
|
|
1240
|
+
retryCount: number;
|
|
1241
|
+
retryLimit: number;
|
|
1242
|
+
startAfter: Date;
|
|
1243
|
+
expireAt: Date | null;
|
|
1244
|
+
output: Record<string, unknown> | null;
|
|
1245
|
+
createdAt: Date;
|
|
1246
|
+
startedAt: Date | null;
|
|
1247
|
+
completedAt: Date | null;
|
|
1248
|
+
}>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Contract for jobs insert
|
|
1251
|
+
* Database table: jobs
|
|
1252
|
+
*/
|
|
1253
|
+
export declare const JobsInsertContract: import("../index.js").Contract<{
|
|
1254
|
+
id: string;
|
|
1255
|
+
name: string;
|
|
1256
|
+
data: Record<string, unknown>;
|
|
1257
|
+
state?: string | undefined;
|
|
1258
|
+
priority?: number | undefined;
|
|
1259
|
+
retryCount?: number | undefined;
|
|
1260
|
+
retryLimit?: number | undefined;
|
|
1261
|
+
startAfter?: Date | undefined;
|
|
1262
|
+
expireAt?: Date | null | undefined;
|
|
1263
|
+
output?: Record<string, unknown> | null | undefined;
|
|
1264
|
+
createdAt?: Date | undefined;
|
|
1265
|
+
startedAt?: Date | null | undefined;
|
|
1266
|
+
completedAt?: Date | null | undefined;
|
|
1267
|
+
}>;
|
|
796
1268
|
/**
|
|
797
1269
|
* Contract for licenses row (Select)
|
|
798
1270
|
* Database table: licenses
|
|
@@ -808,6 +1280,9 @@ export declare const LicensesRowContract: import("../index.js").Contract<{
|
|
|
808
1280
|
createdAt: Date;
|
|
809
1281
|
updatedAt: Date;
|
|
810
1282
|
expiresAt: Date | null;
|
|
1283
|
+
perpetual: boolean;
|
|
1284
|
+
supportExpiresAt: Date | null;
|
|
1285
|
+
githubUsername: string | null;
|
|
811
1286
|
}>;
|
|
812
1287
|
/**
|
|
813
1288
|
* Contract for licenses insert
|
|
@@ -824,6 +1299,109 @@ export declare const LicensesInsertContract: import("../index.js").Contract<{
|
|
|
824
1299
|
createdAt?: Date | undefined;
|
|
825
1300
|
updatedAt?: Date | undefined;
|
|
826
1301
|
expiresAt?: Date | null | undefined;
|
|
1302
|
+
perpetual?: boolean | undefined;
|
|
1303
|
+
supportExpiresAt?: Date | null | undefined;
|
|
1304
|
+
githubUsername?: string | null | undefined;
|
|
1305
|
+
}>;
|
|
1306
|
+
/**
|
|
1307
|
+
* Contract for magicLinks row (Select)
|
|
1308
|
+
* Database table: magic_links
|
|
1309
|
+
*/
|
|
1310
|
+
export declare const MagicLinksRowContract: import("../index.js").Contract<{
|
|
1311
|
+
id: string;
|
|
1312
|
+
userId: string;
|
|
1313
|
+
tokenHash: string;
|
|
1314
|
+
tokenSalt: string;
|
|
1315
|
+
expiresAt: Date;
|
|
1316
|
+
usedAt: Date | null;
|
|
1317
|
+
createdAt: Date;
|
|
1318
|
+
}>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Contract for magicLinks insert
|
|
1321
|
+
* Database table: magic_links
|
|
1322
|
+
*/
|
|
1323
|
+
export declare const MagicLinksInsertContract: import("../index.js").Contract<{
|
|
1324
|
+
id: string;
|
|
1325
|
+
userId: string;
|
|
1326
|
+
tokenHash: string;
|
|
1327
|
+
tokenSalt: string;
|
|
1328
|
+
expiresAt: Date;
|
|
1329
|
+
usedAt?: Date | null | undefined;
|
|
1330
|
+
createdAt?: Date | undefined;
|
|
1331
|
+
}>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Contract for marketplaceServers row (Select)
|
|
1334
|
+
* Database table: marketplace_servers
|
|
1335
|
+
*/
|
|
1336
|
+
export declare const MarketplaceServersRowContract: import("../index.js").Contract<{
|
|
1337
|
+
id: string;
|
|
1338
|
+
name: string;
|
|
1339
|
+
description: string;
|
|
1340
|
+
url: string;
|
|
1341
|
+
category: string;
|
|
1342
|
+
tags: string[];
|
|
1343
|
+
pricePerCallUsdc: string;
|
|
1344
|
+
developerId: string;
|
|
1345
|
+
stripeAccountId: string | null;
|
|
1346
|
+
status: string;
|
|
1347
|
+
callCount: number;
|
|
1348
|
+
metadata: Record<string, unknown> | null;
|
|
1349
|
+
createdAt: Date;
|
|
1350
|
+
updatedAt: Date;
|
|
1351
|
+
}>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Contract for marketplaceServers insert
|
|
1354
|
+
* Database table: marketplace_servers
|
|
1355
|
+
*/
|
|
1356
|
+
export declare const MarketplaceServersInsertContract: import("../index.js").Contract<{
|
|
1357
|
+
id: string;
|
|
1358
|
+
name: string;
|
|
1359
|
+
description: string;
|
|
1360
|
+
url: string;
|
|
1361
|
+
developerId: string;
|
|
1362
|
+
category?: string | undefined;
|
|
1363
|
+
tags?: string[] | undefined;
|
|
1364
|
+
pricePerCallUsdc?: string | undefined;
|
|
1365
|
+
stripeAccountId?: string | null | undefined;
|
|
1366
|
+
status?: string | undefined;
|
|
1367
|
+
callCount?: number | undefined;
|
|
1368
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1369
|
+
createdAt?: Date | undefined;
|
|
1370
|
+
updatedAt?: Date | undefined;
|
|
1371
|
+
}>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Contract for marketplaceTransactions row (Select)
|
|
1374
|
+
* Database table: marketplace_transactions
|
|
1375
|
+
*/
|
|
1376
|
+
export declare const MarketplaceTransactionsRowContract: import("../index.js").Contract<{
|
|
1377
|
+
id: string;
|
|
1378
|
+
serverId: string;
|
|
1379
|
+
callerId: string | null;
|
|
1380
|
+
amountUsdc: string;
|
|
1381
|
+
platformFeeUsdc: string;
|
|
1382
|
+
developerAmountUsdc: string;
|
|
1383
|
+
stripeTransferId: string | null;
|
|
1384
|
+
paymentMethod: string;
|
|
1385
|
+
status: string;
|
|
1386
|
+
metadata: Record<string, unknown> | null;
|
|
1387
|
+
createdAt: Date;
|
|
1388
|
+
}>;
|
|
1389
|
+
/**
|
|
1390
|
+
* Contract for marketplaceTransactions insert
|
|
1391
|
+
* Database table: marketplace_transactions
|
|
1392
|
+
*/
|
|
1393
|
+
export declare const MarketplaceTransactionsInsertContract: import("../index.js").Contract<{
|
|
1394
|
+
id: string;
|
|
1395
|
+
serverId: string;
|
|
1396
|
+
amountUsdc: string;
|
|
1397
|
+
platformFeeUsdc: string;
|
|
1398
|
+
developerAmountUsdc: string;
|
|
1399
|
+
callerId?: string | null | undefined;
|
|
1400
|
+
stripeTransferId?: string | null | undefined;
|
|
1401
|
+
paymentMethod?: string | undefined;
|
|
1402
|
+
status?: string | undefined;
|
|
1403
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1404
|
+
createdAt?: Date | undefined;
|
|
827
1405
|
}>;
|
|
828
1406
|
/**
|
|
829
1407
|
* Contract for media row (Select)
|
|
@@ -832,6 +1410,7 @@ export declare const LicensesInsertContract: import("../index.js").Contract<{
|
|
|
832
1410
|
export declare const MediaRowContract: import("../index.js").Contract<{
|
|
833
1411
|
id: string;
|
|
834
1412
|
schemaVersion: string;
|
|
1413
|
+
version: number;
|
|
835
1414
|
filename: string;
|
|
836
1415
|
mimeType: string;
|
|
837
1416
|
filesize: number | null;
|
|
@@ -844,6 +1423,7 @@ export declare const MediaRowContract: import("../index.js").Contract<{
|
|
|
844
1423
|
uploadedBy: string | null;
|
|
845
1424
|
createdAt: Date;
|
|
846
1425
|
updatedAt: Date;
|
|
1426
|
+
deletedAt: Date | null;
|
|
847
1427
|
}>;
|
|
848
1428
|
/**
|
|
849
1429
|
* Contract for media insert
|
|
@@ -855,6 +1435,7 @@ export declare const MediaInsertContract: import("../index.js").Contract<{
|
|
|
855
1435
|
mimeType: string;
|
|
856
1436
|
url: string;
|
|
857
1437
|
schemaVersion?: string | undefined;
|
|
1438
|
+
version?: number | undefined;
|
|
858
1439
|
filesize?: number | null | undefined;
|
|
859
1440
|
alt?: string | null | undefined;
|
|
860
1441
|
width?: number | null | undefined;
|
|
@@ -864,6 +1445,7 @@ export declare const MediaInsertContract: import("../index.js").Contract<{
|
|
|
864
1445
|
uploadedBy?: string | null | undefined;
|
|
865
1446
|
createdAt?: Date | undefined;
|
|
866
1447
|
updatedAt?: Date | undefined;
|
|
1448
|
+
deletedAt?: Date | null | undefined;
|
|
867
1449
|
}>;
|
|
868
1450
|
/**
|
|
869
1451
|
* Contract for messages row (Select)
|
|
@@ -925,6 +1507,8 @@ export declare const OauthAccountsRowContract: import("../index.js").Contract<{
|
|
|
925
1507
|
providerAvatarUrl: string | null;
|
|
926
1508
|
createdAt: Date;
|
|
927
1509
|
updatedAt: Date;
|
|
1510
|
+
deletedAt: Date | null;
|
|
1511
|
+
anonymizedAt: Date | null;
|
|
928
1512
|
}>;
|
|
929
1513
|
/**
|
|
930
1514
|
* Contract for oauthAccounts insert
|
|
@@ -940,6 +1524,8 @@ export declare const OauthAccountsInsertContract: import("../index.js").Contract
|
|
|
940
1524
|
providerAvatarUrl?: string | null | undefined;
|
|
941
1525
|
createdAt?: Date | undefined;
|
|
942
1526
|
updatedAt?: Date | undefined;
|
|
1527
|
+
deletedAt?: Date | null | undefined;
|
|
1528
|
+
anonymizedAt?: Date | null | undefined;
|
|
943
1529
|
}>;
|
|
944
1530
|
/**
|
|
945
1531
|
* Contract for pageRevisions row (Select)
|
|
@@ -978,6 +1564,7 @@ export declare const PageRevisionsInsertContract: import("../index.js").Contract
|
|
|
978
1564
|
export declare const PagesRowContract: import("../index.js").Contract<{
|
|
979
1565
|
id: string;
|
|
980
1566
|
schemaVersion: string;
|
|
1567
|
+
version: number;
|
|
981
1568
|
siteId: string;
|
|
982
1569
|
parentId: string | null;
|
|
983
1570
|
templateId: string | null;
|
|
@@ -994,6 +1581,7 @@ export declare const PagesRowContract: import("../index.js").Contract<{
|
|
|
994
1581
|
createdAt: Date;
|
|
995
1582
|
updatedAt: Date;
|
|
996
1583
|
publishedAt: Date | null;
|
|
1584
|
+
deletedAt: Date | null;
|
|
997
1585
|
}>;
|
|
998
1586
|
/**
|
|
999
1587
|
* Contract for pages insert
|
|
@@ -1006,6 +1594,7 @@ export declare const PagesInsertContract: import("../index.js").Contract<{
|
|
|
1006
1594
|
slug: string;
|
|
1007
1595
|
path: string;
|
|
1008
1596
|
schemaVersion?: string | undefined;
|
|
1597
|
+
version?: number | undefined;
|
|
1009
1598
|
parentId?: string | null | undefined;
|
|
1010
1599
|
templateId?: string | null | undefined;
|
|
1011
1600
|
status?: string | undefined;
|
|
@@ -1018,6 +1607,41 @@ export declare const PagesInsertContract: import("../index.js").Contract<{
|
|
|
1018
1607
|
createdAt?: Date | undefined;
|
|
1019
1608
|
updatedAt?: Date | undefined;
|
|
1020
1609
|
publishedAt?: Date | null | undefined;
|
|
1610
|
+
deletedAt?: Date | null | undefined;
|
|
1611
|
+
}>;
|
|
1612
|
+
/**
|
|
1613
|
+
* Contract for passkeys row (Select)
|
|
1614
|
+
* Database table: passkeys
|
|
1615
|
+
*/
|
|
1616
|
+
export declare const PasskeysRowContract: import("../index.js").Contract<{
|
|
1617
|
+
id: string;
|
|
1618
|
+
userId: string;
|
|
1619
|
+
credentialId: string;
|
|
1620
|
+
publicKey: Buffer<ArrayBufferLike>;
|
|
1621
|
+
counter: number;
|
|
1622
|
+
transports: string[] | null;
|
|
1623
|
+
aaguid: string | null;
|
|
1624
|
+
deviceName: string | null;
|
|
1625
|
+
backedUp: boolean;
|
|
1626
|
+
createdAt: Date;
|
|
1627
|
+
lastUsedAt: Date | null;
|
|
1628
|
+
}>;
|
|
1629
|
+
/**
|
|
1630
|
+
* Contract for passkeys insert
|
|
1631
|
+
* Database table: passkeys
|
|
1632
|
+
*/
|
|
1633
|
+
export declare const PasskeysInsertContract: import("../index.js").Contract<{
|
|
1634
|
+
id: string;
|
|
1635
|
+
userId: string;
|
|
1636
|
+
credentialId: string;
|
|
1637
|
+
publicKey: Buffer<ArrayBufferLike>;
|
|
1638
|
+
counter?: number | undefined;
|
|
1639
|
+
transports?: string[] | null | undefined;
|
|
1640
|
+
aaguid?: string | null | undefined;
|
|
1641
|
+
deviceName?: string | null | undefined;
|
|
1642
|
+
backedUp?: boolean | undefined;
|
|
1643
|
+
createdAt?: Date | undefined;
|
|
1644
|
+
lastUsedAt?: Date | null | undefined;
|
|
1021
1645
|
}>;
|
|
1022
1646
|
/**
|
|
1023
1647
|
* Contract for passwordResetTokens row (Select)
|
|
@@ -1052,6 +1676,7 @@ export declare const PasswordResetTokensInsertContract: import("../index.js").Co
|
|
|
1052
1676
|
export declare const PostsRowContract: import("../index.js").Contract<{
|
|
1053
1677
|
id: string;
|
|
1054
1678
|
schemaVersion: string;
|
|
1679
|
+
version: number;
|
|
1055
1680
|
title: string;
|
|
1056
1681
|
slug: string;
|
|
1057
1682
|
excerpt: string | null;
|
|
@@ -1065,6 +1690,7 @@ export declare const PostsRowContract: import("../index.js").Contract<{
|
|
|
1065
1690
|
createdAt: Date;
|
|
1066
1691
|
updatedAt: Date;
|
|
1067
1692
|
publishedAt: Date | null;
|
|
1693
|
+
deletedAt: Date | null;
|
|
1068
1694
|
}>;
|
|
1069
1695
|
/**
|
|
1070
1696
|
* Contract for posts insert
|
|
@@ -1075,6 +1701,7 @@ export declare const PostsInsertContract: import("../index.js").Contract<{
|
|
|
1075
1701
|
title: string;
|
|
1076
1702
|
slug: string;
|
|
1077
1703
|
schemaVersion?: string | undefined;
|
|
1704
|
+
version?: number | undefined;
|
|
1078
1705
|
excerpt?: string | null | undefined;
|
|
1079
1706
|
content?: import("drizzle-zod").Json | undefined;
|
|
1080
1707
|
featuredImageId?: string | null | undefined;
|
|
@@ -1086,6 +1713,7 @@ export declare const PostsInsertContract: import("../index.js").Contract<{
|
|
|
1086
1713
|
createdAt?: Date | undefined;
|
|
1087
1714
|
updatedAt?: Date | undefined;
|
|
1088
1715
|
publishedAt?: Date | null | undefined;
|
|
1716
|
+
deletedAt?: Date | null | undefined;
|
|
1089
1717
|
}>;
|
|
1090
1718
|
/**
|
|
1091
1719
|
* Contract for processedWebhookEvents row (Select)
|
|
@@ -1331,9 +1959,11 @@ export declare const SessionsRowContract: import("../index.js").Contract<{
|
|
|
1331
1959
|
userAgent: string | null;
|
|
1332
1960
|
ipAddress: string | null;
|
|
1333
1961
|
persistent: boolean | null;
|
|
1962
|
+
metadata: Record<string, unknown> | null;
|
|
1334
1963
|
lastActivityAt: Date;
|
|
1335
1964
|
createdAt: Date;
|
|
1336
1965
|
expiresAt: Date;
|
|
1966
|
+
deletedAt: Date | null;
|
|
1337
1967
|
}>;
|
|
1338
1968
|
/**
|
|
1339
1969
|
* Contract for sessions insert
|
|
@@ -1348,8 +1978,10 @@ export declare const SessionsInsertContract: import("../index.js").Contract<{
|
|
|
1348
1978
|
userAgent?: string | null | undefined;
|
|
1349
1979
|
ipAddress?: string | null | undefined;
|
|
1350
1980
|
persistent?: boolean | null | undefined;
|
|
1981
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1351
1982
|
lastActivityAt?: Date | undefined;
|
|
1352
1983
|
createdAt?: Date | undefined;
|
|
1984
|
+
deletedAt?: Date | null | undefined;
|
|
1353
1985
|
}>;
|
|
1354
1986
|
/**
|
|
1355
1987
|
* Contract for siteCollaborators row (Select)
|
|
@@ -1382,6 +2014,7 @@ export declare const SiteCollaboratorsInsertContract: import("../index.js").Cont
|
|
|
1382
2014
|
export declare const SitesRowContract: import("../index.js").Contract<{
|
|
1383
2015
|
id: string;
|
|
1384
2016
|
schemaVersion: string;
|
|
2017
|
+
version: number;
|
|
1385
2018
|
ownerId: string;
|
|
1386
2019
|
name: string;
|
|
1387
2020
|
slug: string;
|
|
@@ -1394,6 +2027,7 @@ export declare const SitesRowContract: import("../index.js").Contract<{
|
|
|
1394
2027
|
createdAt: Date;
|
|
1395
2028
|
updatedAt: Date;
|
|
1396
2029
|
publishedAt: Date | null;
|
|
2030
|
+
deletedAt: Date | null;
|
|
1397
2031
|
}>;
|
|
1398
2032
|
/**
|
|
1399
2033
|
* Contract for sites insert
|
|
@@ -1405,6 +2039,7 @@ export declare const SitesInsertContract: import("../index.js").Contract<{
|
|
|
1405
2039
|
name: string;
|
|
1406
2040
|
slug: string;
|
|
1407
2041
|
schemaVersion?: string | undefined;
|
|
2042
|
+
version?: number | undefined;
|
|
1408
2043
|
description?: string | null | undefined;
|
|
1409
2044
|
status?: string | undefined;
|
|
1410
2045
|
theme?: import("drizzle-zod").Json | undefined;
|
|
@@ -1414,6 +2049,7 @@ export declare const SitesInsertContract: import("../index.js").Contract<{
|
|
|
1414
2049
|
createdAt?: Date | undefined;
|
|
1415
2050
|
updatedAt?: Date | undefined;
|
|
1416
2051
|
publishedAt?: Date | null | undefined;
|
|
2052
|
+
deletedAt?: Date | null | undefined;
|
|
1417
2053
|
}>;
|
|
1418
2054
|
/**
|
|
1419
2055
|
* Contract for syncMetadata row (Select)
|
|
@@ -1471,6 +2107,42 @@ export declare const TenantProviderConfigsInsertContract: import("../index.js").
|
|
|
1471
2107
|
createdAt?: Date | undefined;
|
|
1472
2108
|
updatedAt?: Date | undefined;
|
|
1473
2109
|
}>;
|
|
2110
|
+
/**
|
|
2111
|
+
* Contract for tenants row (Select)
|
|
2112
|
+
* Database table: tenants
|
|
2113
|
+
*/
|
|
2114
|
+
export declare const TenantsRowContract: import("../index.js").Contract<{
|
|
2115
|
+
id: string;
|
|
2116
|
+
schemaVersion: string;
|
|
2117
|
+
name: string;
|
|
2118
|
+
email: string;
|
|
2119
|
+
password: string | null;
|
|
2120
|
+
roles: string[];
|
|
2121
|
+
domains: {
|
|
2122
|
+
domain: string;
|
|
2123
|
+
}[];
|
|
2124
|
+
_json: import("drizzle-zod").Json;
|
|
2125
|
+
createdAt: Date;
|
|
2126
|
+
updatedAt: Date;
|
|
2127
|
+
}>;
|
|
2128
|
+
/**
|
|
2129
|
+
* Contract for tenants insert
|
|
2130
|
+
* Database table: tenants
|
|
2131
|
+
*/
|
|
2132
|
+
export declare const TenantsInsertContract: import("../index.js").Contract<{
|
|
2133
|
+
id: string;
|
|
2134
|
+
name: string;
|
|
2135
|
+
email: string;
|
|
2136
|
+
schemaVersion?: string | undefined;
|
|
2137
|
+
password?: string | null | undefined;
|
|
2138
|
+
roles?: string[] | undefined;
|
|
2139
|
+
domains?: {
|
|
2140
|
+
domain: string;
|
|
2141
|
+
}[] | undefined;
|
|
2142
|
+
_json?: import("drizzle-zod").Json | undefined;
|
|
2143
|
+
createdAt?: Date | undefined;
|
|
2144
|
+
updatedAt?: Date | undefined;
|
|
2145
|
+
}>;
|
|
1474
2146
|
/**
|
|
1475
2147
|
* Contract for ticketComments row (Select)
|
|
1476
2148
|
* Database table: ticket_comments
|
|
@@ -1609,6 +2281,36 @@ export declare const TicketsInsertContract: import("../index.js").Contract<{
|
|
|
1609
2281
|
createdAt?: Date | undefined;
|
|
1610
2282
|
updatedAt?: Date | undefined;
|
|
1611
2283
|
}>;
|
|
2284
|
+
/**
|
|
2285
|
+
* Contract for usageMeters row (Select)
|
|
2286
|
+
* Database table: usage_meters
|
|
2287
|
+
*/
|
|
2288
|
+
export declare const UsageMetersRowContract: import("../index.js").Contract<{
|
|
2289
|
+
id: string;
|
|
2290
|
+
accountId: string;
|
|
2291
|
+
meterName: string;
|
|
2292
|
+
quantity: number;
|
|
2293
|
+
periodStart: Date;
|
|
2294
|
+
periodEnd: Date | null;
|
|
2295
|
+
source: string;
|
|
2296
|
+
idempotencyKey: string;
|
|
2297
|
+
createdAt: Date;
|
|
2298
|
+
}>;
|
|
2299
|
+
/**
|
|
2300
|
+
* Contract for usageMeters insert
|
|
2301
|
+
* Database table: usage_meters
|
|
2302
|
+
*/
|
|
2303
|
+
export declare const UsageMetersInsertContract: import("../index.js").Contract<{
|
|
2304
|
+
id: string;
|
|
2305
|
+
accountId: string;
|
|
2306
|
+
meterName: string;
|
|
2307
|
+
periodStart: Date;
|
|
2308
|
+
idempotencyKey: string;
|
|
2309
|
+
quantity?: number | undefined;
|
|
2310
|
+
periodEnd?: Date | null | undefined;
|
|
2311
|
+
source?: string | undefined;
|
|
2312
|
+
createdAt?: Date | undefined;
|
|
2313
|
+
}>;
|
|
1612
2314
|
/**
|
|
1613
2315
|
* Contract for userApiKeys row (Select)
|
|
1614
2316
|
* Database table: user_api_keys
|
|
@@ -1623,6 +2325,7 @@ export declare const UserApiKeysRowContract: import("../index.js").Contract<{
|
|
|
1623
2325
|
createdAt: Date;
|
|
1624
2326
|
updatedAt: Date;
|
|
1625
2327
|
lastUsedAt: Date | null;
|
|
2328
|
+
deletedAt: Date | null;
|
|
1626
2329
|
}>;
|
|
1627
2330
|
/**
|
|
1628
2331
|
* Contract for userApiKeys insert
|
|
@@ -1638,6 +2341,7 @@ export declare const UserApiKeysInsertContract: import("../index.js").Contract<{
|
|
|
1638
2341
|
createdAt?: Date | undefined;
|
|
1639
2342
|
updatedAt?: Date | undefined;
|
|
1640
2343
|
lastUsedAt?: Date | null | undefined;
|
|
2344
|
+
deletedAt?: Date | null | undefined;
|
|
1641
2345
|
}>;
|
|
1642
2346
|
/**
|
|
1643
2347
|
* Contract for userDevices row (Select)
|
|
@@ -1695,10 +2399,17 @@ export declare const UsersRowContract: import("../index.js").Contract<{
|
|
|
1695
2399
|
tosAcceptedAt: Date | null;
|
|
1696
2400
|
tosVersion: string | null;
|
|
1697
2401
|
stripeCustomerId: string | null;
|
|
2402
|
+
mfaEnabled: boolean;
|
|
2403
|
+
mfaSecret: string | null;
|
|
2404
|
+
mfaBackupCodes: string[] | null;
|
|
2405
|
+
mfaVerifiedAt: Date | null;
|
|
2406
|
+
sshKeyFingerprint: string | null;
|
|
1698
2407
|
preferences: import("drizzle-zod").Json;
|
|
1699
2408
|
createdAt: Date;
|
|
1700
2409
|
updatedAt: Date;
|
|
1701
2410
|
lastActiveAt: Date | null;
|
|
2411
|
+
deletedAt: Date | null;
|
|
2412
|
+
anonymizedAt: Date | null;
|
|
1702
2413
|
_json: import("drizzle-zod").Json;
|
|
1703
2414
|
}>;
|
|
1704
2415
|
/**
|
|
@@ -1725,10 +2436,17 @@ export declare const UsersInsertContract: import("../index.js").Contract<{
|
|
|
1725
2436
|
tosAcceptedAt?: Date | null | undefined;
|
|
1726
2437
|
tosVersion?: string | null | undefined;
|
|
1727
2438
|
stripeCustomerId?: string | null | undefined;
|
|
2439
|
+
mfaEnabled?: boolean | undefined;
|
|
2440
|
+
mfaSecret?: string | null | undefined;
|
|
2441
|
+
mfaBackupCodes?: string[] | null | undefined;
|
|
2442
|
+
mfaVerifiedAt?: Date | null | undefined;
|
|
2443
|
+
sshKeyFingerprint?: string | null | undefined;
|
|
1728
2444
|
preferences?: import("drizzle-zod").Json | undefined;
|
|
1729
2445
|
createdAt?: Date | undefined;
|
|
1730
2446
|
updatedAt?: Date | undefined;
|
|
1731
2447
|
lastActiveAt?: Date | null | undefined;
|
|
2448
|
+
deletedAt?: Date | null | undefined;
|
|
2449
|
+
anonymizedAt?: Date | null | undefined;
|
|
1732
2450
|
_json?: import("drizzle-zod").Json | undefined;
|
|
1733
2451
|
}>;
|
|
1734
2452
|
/**
|