@revealui/contracts 1.1.0 → 1.3.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/content-validation.d.ts +53 -0
- package/dist/content-validation.d.ts.map +1 -0
- package/dist/content-validation.js +149 -0
- package/dist/content-validation.js.map +1 -0
- 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 +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 +897 -3
- package/dist/generated/contracts.d.ts.map +1 -1
- package/dist/generated/contracts.js +623 -2
- package/dist/generated/contracts.js.map +1 -1
- package/dist/generated/database.d.ts +27 -27
- package/dist/generated/database.d.ts.map +1 -1
- package/dist/generated/database.js +1 -1
- package/dist/generated/database.js.map +1 -1
- package/dist/generated/zod-schemas.d.ts +15671 -5613
- package/dist/generated/zod-schemas.d.ts.map +1 -1
- package/dist/generated/zod-schemas.js +352 -1
- package/dist/generated/zod-schemas.js.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/dist/pricing.d.ts +65 -0
- package/dist/pricing.d.ts.map +1 -0
- package/dist/pricing.js +219 -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 +12 -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/dist/revealcoin.d.ts +64 -0
- package/dist/revealcoin.d.ts.map +1 -0
- package/dist/revealcoin.js +142 -0
- package/dist/revealcoin.js.map +1 -0
- package/package.json +28 -9
- package/dist/agents/types.d.ts +0 -22
- package/dist/agents/types.d.ts.map +0 -1
- package/dist/agents/types.js +0 -2
- package/dist/agents/types.js.map +0 -1
|
@@ -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-27T02:04:08.475Z
|
|
6
6
|
*
|
|
7
7
|
* This file provides Contract wrappers for all database tables.
|
|
8
8
|
* Contracts combine TypeScript types, Zod schemas, and runtime validation
|
|
@@ -12,7 +12,99 @@
|
|
|
12
12
|
* business logic, computed fields, and custom validation rules.
|
|
13
13
|
*/
|
|
14
14
|
import { createContract } from '../foundation/contract.js';
|
|
15
|
-
import * as Schemas from '
|
|
15
|
+
import * as Schemas from './zod-schemas.js';
|
|
16
|
+
// =============================================================================
|
|
17
|
+
// AccountEntitlements Contracts
|
|
18
|
+
// =============================================================================
|
|
19
|
+
/**
|
|
20
|
+
* Contract for accountEntitlements row (Select)
|
|
21
|
+
* Database table: account_entitlements
|
|
22
|
+
*/
|
|
23
|
+
export const AccountEntitlementsRowContract = createContract({
|
|
24
|
+
name: 'AccountEntitlementsRow',
|
|
25
|
+
version: '1',
|
|
26
|
+
description: 'Database row contract for account_entitlements table',
|
|
27
|
+
schema: Schemas.AccountEntitlementsSelectSchema,
|
|
28
|
+
});
|
|
29
|
+
/**
|
|
30
|
+
* Contract for accountEntitlements insert
|
|
31
|
+
* Database table: account_entitlements
|
|
32
|
+
*/
|
|
33
|
+
export const AccountEntitlementsInsertContract = createContract({
|
|
34
|
+
name: 'AccountEntitlementsInsert',
|
|
35
|
+
version: '1',
|
|
36
|
+
description: 'Database insert contract for account_entitlements table',
|
|
37
|
+
schema: Schemas.AccountEntitlementsInsertSchema,
|
|
38
|
+
});
|
|
39
|
+
// =============================================================================
|
|
40
|
+
// AccountMemberships Contracts
|
|
41
|
+
// =============================================================================
|
|
42
|
+
/**
|
|
43
|
+
* Contract for accountMemberships row (Select)
|
|
44
|
+
* Database table: account_memberships
|
|
45
|
+
*/
|
|
46
|
+
export const AccountMembershipsRowContract = createContract({
|
|
47
|
+
name: 'AccountMembershipsRow',
|
|
48
|
+
version: '1',
|
|
49
|
+
description: 'Database row contract for account_memberships table',
|
|
50
|
+
schema: Schemas.AccountMembershipsSelectSchema,
|
|
51
|
+
});
|
|
52
|
+
/**
|
|
53
|
+
* Contract for accountMemberships insert
|
|
54
|
+
* Database table: account_memberships
|
|
55
|
+
*/
|
|
56
|
+
export const AccountMembershipsInsertContract = createContract({
|
|
57
|
+
name: 'AccountMembershipsInsert',
|
|
58
|
+
version: '1',
|
|
59
|
+
description: 'Database insert contract for account_memberships table',
|
|
60
|
+
schema: Schemas.AccountMembershipsInsertSchema,
|
|
61
|
+
});
|
|
62
|
+
// =============================================================================
|
|
63
|
+
// Accounts Contracts
|
|
64
|
+
// =============================================================================
|
|
65
|
+
/**
|
|
66
|
+
* Contract for accounts row (Select)
|
|
67
|
+
* Database table: accounts
|
|
68
|
+
*/
|
|
69
|
+
export const AccountsRowContract = createContract({
|
|
70
|
+
name: 'AccountsRow',
|
|
71
|
+
version: '1',
|
|
72
|
+
description: 'Database row contract for accounts table',
|
|
73
|
+
schema: Schemas.AccountsSelectSchema,
|
|
74
|
+
});
|
|
75
|
+
/**
|
|
76
|
+
* Contract for accounts insert
|
|
77
|
+
* Database table: accounts
|
|
78
|
+
*/
|
|
79
|
+
export const AccountsInsertContract = createContract({
|
|
80
|
+
name: 'AccountsInsert',
|
|
81
|
+
version: '1',
|
|
82
|
+
description: 'Database insert contract for accounts table',
|
|
83
|
+
schema: Schemas.AccountsInsertSchema,
|
|
84
|
+
});
|
|
85
|
+
// =============================================================================
|
|
86
|
+
// AccountSubscriptions Contracts
|
|
87
|
+
// =============================================================================
|
|
88
|
+
/**
|
|
89
|
+
* Contract for accountSubscriptions row (Select)
|
|
90
|
+
* Database table: account_subscriptions
|
|
91
|
+
*/
|
|
92
|
+
export const AccountSubscriptionsRowContract = createContract({
|
|
93
|
+
name: 'AccountSubscriptionsRow',
|
|
94
|
+
version: '1',
|
|
95
|
+
description: 'Database row contract for account_subscriptions table',
|
|
96
|
+
schema: Schemas.AccountSubscriptionsSelectSchema,
|
|
97
|
+
});
|
|
98
|
+
/**
|
|
99
|
+
* Contract for accountSubscriptions insert
|
|
100
|
+
* Database table: account_subscriptions
|
|
101
|
+
*/
|
|
102
|
+
export const AccountSubscriptionsInsertContract = createContract({
|
|
103
|
+
name: 'AccountSubscriptionsInsert',
|
|
104
|
+
version: '1',
|
|
105
|
+
description: 'Database insert contract for account_subscriptions table',
|
|
106
|
+
schema: Schemas.AccountSubscriptionsInsertSchema,
|
|
107
|
+
});
|
|
16
108
|
// =============================================================================
|
|
17
109
|
// AgentActions Contracts
|
|
18
110
|
// =============================================================================
|
|
@@ -175,6 +267,29 @@ export const AuditLogInsertContract = createContract({
|
|
|
175
267
|
schema: Schemas.AuditLogInsertSchema,
|
|
176
268
|
});
|
|
177
269
|
// =============================================================================
|
|
270
|
+
// BillingCatalog Contracts
|
|
271
|
+
// =============================================================================
|
|
272
|
+
/**
|
|
273
|
+
* Contract for billingCatalog row (Select)
|
|
274
|
+
* Database table: billing_catalog
|
|
275
|
+
*/
|
|
276
|
+
export const BillingCatalogRowContract = createContract({
|
|
277
|
+
name: 'BillingCatalogRow',
|
|
278
|
+
version: '1',
|
|
279
|
+
description: 'Database row contract for billing_catalog table',
|
|
280
|
+
schema: Schemas.BillingCatalogSelectSchema,
|
|
281
|
+
});
|
|
282
|
+
/**
|
|
283
|
+
* Contract for billingCatalog insert
|
|
284
|
+
* Database table: billing_catalog
|
|
285
|
+
*/
|
|
286
|
+
export const BillingCatalogInsertContract = createContract({
|
|
287
|
+
name: 'BillingCatalogInsert',
|
|
288
|
+
version: '1',
|
|
289
|
+
description: 'Database insert contract for billing_catalog table',
|
|
290
|
+
schema: Schemas.BillingCatalogInsertSchema,
|
|
291
|
+
});
|
|
292
|
+
// =============================================================================
|
|
178
293
|
// BoardColumns Contracts
|
|
179
294
|
// =============================================================================
|
|
180
295
|
/**
|
|
@@ -221,6 +336,29 @@ export const BoardsInsertContract = createContract({
|
|
|
221
336
|
schema: Schemas.BoardsInsertSchema,
|
|
222
337
|
});
|
|
223
338
|
// =============================================================================
|
|
339
|
+
// CircuitBreakerState Contracts
|
|
340
|
+
// =============================================================================
|
|
341
|
+
/**
|
|
342
|
+
* Contract for circuitBreakerState row (Select)
|
|
343
|
+
* Database table: circuit_breaker_state
|
|
344
|
+
*/
|
|
345
|
+
export const CircuitBreakerStateRowContract = createContract({
|
|
346
|
+
name: 'CircuitBreakerStateRow',
|
|
347
|
+
version: '1',
|
|
348
|
+
description: 'Database row contract for circuit_breaker_state table',
|
|
349
|
+
schema: Schemas.CircuitBreakerStateSelectSchema,
|
|
350
|
+
});
|
|
351
|
+
/**
|
|
352
|
+
* Contract for circuitBreakerState insert
|
|
353
|
+
* Database table: circuit_breaker_state
|
|
354
|
+
*/
|
|
355
|
+
export const CircuitBreakerStateInsertContract = createContract({
|
|
356
|
+
name: 'CircuitBreakerStateInsert',
|
|
357
|
+
version: '1',
|
|
358
|
+
description: 'Database insert contract for circuit_breaker_state table',
|
|
359
|
+
schema: Schemas.CircuitBreakerStateInsertSchema,
|
|
360
|
+
});
|
|
361
|
+
// =============================================================================
|
|
224
362
|
// CodeProvenance Contracts
|
|
225
363
|
// =============================================================================
|
|
226
364
|
/**
|
|
@@ -313,6 +451,167 @@ export const ConversationsInsertContract = createContract({
|
|
|
313
451
|
schema: Schemas.ConversationsInsertSchema,
|
|
314
452
|
});
|
|
315
453
|
// =============================================================================
|
|
454
|
+
// CoordinationAgents Contracts
|
|
455
|
+
// =============================================================================
|
|
456
|
+
/**
|
|
457
|
+
* Contract for coordinationAgents row (Select)
|
|
458
|
+
* Database table: coordination_agents
|
|
459
|
+
*/
|
|
460
|
+
export const CoordinationAgentsRowContract = createContract({
|
|
461
|
+
name: 'CoordinationAgentsRow',
|
|
462
|
+
version: '1',
|
|
463
|
+
description: 'Database row contract for coordination_agents table',
|
|
464
|
+
schema: Schemas.CoordinationAgentsSelectSchema,
|
|
465
|
+
});
|
|
466
|
+
/**
|
|
467
|
+
* Contract for coordinationAgents insert
|
|
468
|
+
* Database table: coordination_agents
|
|
469
|
+
*/
|
|
470
|
+
export const CoordinationAgentsInsertContract = createContract({
|
|
471
|
+
name: 'CoordinationAgentsInsert',
|
|
472
|
+
version: '1',
|
|
473
|
+
description: 'Database insert contract for coordination_agents table',
|
|
474
|
+
schema: Schemas.CoordinationAgentsInsertSchema,
|
|
475
|
+
});
|
|
476
|
+
// =============================================================================
|
|
477
|
+
// CoordinationEvents Contracts
|
|
478
|
+
// =============================================================================
|
|
479
|
+
/**
|
|
480
|
+
* Contract for coordinationEvents row (Select)
|
|
481
|
+
* Database table: coordination_events
|
|
482
|
+
*/
|
|
483
|
+
export const CoordinationEventsRowContract = createContract({
|
|
484
|
+
name: 'CoordinationEventsRow',
|
|
485
|
+
version: '1',
|
|
486
|
+
description: 'Database row contract for coordination_events table',
|
|
487
|
+
schema: Schemas.CoordinationEventsSelectSchema,
|
|
488
|
+
});
|
|
489
|
+
/**
|
|
490
|
+
* Contract for coordinationEvents insert
|
|
491
|
+
* Database table: coordination_events
|
|
492
|
+
*/
|
|
493
|
+
export const CoordinationEventsInsertContract = createContract({
|
|
494
|
+
name: 'CoordinationEventsInsert',
|
|
495
|
+
version: '1',
|
|
496
|
+
description: 'Database insert contract for coordination_events table',
|
|
497
|
+
schema: Schemas.CoordinationEventsInsertSchema,
|
|
498
|
+
});
|
|
499
|
+
// =============================================================================
|
|
500
|
+
// CoordinationFileClaims Contracts
|
|
501
|
+
// =============================================================================
|
|
502
|
+
/**
|
|
503
|
+
* Contract for coordinationFileClaims row (Select)
|
|
504
|
+
* Database table: coordination_file_claims
|
|
505
|
+
*/
|
|
506
|
+
export const CoordinationFileClaimsRowContract = createContract({
|
|
507
|
+
name: 'CoordinationFileClaimsRow',
|
|
508
|
+
version: '1',
|
|
509
|
+
description: 'Database row contract for coordination_file_claims table',
|
|
510
|
+
schema: Schemas.CoordinationFileClaimsSelectSchema,
|
|
511
|
+
});
|
|
512
|
+
/**
|
|
513
|
+
* Contract for coordinationFileClaims insert
|
|
514
|
+
* Database table: coordination_file_claims
|
|
515
|
+
*/
|
|
516
|
+
export const CoordinationFileClaimsInsertContract = createContract({
|
|
517
|
+
name: 'CoordinationFileClaimsInsert',
|
|
518
|
+
version: '1',
|
|
519
|
+
description: 'Database insert contract for coordination_file_claims table',
|
|
520
|
+
schema: Schemas.CoordinationFileClaimsInsertSchema,
|
|
521
|
+
});
|
|
522
|
+
// =============================================================================
|
|
523
|
+
// CoordinationMail Contracts
|
|
524
|
+
// =============================================================================
|
|
525
|
+
/**
|
|
526
|
+
* Contract for coordinationMail row (Select)
|
|
527
|
+
* Database table: coordination_mail
|
|
528
|
+
*/
|
|
529
|
+
export const CoordinationMailRowContract = createContract({
|
|
530
|
+
name: 'CoordinationMailRow',
|
|
531
|
+
version: '1',
|
|
532
|
+
description: 'Database row contract for coordination_mail table',
|
|
533
|
+
schema: Schemas.CoordinationMailSelectSchema,
|
|
534
|
+
});
|
|
535
|
+
/**
|
|
536
|
+
* Contract for coordinationMail insert
|
|
537
|
+
* Database table: coordination_mail
|
|
538
|
+
*/
|
|
539
|
+
export const CoordinationMailInsertContract = createContract({
|
|
540
|
+
name: 'CoordinationMailInsert',
|
|
541
|
+
version: '1',
|
|
542
|
+
description: 'Database insert contract for coordination_mail table',
|
|
543
|
+
schema: Schemas.CoordinationMailInsertSchema,
|
|
544
|
+
});
|
|
545
|
+
// =============================================================================
|
|
546
|
+
// CoordinationQueueItems Contracts
|
|
547
|
+
// =============================================================================
|
|
548
|
+
/**
|
|
549
|
+
* Contract for coordinationQueueItems row (Select)
|
|
550
|
+
* Database table: coordination_queue_items
|
|
551
|
+
*/
|
|
552
|
+
export const CoordinationQueueItemsRowContract = createContract({
|
|
553
|
+
name: 'CoordinationQueueItemsRow',
|
|
554
|
+
version: '1',
|
|
555
|
+
description: 'Database row contract for coordination_queue_items table',
|
|
556
|
+
schema: Schemas.CoordinationQueueItemsSelectSchema,
|
|
557
|
+
});
|
|
558
|
+
/**
|
|
559
|
+
* Contract for coordinationQueueItems insert
|
|
560
|
+
* Database table: coordination_queue_items
|
|
561
|
+
*/
|
|
562
|
+
export const CoordinationQueueItemsInsertContract = createContract({
|
|
563
|
+
name: 'CoordinationQueueItemsInsert',
|
|
564
|
+
version: '1',
|
|
565
|
+
description: 'Database insert contract for coordination_queue_items table',
|
|
566
|
+
schema: Schemas.CoordinationQueueItemsInsertSchema,
|
|
567
|
+
});
|
|
568
|
+
// =============================================================================
|
|
569
|
+
// CoordinationSessions Contracts
|
|
570
|
+
// =============================================================================
|
|
571
|
+
/**
|
|
572
|
+
* Contract for coordinationSessions row (Select)
|
|
573
|
+
* Database table: coordination_sessions
|
|
574
|
+
*/
|
|
575
|
+
export const CoordinationSessionsRowContract = createContract({
|
|
576
|
+
name: 'CoordinationSessionsRow',
|
|
577
|
+
version: '1',
|
|
578
|
+
description: 'Database row contract for coordination_sessions table',
|
|
579
|
+
schema: Schemas.CoordinationSessionsSelectSchema,
|
|
580
|
+
});
|
|
581
|
+
/**
|
|
582
|
+
* Contract for coordinationSessions insert
|
|
583
|
+
* Database table: coordination_sessions
|
|
584
|
+
*/
|
|
585
|
+
export const CoordinationSessionsInsertContract = createContract({
|
|
586
|
+
name: 'CoordinationSessionsInsert',
|
|
587
|
+
version: '1',
|
|
588
|
+
description: 'Database insert contract for coordination_sessions table',
|
|
589
|
+
schema: Schemas.CoordinationSessionsInsertSchema,
|
|
590
|
+
});
|
|
591
|
+
// =============================================================================
|
|
592
|
+
// CoordinationWorkItems Contracts
|
|
593
|
+
// =============================================================================
|
|
594
|
+
/**
|
|
595
|
+
* Contract for coordinationWorkItems row (Select)
|
|
596
|
+
* Database table: coordination_work_items
|
|
597
|
+
*/
|
|
598
|
+
export const CoordinationWorkItemsRowContract = createContract({
|
|
599
|
+
name: 'CoordinationWorkItemsRow',
|
|
600
|
+
version: '1',
|
|
601
|
+
description: 'Database row contract for coordination_work_items table',
|
|
602
|
+
schema: Schemas.CoordinationWorkItemsSelectSchema,
|
|
603
|
+
});
|
|
604
|
+
/**
|
|
605
|
+
* Contract for coordinationWorkItems insert
|
|
606
|
+
* Database table: coordination_work_items
|
|
607
|
+
*/
|
|
608
|
+
export const CoordinationWorkItemsInsertContract = createContract({
|
|
609
|
+
name: 'CoordinationWorkItemsInsert',
|
|
610
|
+
version: '1',
|
|
611
|
+
description: 'Database insert contract for coordination_work_items table',
|
|
612
|
+
schema: Schemas.CoordinationWorkItemsInsertSchema,
|
|
613
|
+
});
|
|
614
|
+
// =============================================================================
|
|
316
615
|
// CrdtOperations Contracts
|
|
317
616
|
// =============================================================================
|
|
318
617
|
/**
|
|
@@ -382,6 +681,75 @@ export const FailedAttemptsInsertContract = createContract({
|
|
|
382
681
|
schema: Schemas.FailedAttemptsInsertSchema,
|
|
383
682
|
});
|
|
384
683
|
// =============================================================================
|
|
684
|
+
// GdprBreaches Contracts
|
|
685
|
+
// =============================================================================
|
|
686
|
+
/**
|
|
687
|
+
* Contract for gdprBreaches row (Select)
|
|
688
|
+
* Database table: gdpr_breaches
|
|
689
|
+
*/
|
|
690
|
+
export const GdprBreachesRowContract = createContract({
|
|
691
|
+
name: 'GdprBreachesRow',
|
|
692
|
+
version: '1',
|
|
693
|
+
description: 'Database row contract for gdpr_breaches table',
|
|
694
|
+
schema: Schemas.GdprBreachesSelectSchema,
|
|
695
|
+
});
|
|
696
|
+
/**
|
|
697
|
+
* Contract for gdprBreaches insert
|
|
698
|
+
* Database table: gdpr_breaches
|
|
699
|
+
*/
|
|
700
|
+
export const GdprBreachesInsertContract = createContract({
|
|
701
|
+
name: 'GdprBreachesInsert',
|
|
702
|
+
version: '1',
|
|
703
|
+
description: 'Database insert contract for gdpr_breaches table',
|
|
704
|
+
schema: Schemas.GdprBreachesInsertSchema,
|
|
705
|
+
});
|
|
706
|
+
// =============================================================================
|
|
707
|
+
// GdprConsents Contracts
|
|
708
|
+
// =============================================================================
|
|
709
|
+
/**
|
|
710
|
+
* Contract for gdprConsents row (Select)
|
|
711
|
+
* Database table: gdpr_consents
|
|
712
|
+
*/
|
|
713
|
+
export const GdprConsentsRowContract = createContract({
|
|
714
|
+
name: 'GdprConsentsRow',
|
|
715
|
+
version: '1',
|
|
716
|
+
description: 'Database row contract for gdpr_consents table',
|
|
717
|
+
schema: Schemas.GdprConsentsSelectSchema,
|
|
718
|
+
});
|
|
719
|
+
/**
|
|
720
|
+
* Contract for gdprConsents insert
|
|
721
|
+
* Database table: gdpr_consents
|
|
722
|
+
*/
|
|
723
|
+
export const GdprConsentsInsertContract = createContract({
|
|
724
|
+
name: 'GdprConsentsInsert',
|
|
725
|
+
version: '1',
|
|
726
|
+
description: 'Database insert contract for gdpr_consents table',
|
|
727
|
+
schema: Schemas.GdprConsentsInsertSchema,
|
|
728
|
+
});
|
|
729
|
+
// =============================================================================
|
|
730
|
+
// GdprDeletionRequests Contracts
|
|
731
|
+
// =============================================================================
|
|
732
|
+
/**
|
|
733
|
+
* Contract for gdprDeletionRequests row (Select)
|
|
734
|
+
* Database table: gdpr_deletion_requests
|
|
735
|
+
*/
|
|
736
|
+
export const GdprDeletionRequestsRowContract = createContract({
|
|
737
|
+
name: 'GdprDeletionRequestsRow',
|
|
738
|
+
version: '1',
|
|
739
|
+
description: 'Database row contract for gdpr_deletion_requests table',
|
|
740
|
+
schema: Schemas.GdprDeletionRequestsSelectSchema,
|
|
741
|
+
});
|
|
742
|
+
/**
|
|
743
|
+
* Contract for gdprDeletionRequests insert
|
|
744
|
+
* Database table: gdpr_deletion_requests
|
|
745
|
+
*/
|
|
746
|
+
export const GdprDeletionRequestsInsertContract = createContract({
|
|
747
|
+
name: 'GdprDeletionRequestsInsert',
|
|
748
|
+
version: '1',
|
|
749
|
+
description: 'Database insert contract for gdpr_deletion_requests table',
|
|
750
|
+
schema: Schemas.GdprDeletionRequestsInsertSchema,
|
|
751
|
+
});
|
|
752
|
+
// =============================================================================
|
|
385
753
|
// GlobalFooter Contracts
|
|
386
754
|
// =============================================================================
|
|
387
755
|
/**
|
|
@@ -451,6 +819,29 @@ export const GlobalSettingsInsertContract = createContract({
|
|
|
451
819
|
schema: Schemas.GlobalSettingsInsertSchema,
|
|
452
820
|
});
|
|
453
821
|
// =============================================================================
|
|
822
|
+
// Jobs Contracts
|
|
823
|
+
// =============================================================================
|
|
824
|
+
/**
|
|
825
|
+
* Contract for jobs row (Select)
|
|
826
|
+
* Database table: jobs
|
|
827
|
+
*/
|
|
828
|
+
export const JobsRowContract = createContract({
|
|
829
|
+
name: 'JobsRow',
|
|
830
|
+
version: '1',
|
|
831
|
+
description: 'Database row contract for jobs table',
|
|
832
|
+
schema: Schemas.JobsSelectSchema,
|
|
833
|
+
});
|
|
834
|
+
/**
|
|
835
|
+
* Contract for jobs insert
|
|
836
|
+
* Database table: jobs
|
|
837
|
+
*/
|
|
838
|
+
export const JobsInsertContract = createContract({
|
|
839
|
+
name: 'JobsInsert',
|
|
840
|
+
version: '1',
|
|
841
|
+
description: 'Database insert contract for jobs table',
|
|
842
|
+
schema: Schemas.JobsInsertSchema,
|
|
843
|
+
});
|
|
844
|
+
// =============================================================================
|
|
454
845
|
// Licenses Contracts
|
|
455
846
|
// =============================================================================
|
|
456
847
|
/**
|
|
@@ -474,6 +865,75 @@ export const LicensesInsertContract = createContract({
|
|
|
474
865
|
schema: Schemas.LicensesInsertSchema,
|
|
475
866
|
});
|
|
476
867
|
// =============================================================================
|
|
868
|
+
// MagicLinks Contracts
|
|
869
|
+
// =============================================================================
|
|
870
|
+
/**
|
|
871
|
+
* Contract for magicLinks row (Select)
|
|
872
|
+
* Database table: magic_links
|
|
873
|
+
*/
|
|
874
|
+
export const MagicLinksRowContract = createContract({
|
|
875
|
+
name: 'MagicLinksRow',
|
|
876
|
+
version: '1',
|
|
877
|
+
description: 'Database row contract for magic_links table',
|
|
878
|
+
schema: Schemas.MagicLinksSelectSchema,
|
|
879
|
+
});
|
|
880
|
+
/**
|
|
881
|
+
* Contract for magicLinks insert
|
|
882
|
+
* Database table: magic_links
|
|
883
|
+
*/
|
|
884
|
+
export const MagicLinksInsertContract = createContract({
|
|
885
|
+
name: 'MagicLinksInsert',
|
|
886
|
+
version: '1',
|
|
887
|
+
description: 'Database insert contract for magic_links table',
|
|
888
|
+
schema: Schemas.MagicLinksInsertSchema,
|
|
889
|
+
});
|
|
890
|
+
// =============================================================================
|
|
891
|
+
// MarketplaceServers Contracts
|
|
892
|
+
// =============================================================================
|
|
893
|
+
/**
|
|
894
|
+
* Contract for marketplaceServers row (Select)
|
|
895
|
+
* Database table: marketplace_servers
|
|
896
|
+
*/
|
|
897
|
+
export const MarketplaceServersRowContract = createContract({
|
|
898
|
+
name: 'MarketplaceServersRow',
|
|
899
|
+
version: '1',
|
|
900
|
+
description: 'Database row contract for marketplace_servers table',
|
|
901
|
+
schema: Schemas.MarketplaceServersSelectSchema,
|
|
902
|
+
});
|
|
903
|
+
/**
|
|
904
|
+
* Contract for marketplaceServers insert
|
|
905
|
+
* Database table: marketplace_servers
|
|
906
|
+
*/
|
|
907
|
+
export const MarketplaceServersInsertContract = createContract({
|
|
908
|
+
name: 'MarketplaceServersInsert',
|
|
909
|
+
version: '1',
|
|
910
|
+
description: 'Database insert contract for marketplace_servers table',
|
|
911
|
+
schema: Schemas.MarketplaceServersInsertSchema,
|
|
912
|
+
});
|
|
913
|
+
// =============================================================================
|
|
914
|
+
// MarketplaceTransactions Contracts
|
|
915
|
+
// =============================================================================
|
|
916
|
+
/**
|
|
917
|
+
* Contract for marketplaceTransactions row (Select)
|
|
918
|
+
* Database table: marketplace_transactions
|
|
919
|
+
*/
|
|
920
|
+
export const MarketplaceTransactionsRowContract = createContract({
|
|
921
|
+
name: 'MarketplaceTransactionsRow',
|
|
922
|
+
version: '1',
|
|
923
|
+
description: 'Database row contract for marketplace_transactions table',
|
|
924
|
+
schema: Schemas.MarketplaceTransactionsSelectSchema,
|
|
925
|
+
});
|
|
926
|
+
/**
|
|
927
|
+
* Contract for marketplaceTransactions insert
|
|
928
|
+
* Database table: marketplace_transactions
|
|
929
|
+
*/
|
|
930
|
+
export const MarketplaceTransactionsInsertContract = createContract({
|
|
931
|
+
name: 'MarketplaceTransactionsInsert',
|
|
932
|
+
version: '1',
|
|
933
|
+
description: 'Database insert contract for marketplace_transactions table',
|
|
934
|
+
schema: Schemas.MarketplaceTransactionsInsertSchema,
|
|
935
|
+
});
|
|
936
|
+
// =============================================================================
|
|
477
937
|
// Media Contracts
|
|
478
938
|
// =============================================================================
|
|
479
939
|
/**
|
|
@@ -566,6 +1026,29 @@ export const OauthAccountsInsertContract = createContract({
|
|
|
566
1026
|
schema: Schemas.OauthAccountsInsertSchema,
|
|
567
1027
|
});
|
|
568
1028
|
// =============================================================================
|
|
1029
|
+
// Orders Contracts
|
|
1030
|
+
// =============================================================================
|
|
1031
|
+
/**
|
|
1032
|
+
* Contract for orders row (Select)
|
|
1033
|
+
* Database table: orders
|
|
1034
|
+
*/
|
|
1035
|
+
export const OrdersRowContract = createContract({
|
|
1036
|
+
name: 'OrdersRow',
|
|
1037
|
+
version: '1',
|
|
1038
|
+
description: 'Database row contract for orders table',
|
|
1039
|
+
schema: Schemas.OrdersSelectSchema,
|
|
1040
|
+
});
|
|
1041
|
+
/**
|
|
1042
|
+
* Contract for orders insert
|
|
1043
|
+
* Database table: orders
|
|
1044
|
+
*/
|
|
1045
|
+
export const OrdersInsertContract = createContract({
|
|
1046
|
+
name: 'OrdersInsert',
|
|
1047
|
+
version: '1',
|
|
1048
|
+
description: 'Database insert contract for orders table',
|
|
1049
|
+
schema: Schemas.OrdersInsertSchema,
|
|
1050
|
+
});
|
|
1051
|
+
// =============================================================================
|
|
569
1052
|
// PageRevisions Contracts
|
|
570
1053
|
// =============================================================================
|
|
571
1054
|
/**
|
|
@@ -612,6 +1095,29 @@ export const PagesInsertContract = createContract({
|
|
|
612
1095
|
schema: Schemas.PagesInsertSchema,
|
|
613
1096
|
});
|
|
614
1097
|
// =============================================================================
|
|
1098
|
+
// Passkeys Contracts
|
|
1099
|
+
// =============================================================================
|
|
1100
|
+
/**
|
|
1101
|
+
* Contract for passkeys row (Select)
|
|
1102
|
+
* Database table: passkeys
|
|
1103
|
+
*/
|
|
1104
|
+
export const PasskeysRowContract = createContract({
|
|
1105
|
+
name: 'PasskeysRow',
|
|
1106
|
+
version: '1',
|
|
1107
|
+
description: 'Database row contract for passkeys table',
|
|
1108
|
+
schema: Schemas.PasskeysSelectSchema,
|
|
1109
|
+
});
|
|
1110
|
+
/**
|
|
1111
|
+
* Contract for passkeys insert
|
|
1112
|
+
* Database table: passkeys
|
|
1113
|
+
*/
|
|
1114
|
+
export const PasskeysInsertContract = createContract({
|
|
1115
|
+
name: 'PasskeysInsert',
|
|
1116
|
+
version: '1',
|
|
1117
|
+
description: 'Database insert contract for passkeys table',
|
|
1118
|
+
schema: Schemas.PasskeysInsertSchema,
|
|
1119
|
+
});
|
|
1120
|
+
// =============================================================================
|
|
615
1121
|
// PasswordResetTokens Contracts
|
|
616
1122
|
// =============================================================================
|
|
617
1123
|
/**
|
|
@@ -681,6 +1187,29 @@ export const ProcessedWebhookEventsInsertContract = createContract({
|
|
|
681
1187
|
schema: Schemas.ProcessedWebhookEventsInsertSchema,
|
|
682
1188
|
});
|
|
683
1189
|
// =============================================================================
|
|
1190
|
+
// Products Contracts
|
|
1191
|
+
// =============================================================================
|
|
1192
|
+
/**
|
|
1193
|
+
* Contract for products row (Select)
|
|
1194
|
+
* Database table: products
|
|
1195
|
+
*/
|
|
1196
|
+
export const ProductsRowContract = createContract({
|
|
1197
|
+
name: 'ProductsRow',
|
|
1198
|
+
version: '1',
|
|
1199
|
+
description: 'Database row contract for products table',
|
|
1200
|
+
schema: Schemas.ProductsSelectSchema,
|
|
1201
|
+
});
|
|
1202
|
+
/**
|
|
1203
|
+
* Contract for products insert
|
|
1204
|
+
* Database table: products
|
|
1205
|
+
*/
|
|
1206
|
+
export const ProductsInsertContract = createContract({
|
|
1207
|
+
name: 'ProductsInsert',
|
|
1208
|
+
version: '1',
|
|
1209
|
+
description: 'Database insert contract for products table',
|
|
1210
|
+
schema: Schemas.ProductsInsertSchema,
|
|
1211
|
+
});
|
|
1212
|
+
// =============================================================================
|
|
684
1213
|
// RagChunks Contracts
|
|
685
1214
|
// =============================================================================
|
|
686
1215
|
/**
|
|
@@ -796,6 +1325,52 @@ export const RegisteredAgentsInsertContract = createContract({
|
|
|
796
1325
|
schema: Schemas.RegisteredAgentsInsertSchema,
|
|
797
1326
|
});
|
|
798
1327
|
// =============================================================================
|
|
1328
|
+
// RevealcoinPayments Contracts
|
|
1329
|
+
// =============================================================================
|
|
1330
|
+
/**
|
|
1331
|
+
* Contract for revealcoinPayments row (Select)
|
|
1332
|
+
* Database table: revealcoin_payments
|
|
1333
|
+
*/
|
|
1334
|
+
export const RevealcoinPaymentsRowContract = createContract({
|
|
1335
|
+
name: 'RevealcoinPaymentsRow',
|
|
1336
|
+
version: '1',
|
|
1337
|
+
description: 'Database row contract for revealcoin_payments table',
|
|
1338
|
+
schema: Schemas.RevealcoinPaymentsSelectSchema,
|
|
1339
|
+
});
|
|
1340
|
+
/**
|
|
1341
|
+
* Contract for revealcoinPayments insert
|
|
1342
|
+
* Database table: revealcoin_payments
|
|
1343
|
+
*/
|
|
1344
|
+
export const RevealcoinPaymentsInsertContract = createContract({
|
|
1345
|
+
name: 'RevealcoinPaymentsInsert',
|
|
1346
|
+
version: '1',
|
|
1347
|
+
description: 'Database insert contract for revealcoin_payments table',
|
|
1348
|
+
schema: Schemas.RevealcoinPaymentsInsertSchema,
|
|
1349
|
+
});
|
|
1350
|
+
// =============================================================================
|
|
1351
|
+
// RevealcoinPriceSnapshots Contracts
|
|
1352
|
+
// =============================================================================
|
|
1353
|
+
/**
|
|
1354
|
+
* Contract for revealcoinPriceSnapshots row (Select)
|
|
1355
|
+
* Database table: revealcoin_price_snapshots
|
|
1356
|
+
*/
|
|
1357
|
+
export const RevealcoinPriceSnapshotsRowContract = createContract({
|
|
1358
|
+
name: 'RevealcoinPriceSnapshotsRow',
|
|
1359
|
+
version: '1',
|
|
1360
|
+
description: 'Database row contract for revealcoin_price_snapshots table',
|
|
1361
|
+
schema: Schemas.RevealcoinPriceSnapshotsSelectSchema,
|
|
1362
|
+
});
|
|
1363
|
+
/**
|
|
1364
|
+
* Contract for revealcoinPriceSnapshots insert
|
|
1365
|
+
* Database table: revealcoin_price_snapshots
|
|
1366
|
+
*/
|
|
1367
|
+
export const RevealcoinPriceSnapshotsInsertContract = createContract({
|
|
1368
|
+
name: 'RevealcoinPriceSnapshotsInsert',
|
|
1369
|
+
version: '1',
|
|
1370
|
+
description: 'Database insert contract for revealcoin_price_snapshots table',
|
|
1371
|
+
schema: Schemas.RevealcoinPriceSnapshotsInsertSchema,
|
|
1372
|
+
});
|
|
1373
|
+
// =============================================================================
|
|
799
1374
|
// Sessions Contracts
|
|
800
1375
|
// =============================================================================
|
|
801
1376
|
/**
|
|
@@ -911,6 +1486,29 @@ export const TenantProviderConfigsInsertContract = createContract({
|
|
|
911
1486
|
schema: Schemas.TenantProviderConfigsInsertSchema,
|
|
912
1487
|
});
|
|
913
1488
|
// =============================================================================
|
|
1489
|
+
// Tenants Contracts
|
|
1490
|
+
// =============================================================================
|
|
1491
|
+
/**
|
|
1492
|
+
* Contract for tenants row (Select)
|
|
1493
|
+
* Database table: tenants
|
|
1494
|
+
*/
|
|
1495
|
+
export const TenantsRowContract = createContract({
|
|
1496
|
+
name: 'TenantsRow',
|
|
1497
|
+
version: '1',
|
|
1498
|
+
description: 'Database row contract for tenants table',
|
|
1499
|
+
schema: Schemas.TenantsSelectSchema,
|
|
1500
|
+
});
|
|
1501
|
+
/**
|
|
1502
|
+
* Contract for tenants insert
|
|
1503
|
+
* Database table: tenants
|
|
1504
|
+
*/
|
|
1505
|
+
export const TenantsInsertContract = createContract({
|
|
1506
|
+
name: 'TenantsInsert',
|
|
1507
|
+
version: '1',
|
|
1508
|
+
description: 'Database insert contract for tenants table',
|
|
1509
|
+
schema: Schemas.TenantsInsertSchema,
|
|
1510
|
+
});
|
|
1511
|
+
// =============================================================================
|
|
914
1512
|
// TicketComments Contracts
|
|
915
1513
|
// =============================================================================
|
|
916
1514
|
/**
|
|
@@ -1003,6 +1601,29 @@ export const TicketsInsertContract = createContract({
|
|
|
1003
1601
|
schema: Schemas.TicketsInsertSchema,
|
|
1004
1602
|
});
|
|
1005
1603
|
// =============================================================================
|
|
1604
|
+
// UsageMeters Contracts
|
|
1605
|
+
// =============================================================================
|
|
1606
|
+
/**
|
|
1607
|
+
* Contract for usageMeters row (Select)
|
|
1608
|
+
* Database table: usage_meters
|
|
1609
|
+
*/
|
|
1610
|
+
export const UsageMetersRowContract = createContract({
|
|
1611
|
+
name: 'UsageMetersRow',
|
|
1612
|
+
version: '1',
|
|
1613
|
+
description: 'Database row contract for usage_meters table',
|
|
1614
|
+
schema: Schemas.UsageMetersSelectSchema,
|
|
1615
|
+
});
|
|
1616
|
+
/**
|
|
1617
|
+
* Contract for usageMeters insert
|
|
1618
|
+
* Database table: usage_meters
|
|
1619
|
+
*/
|
|
1620
|
+
export const UsageMetersInsertContract = createContract({
|
|
1621
|
+
name: 'UsageMetersInsert',
|
|
1622
|
+
version: '1',
|
|
1623
|
+
description: 'Database insert contract for usage_meters table',
|
|
1624
|
+
schema: Schemas.UsageMetersInsertSchema,
|
|
1625
|
+
});
|
|
1626
|
+
// =============================================================================
|
|
1006
1627
|
// UserApiKeys Contracts
|
|
1007
1628
|
// =============================================================================
|
|
1008
1629
|
/**
|