@foundrynorth/compass-schema 1.0.15 → 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/LICENSE +4 -0
- package/dist/schema.d.ts +105 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +10 -0
- package/dist/schema.js.map +1 -1
- package/package.json +2 -1
- package/src/schema.ts +11 -0
package/LICENSE
ADDED
package/dist/schema.d.ts
CHANGED
|
@@ -38773,6 +38773,42 @@ export declare const stribProducts: import("drizzle-orm/pg-core").PgTableWithCol
|
|
|
38773
38773
|
identity: undefined;
|
|
38774
38774
|
generated: undefined;
|
|
38775
38775
|
}, {}, {}>;
|
|
38776
|
+
previousSku: import("drizzle-orm/pg-core").PgColumn<{
|
|
38777
|
+
name: "previous_sku";
|
|
38778
|
+
tableName: "strib_products";
|
|
38779
|
+
dataType: "number";
|
|
38780
|
+
columnType: "PgInteger";
|
|
38781
|
+
data: number;
|
|
38782
|
+
driverParam: string | number;
|
|
38783
|
+
notNull: false;
|
|
38784
|
+
hasDefault: false;
|
|
38785
|
+
isPrimaryKey: false;
|
|
38786
|
+
isAutoincrement: false;
|
|
38787
|
+
hasRuntimeDefault: false;
|
|
38788
|
+
enumValues: undefined;
|
|
38789
|
+
baseColumn: never;
|
|
38790
|
+
identity: undefined;
|
|
38791
|
+
generated: undefined;
|
|
38792
|
+
}, {}, {}>;
|
|
38793
|
+
navigaPreviousProductId: import("drizzle-orm/pg-core").PgColumn<{
|
|
38794
|
+
name: "naviga_previous_product_id";
|
|
38795
|
+
tableName: "strib_products";
|
|
38796
|
+
dataType: "string";
|
|
38797
|
+
columnType: "PgVarchar";
|
|
38798
|
+
data: string;
|
|
38799
|
+
driverParam: string;
|
|
38800
|
+
notNull: false;
|
|
38801
|
+
hasDefault: false;
|
|
38802
|
+
isPrimaryKey: false;
|
|
38803
|
+
isAutoincrement: false;
|
|
38804
|
+
hasRuntimeDefault: false;
|
|
38805
|
+
enumValues: [string, ...string[]];
|
|
38806
|
+
baseColumn: never;
|
|
38807
|
+
identity: undefined;
|
|
38808
|
+
generated: undefined;
|
|
38809
|
+
}, {}, {
|
|
38810
|
+
length: number | undefined;
|
|
38811
|
+
}>;
|
|
38776
38812
|
hubspotProductName: import("drizzle-orm/pg-core").PgColumn<{
|
|
38777
38813
|
name: "hubspot_product_name";
|
|
38778
38814
|
tableName: "strib_products";
|
|
@@ -39510,6 +39546,8 @@ export declare const insertStribProductSchema: z.ZodObject<Omit<{
|
|
|
39510
39546
|
multiRunSku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39511
39547
|
multiRunRatecardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39512
39548
|
packageComponents: z.ZodOptional<z.ZodNullable<z.ZodType<import("drizzle-zod").Json, z.ZodTypeDef, import("drizzle-zod").Json>>>;
|
|
39549
|
+
previousSku: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39550
|
+
navigaPreviousProductId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39513
39551
|
hubspotProductName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39514
39552
|
hubspotProductId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39515
39553
|
dealhubStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39575,6 +39613,8 @@ export declare const insertStribProductSchema: z.ZodObject<Omit<{
|
|
|
39575
39613
|
multiRunSku?: string | null | undefined;
|
|
39576
39614
|
multiRunRatecardId?: string | null | undefined;
|
|
39577
39615
|
packageComponents?: import("drizzle-zod").Json | undefined;
|
|
39616
|
+
previousSku?: number | null | undefined;
|
|
39617
|
+
navigaPreviousProductId?: string | null | undefined;
|
|
39578
39618
|
hubspotProductName?: string | null | undefined;
|
|
39579
39619
|
dealhubStatus?: string | null | undefined;
|
|
39580
39620
|
hubspotWorkflowStatus?: string | null | undefined;
|
|
@@ -39622,6 +39662,8 @@ export declare const insertStribProductSchema: z.ZodObject<Omit<{
|
|
|
39622
39662
|
multiRunSku?: string | null | undefined;
|
|
39623
39663
|
multiRunRatecardId?: string | null | undefined;
|
|
39624
39664
|
packageComponents?: import("drizzle-zod").Json | undefined;
|
|
39665
|
+
previousSku?: number | null | undefined;
|
|
39666
|
+
navigaPreviousProductId?: string | null | undefined;
|
|
39625
39667
|
hubspotProductName?: string | null | undefined;
|
|
39626
39668
|
dealhubStatus?: string | null | undefined;
|
|
39627
39669
|
hubspotWorkflowStatus?: string | null | undefined;
|
|
@@ -39669,6 +39711,8 @@ export declare const updateStribProductSchema: z.ZodObject<{
|
|
|
39669
39711
|
multiRunSku: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
39670
39712
|
multiRunRatecardId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
39671
39713
|
packageComponents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<import("drizzle-zod").Json, z.ZodTypeDef, import("drizzle-zod").Json>>>>;
|
|
39714
|
+
previousSku: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
39715
|
+
navigaPreviousProductId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
39672
39716
|
hubspotProductName: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
39673
39717
|
dealhubStatus: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
39674
39718
|
hubspotWorkflowStatus: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -39716,6 +39760,8 @@ export declare const updateStribProductSchema: z.ZodObject<{
|
|
|
39716
39760
|
multiRunSku?: string | null | undefined;
|
|
39717
39761
|
multiRunRatecardId?: string | null | undefined;
|
|
39718
39762
|
packageComponents?: import("drizzle-zod").Json | undefined;
|
|
39763
|
+
previousSku?: number | null | undefined;
|
|
39764
|
+
navigaPreviousProductId?: string | null | undefined;
|
|
39719
39765
|
hubspotProductName?: string | null | undefined;
|
|
39720
39766
|
dealhubStatus?: string | null | undefined;
|
|
39721
39767
|
hubspotWorkflowStatus?: string | null | undefined;
|
|
@@ -39763,6 +39809,8 @@ export declare const updateStribProductSchema: z.ZodObject<{
|
|
|
39763
39809
|
multiRunSku?: string | null | undefined;
|
|
39764
39810
|
multiRunRatecardId?: string | null | undefined;
|
|
39765
39811
|
packageComponents?: import("drizzle-zod").Json | undefined;
|
|
39812
|
+
previousSku?: number | null | undefined;
|
|
39813
|
+
navigaPreviousProductId?: string | null | undefined;
|
|
39766
39814
|
hubspotProductName?: string | null | undefined;
|
|
39767
39815
|
dealhubStatus?: string | null | undefined;
|
|
39768
39816
|
hubspotWorkflowStatus?: string | null | undefined;
|
|
@@ -55400,6 +55448,59 @@ export declare const contracts: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
55400
55448
|
}, {}, {
|
|
55401
55449
|
length: number | undefined;
|
|
55402
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
|
+
}>;
|
|
55403
55504
|
notes: import("drizzle-orm/pg-core").PgColumn<{
|
|
55404
55505
|
name: "notes";
|
|
55405
55506
|
tableName: "contracts";
|
|
@@ -55506,11 +55607,14 @@ export declare const insertContractSchema: z.ZodObject<Omit<{
|
|
|
55506
55607
|
signingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55507
55608
|
sentForSigningAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
55508
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>>;
|
|
55509
55613
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55510
55614
|
createdByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55511
55615
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
55512
55616
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
55513
|
-
}, "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, {
|
|
55514
55618
|
name: string;
|
|
55515
55619
|
hubspotCompanyId: string;
|
|
55516
55620
|
tierCode: string;
|