@foundrynorth/compass-schema 1.0.16 → 1.0.17
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/schema.d.ts +57 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +8 -0
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
- package/src/schema.ts +9 -0
package/dist/schema.d.ts
CHANGED
|
@@ -55448,6 +55448,59 @@ export declare const contracts: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
55448
55448
|
}, {}, {
|
|
55449
55449
|
length: number | undefined;
|
|
55450
55450
|
}>;
|
|
55451
|
+
fluxAgreementId: import("drizzle-orm/pg-core").PgColumn<{
|
|
55452
|
+
name: "flux_agreement_id";
|
|
55453
|
+
tableName: "contracts";
|
|
55454
|
+
dataType: "string";
|
|
55455
|
+
columnType: "PgText";
|
|
55456
|
+
data: string;
|
|
55457
|
+
driverParam: string;
|
|
55458
|
+
notNull: false;
|
|
55459
|
+
hasDefault: false;
|
|
55460
|
+
isPrimaryKey: false;
|
|
55461
|
+
isAutoincrement: false;
|
|
55462
|
+
hasRuntimeDefault: false;
|
|
55463
|
+
enumValues: [string, ...string[]];
|
|
55464
|
+
baseColumn: never;
|
|
55465
|
+
identity: undefined;
|
|
55466
|
+
generated: undefined;
|
|
55467
|
+
}, {}, {}>;
|
|
55468
|
+
lastSyncedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
55469
|
+
name: "last_synced_at";
|
|
55470
|
+
tableName: "contracts";
|
|
55471
|
+
dataType: "date";
|
|
55472
|
+
columnType: "PgTimestamp";
|
|
55473
|
+
data: Date;
|
|
55474
|
+
driverParam: string;
|
|
55475
|
+
notNull: false;
|
|
55476
|
+
hasDefault: false;
|
|
55477
|
+
isPrimaryKey: false;
|
|
55478
|
+
isAutoincrement: false;
|
|
55479
|
+
hasRuntimeDefault: false;
|
|
55480
|
+
enumValues: undefined;
|
|
55481
|
+
baseColumn: never;
|
|
55482
|
+
identity: undefined;
|
|
55483
|
+
generated: undefined;
|
|
55484
|
+
}, {}, {}>;
|
|
55485
|
+
syncSource: import("drizzle-orm/pg-core").PgColumn<{
|
|
55486
|
+
name: "sync_source";
|
|
55487
|
+
tableName: "contracts";
|
|
55488
|
+
dataType: "string";
|
|
55489
|
+
columnType: "PgVarchar";
|
|
55490
|
+
data: string;
|
|
55491
|
+
driverParam: string;
|
|
55492
|
+
notNull: false;
|
|
55493
|
+
hasDefault: true;
|
|
55494
|
+
isPrimaryKey: false;
|
|
55495
|
+
isAutoincrement: false;
|
|
55496
|
+
hasRuntimeDefault: false;
|
|
55497
|
+
enumValues: [string, ...string[]];
|
|
55498
|
+
baseColumn: never;
|
|
55499
|
+
identity: undefined;
|
|
55500
|
+
generated: undefined;
|
|
55501
|
+
}, {}, {
|
|
55502
|
+
length: number | undefined;
|
|
55503
|
+
}>;
|
|
55451
55504
|
notes: import("drizzle-orm/pg-core").PgColumn<{
|
|
55452
55505
|
name: "notes";
|
|
55453
55506
|
tableName: "contracts";
|
|
@@ -55554,11 +55607,14 @@ export declare const insertContractSchema: z.ZodObject<Omit<{
|
|
|
55554
55607
|
signingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55555
55608
|
sentForSigningAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
55556
55609
|
sentForSigningBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55610
|
+
fluxAgreementId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55611
|
+
lastSyncedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
55612
|
+
syncSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55557
55613
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55558
55614
|
createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55559
55615
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
55560
55616
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
55561
|
-
}, "id" | "createdAt" | "updatedAt" | "allocatedAmount" | "billedAmount" | "remainingAmount" | "actualMarginPct" | "actualMarginDollars" | "orderCount" | "lastRecalculatedAt">, "strip", z.ZodTypeAny, {
|
|
55617
|
+
}, "id" | "createdAt" | "updatedAt" | "lastSyncedAt" | "allocatedAmount" | "billedAmount" | "remainingAmount" | "actualMarginPct" | "actualMarginDollars" | "orderCount" | "lastRecalculatedAt" | "fluxAgreementId" | "syncSource">, "strip", z.ZodTypeAny, {
|
|
55562
55618
|
name: string;
|
|
55563
55619
|
hubspotCompanyId: string;
|
|
55564
55620
|
tierCode: string;
|