@foundrynorth/compass-schema 1.0.8 → 1.0.10
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 +69 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +5 -1
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -578,6 +578,23 @@ export declare const userProfiles: import("drizzle-orm/pg-core").PgTableWithColu
|
|
|
578
578
|
identity: undefined;
|
|
579
579
|
generated: undefined;
|
|
580
580
|
}, {}, {}>;
|
|
581
|
+
hubspotOwnerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
582
|
+
name: "hubspot_owner_id";
|
|
583
|
+
tableName: "user_profiles";
|
|
584
|
+
dataType: "string";
|
|
585
|
+
columnType: "PgText";
|
|
586
|
+
data: string;
|
|
587
|
+
driverParam: string;
|
|
588
|
+
notNull: false;
|
|
589
|
+
hasDefault: false;
|
|
590
|
+
isPrimaryKey: false;
|
|
591
|
+
isAutoincrement: false;
|
|
592
|
+
hasRuntimeDefault: false;
|
|
593
|
+
enumValues: [string, ...string[]];
|
|
594
|
+
baseColumn: never;
|
|
595
|
+
identity: undefined;
|
|
596
|
+
generated: undefined;
|
|
597
|
+
}, {}, {}>;
|
|
581
598
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
582
599
|
name: "created_at";
|
|
583
600
|
tableName: "user_profiles";
|
|
@@ -632,6 +649,7 @@ export declare const insertUserProfileSchema: z.ZodObject<Omit<{
|
|
|
632
649
|
preferredMarketId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
633
650
|
cardToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
634
651
|
hubspotContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
652
|
+
hubspotOwnerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
635
653
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
636
654
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
637
655
|
}, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
|
|
@@ -650,6 +668,7 @@ export declare const insertUserProfileSchema: z.ZodObject<Omit<{
|
|
|
650
668
|
preferredMarketId?: string | null | undefined;
|
|
651
669
|
cardToken?: string | null | undefined;
|
|
652
670
|
hubspotContactId?: string | null | undefined;
|
|
671
|
+
hubspotOwnerId?: string | null | undefined;
|
|
653
672
|
}, {
|
|
654
673
|
userId: string;
|
|
655
674
|
name?: string | null | undefined;
|
|
@@ -666,6 +685,7 @@ export declare const insertUserProfileSchema: z.ZodObject<Omit<{
|
|
|
666
685
|
preferredMarketId?: string | null | undefined;
|
|
667
686
|
cardToken?: string | null | undefined;
|
|
668
687
|
hubspotContactId?: string | null | undefined;
|
|
688
|
+
hubspotOwnerId?: string | null | undefined;
|
|
669
689
|
}>;
|
|
670
690
|
export declare const updateUserProfileSchema: z.ZodObject<{
|
|
671
691
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -683,6 +703,7 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
683
703
|
preferredMarketId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
684
704
|
cardToken: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
685
705
|
hubspotContactId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
706
|
+
hubspotOwnerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
686
707
|
}, "strip", z.ZodTypeAny, {
|
|
687
708
|
name?: string | null | undefined;
|
|
688
709
|
phone?: string | null | undefined;
|
|
@@ -699,6 +720,7 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
699
720
|
preferredMarketId?: string | null | undefined;
|
|
700
721
|
cardToken?: string | null | undefined;
|
|
701
722
|
hubspotContactId?: string | null | undefined;
|
|
723
|
+
hubspotOwnerId?: string | null | undefined;
|
|
702
724
|
}, {
|
|
703
725
|
name?: string | null | undefined;
|
|
704
726
|
phone?: string | null | undefined;
|
|
@@ -715,6 +737,7 @@ export declare const updateUserProfileSchema: z.ZodObject<{
|
|
|
715
737
|
preferredMarketId?: string | null | undefined;
|
|
716
738
|
cardToken?: string | null | undefined;
|
|
717
739
|
hubspotContactId?: string | null | undefined;
|
|
740
|
+
hubspotOwnerId?: string | null | undefined;
|
|
718
741
|
}>;
|
|
719
742
|
export type UserProfile = typeof userProfiles.$inferSelect;
|
|
720
743
|
export type InsertUserProfile = z.infer<typeof insertUserProfileSchema>;
|
|
@@ -53917,6 +53940,40 @@ export declare const contracts: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
53917
53940
|
identity: undefined;
|
|
53918
53941
|
generated: undefined;
|
|
53919
53942
|
}, {}, {}>;
|
|
53943
|
+
termsUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
53944
|
+
name: "terms_url";
|
|
53945
|
+
tableName: "contracts";
|
|
53946
|
+
dataType: "string";
|
|
53947
|
+
columnType: "PgText";
|
|
53948
|
+
data: string;
|
|
53949
|
+
driverParam: string;
|
|
53950
|
+
notNull: false;
|
|
53951
|
+
hasDefault: false;
|
|
53952
|
+
isPrimaryKey: false;
|
|
53953
|
+
isAutoincrement: false;
|
|
53954
|
+
hasRuntimeDefault: false;
|
|
53955
|
+
enumValues: [string, ...string[]];
|
|
53956
|
+
baseColumn: never;
|
|
53957
|
+
identity: undefined;
|
|
53958
|
+
generated: undefined;
|
|
53959
|
+
}, {}, {}>;
|
|
53960
|
+
termsAddendum: import("drizzle-orm/pg-core").PgColumn<{
|
|
53961
|
+
name: "terms_addendum";
|
|
53962
|
+
tableName: "contracts";
|
|
53963
|
+
dataType: "string";
|
|
53964
|
+
columnType: "PgText";
|
|
53965
|
+
data: string;
|
|
53966
|
+
driverParam: string;
|
|
53967
|
+
notNull: false;
|
|
53968
|
+
hasDefault: false;
|
|
53969
|
+
isPrimaryKey: false;
|
|
53970
|
+
isAutoincrement: false;
|
|
53971
|
+
hasRuntimeDefault: false;
|
|
53972
|
+
enumValues: [string, ...string[]];
|
|
53973
|
+
baseColumn: never;
|
|
53974
|
+
identity: undefined;
|
|
53975
|
+
generated: undefined;
|
|
53976
|
+
}, {}, {}>;
|
|
53920
53977
|
signingStatus: import("drizzle-orm/pg-core").PgColumn<{
|
|
53921
53978
|
name: "signing_status";
|
|
53922
53979
|
tableName: "contracts";
|
|
@@ -54073,6 +54130,8 @@ export declare const insertContractSchema: z.ZodObject<Omit<{
|
|
|
54073
54130
|
actualMarginDollars: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54074
54131
|
orderCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54075
54132
|
lastRecalculatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
54133
|
+
termsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54134
|
+
termsAddendum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54076
54135
|
signingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54077
54136
|
sentForSigningAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
54078
54137
|
sentForSigningBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -54102,6 +54161,8 @@ export declare const insertContractSchema: z.ZodObject<Omit<{
|
|
|
54102
54161
|
productAllocations?: ContractProductAllocation[] | null | undefined;
|
|
54103
54162
|
projectedMarginPct?: number | null | undefined;
|
|
54104
54163
|
projectedMarginDollars?: string | null | undefined;
|
|
54164
|
+
termsUrl?: string | null | undefined;
|
|
54165
|
+
termsAddendum?: string | null | undefined;
|
|
54105
54166
|
signingStatus?: string | null | undefined;
|
|
54106
54167
|
sentForSigningAt?: Date | null | undefined;
|
|
54107
54168
|
sentForSigningBy?: string | null | undefined;
|
|
@@ -54127,6 +54188,8 @@ export declare const insertContractSchema: z.ZodObject<Omit<{
|
|
|
54127
54188
|
productAllocations?: ContractProductAllocation[] | null | undefined;
|
|
54128
54189
|
projectedMarginPct?: number | null | undefined;
|
|
54129
54190
|
projectedMarginDollars?: string | null | undefined;
|
|
54191
|
+
termsUrl?: string | null | undefined;
|
|
54192
|
+
termsAddendum?: string | null | undefined;
|
|
54130
54193
|
signingStatus?: string | null | undefined;
|
|
54131
54194
|
sentForSigningAt?: Date | null | undefined;
|
|
54132
54195
|
sentForSigningBy?: string | null | undefined;
|
|
@@ -54153,6 +54216,8 @@ export declare const updateContractSchema: z.ZodObject<{
|
|
|
54153
54216
|
productAllocations: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ContractProductAllocation[], z.ZodTypeDef, ContractProductAllocation[]>>>>;
|
|
54154
54217
|
projectedMarginPct: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
54155
54218
|
projectedMarginDollars: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
54219
|
+
termsUrl: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
54220
|
+
termsAddendum: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
54156
54221
|
signingStatus: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
54157
54222
|
sentForSigningAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDate>>>;
|
|
54158
54223
|
sentForSigningBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -54178,6 +54243,8 @@ export declare const updateContractSchema: z.ZodObject<{
|
|
|
54178
54243
|
productAllocations?: ContractProductAllocation[] | null | undefined;
|
|
54179
54244
|
projectedMarginPct?: number | null | undefined;
|
|
54180
54245
|
projectedMarginDollars?: string | null | undefined;
|
|
54246
|
+
termsUrl?: string | null | undefined;
|
|
54247
|
+
termsAddendum?: string | null | undefined;
|
|
54181
54248
|
signingStatus?: string | null | undefined;
|
|
54182
54249
|
sentForSigningAt?: Date | null | undefined;
|
|
54183
54250
|
sentForSigningBy?: string | null | undefined;
|
|
@@ -54203,6 +54270,8 @@ export declare const updateContractSchema: z.ZodObject<{
|
|
|
54203
54270
|
productAllocations?: ContractProductAllocation[] | null | undefined;
|
|
54204
54271
|
projectedMarginPct?: number | null | undefined;
|
|
54205
54272
|
projectedMarginDollars?: string | null | undefined;
|
|
54273
|
+
termsUrl?: string | null | undefined;
|
|
54274
|
+
termsAddendum?: string | null | undefined;
|
|
54206
54275
|
signingStatus?: string | null | undefined;
|
|
54207
54276
|
sentForSigningAt?: Date | null | undefined;
|
|
54208
54277
|
sentForSigningBy?: string | null | undefined;
|