@foundrynorth/compass-schema 1.0.4 → 1.0.6
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 +1014 -21
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +144 -0
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -35816,6 +35816,25 @@ export declare const mediaOrderLineItems: import("drizzle-orm/pg-core").PgTableW
|
|
|
35816
35816
|
}, {}, {
|
|
35817
35817
|
length: number | undefined;
|
|
35818
35818
|
}>;
|
|
35819
|
+
simplifiCampaignId: import("drizzle-orm/pg-core").PgColumn<{
|
|
35820
|
+
name: "simplifi_campaign_id";
|
|
35821
|
+
tableName: "media_order_line_items";
|
|
35822
|
+
dataType: "string";
|
|
35823
|
+
columnType: "PgVarchar";
|
|
35824
|
+
data: string;
|
|
35825
|
+
driverParam: string;
|
|
35826
|
+
notNull: false;
|
|
35827
|
+
hasDefault: false;
|
|
35828
|
+
isPrimaryKey: false;
|
|
35829
|
+
isAutoincrement: false;
|
|
35830
|
+
hasRuntimeDefault: false;
|
|
35831
|
+
enumValues: [string, ...string[]];
|
|
35832
|
+
baseColumn: never;
|
|
35833
|
+
identity: undefined;
|
|
35834
|
+
generated: undefined;
|
|
35835
|
+
}, {}, {
|
|
35836
|
+
length: number | undefined;
|
|
35837
|
+
}>;
|
|
35819
35838
|
fulfillmentDetails: import("drizzle-orm/pg-core").PgColumn<{
|
|
35820
35839
|
name: "fulfillment_details";
|
|
35821
35840
|
tableName: "media_order_line_items";
|
|
@@ -36000,6 +36019,7 @@ export declare const insertMediaOrderLineItemSchema: z.ZodObject<Omit<{
|
|
|
36000
36019
|
isSubFlight: z.ZodOptional<z.ZodNumber>;
|
|
36001
36020
|
datasysCountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36002
36021
|
datasysCampaignId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36022
|
+
simplifiCampaignId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36003
36023
|
fulfillmentDetails: z.ZodOptional<z.ZodNullable<z.ZodType<import("drizzle-zod").Json, z.ZodTypeDef, import("drizzle-zod").Json>>>;
|
|
36004
36024
|
creativeSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36005
36025
|
trafficKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -36064,6 +36084,7 @@ export declare const insertMediaOrderLineItemSchema: z.ZodObject<Omit<{
|
|
|
36064
36084
|
isSubFlight?: number | undefined;
|
|
36065
36085
|
datasysCountId?: string | null | undefined;
|
|
36066
36086
|
datasysCampaignId?: string | null | undefined;
|
|
36087
|
+
simplifiCampaignId?: string | null | undefined;
|
|
36067
36088
|
fulfillmentDetails?: import("drizzle-zod").Json | undefined;
|
|
36068
36089
|
creativeSource?: string | null | undefined;
|
|
36069
36090
|
trafficKey?: string | null | undefined;
|
|
@@ -36118,6 +36139,7 @@ export declare const insertMediaOrderLineItemSchema: z.ZodObject<Omit<{
|
|
|
36118
36139
|
isSubFlight?: number | undefined;
|
|
36119
36140
|
datasysCountId?: string | null | undefined;
|
|
36120
36141
|
datasysCampaignId?: string | null | undefined;
|
|
36142
|
+
simplifiCampaignId?: string | null | undefined;
|
|
36121
36143
|
fulfillmentDetails?: import("drizzle-zod").Json | undefined;
|
|
36122
36144
|
creativeSource?: string | null | undefined;
|
|
36123
36145
|
trafficKey?: string | null | undefined;
|
|
@@ -36173,6 +36195,7 @@ export declare const updateMediaOrderLineItemSchema: z.ZodObject<{
|
|
|
36173
36195
|
isSubFlight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
36174
36196
|
datasysCountId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
36175
36197
|
datasysCampaignId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
36198
|
+
simplifiCampaignId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
36176
36199
|
fulfillmentDetails: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<import("drizzle-zod").Json, z.ZodTypeDef, import("drizzle-zod").Json>>>>;
|
|
36177
36200
|
creativeSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
36178
36201
|
trafficKey: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -36235,6 +36258,7 @@ export declare const updateMediaOrderLineItemSchema: z.ZodObject<{
|
|
|
36235
36258
|
isSubFlight?: number | undefined;
|
|
36236
36259
|
datasysCountId?: string | null | undefined;
|
|
36237
36260
|
datasysCampaignId?: string | null | undefined;
|
|
36261
|
+
simplifiCampaignId?: string | null | undefined;
|
|
36238
36262
|
fulfillmentDetails?: import("drizzle-zod").Json | undefined;
|
|
36239
36263
|
creativeSource?: string | null | undefined;
|
|
36240
36264
|
trafficKey?: string | null | undefined;
|
|
@@ -36289,6 +36313,7 @@ export declare const updateMediaOrderLineItemSchema: z.ZodObject<{
|
|
|
36289
36313
|
isSubFlight?: number | undefined;
|
|
36290
36314
|
datasysCountId?: string | null | undefined;
|
|
36291
36315
|
datasysCampaignId?: string | null | undefined;
|
|
36316
|
+
simplifiCampaignId?: string | null | undefined;
|
|
36292
36317
|
fulfillmentDetails?: import("drizzle-zod").Json | undefined;
|
|
36293
36318
|
creativeSource?: string | null | undefined;
|
|
36294
36319
|
trafficKey?: string | null | undefined;
|
|
@@ -52282,7 +52307,7 @@ export type InsertDatasysDeployment = z.infer<typeof insertDatasysDeploymentSche
|
|
|
52282
52307
|
* Supported programmatic vendors.
|
|
52283
52308
|
* Extensible as new DSPs are added (e.g., DV360, Xandr).
|
|
52284
52309
|
*/
|
|
52285
|
-
export declare const programmaticVendorEnum: import("drizzle-orm/pg-core").PgEnum<["ttd", "datasys"]>;
|
|
52310
|
+
export declare const programmaticVendorEnum: import("drizzle-orm/pg-core").PgEnum<["ttd", "datasys", "simpli_fi"]>;
|
|
52286
52311
|
/**
|
|
52287
52312
|
* Account readiness status for a vendor.
|
|
52288
52313
|
*/
|
|
@@ -52340,14 +52365,14 @@ export declare const programmaticAccountMappings: import("drizzle-orm/pg-core").
|
|
|
52340
52365
|
tableName: "programmatic_account_mappings";
|
|
52341
52366
|
dataType: "string";
|
|
52342
52367
|
columnType: "PgEnumColumn";
|
|
52343
|
-
data: "ttd" | "datasys";
|
|
52368
|
+
data: "ttd" | "datasys" | "simpli_fi";
|
|
52344
52369
|
driverParam: string;
|
|
52345
52370
|
notNull: true;
|
|
52346
52371
|
hasDefault: false;
|
|
52347
52372
|
isPrimaryKey: false;
|
|
52348
52373
|
isAutoincrement: false;
|
|
52349
52374
|
hasRuntimeDefault: false;
|
|
52350
|
-
enumValues: ["ttd", "datasys"];
|
|
52375
|
+
enumValues: ["ttd", "datasys", "simpli_fi"];
|
|
52351
52376
|
baseColumn: never;
|
|
52352
52377
|
identity: undefined;
|
|
52353
52378
|
generated: undefined;
|
|
@@ -52496,7 +52521,7 @@ export declare const programmaticAccountMappings: import("drizzle-orm/pg-core").
|
|
|
52496
52521
|
export declare const insertProgrammaticAccountMappingSchema: z.ZodObject<Omit<{
|
|
52497
52522
|
id: z.ZodOptional<z.ZodString>;
|
|
52498
52523
|
hubspotCompanyId: z.ZodString;
|
|
52499
|
-
vendor: z.ZodEnum<["ttd", "datasys"]>;
|
|
52524
|
+
vendor: z.ZodEnum<["ttd", "datasys", "simpli_fi"]>;
|
|
52500
52525
|
vendorAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52501
52526
|
vendorAdvertiserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52502
52527
|
seedId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52507,7 +52532,7 @@ export declare const insertProgrammaticAccountMappingSchema: z.ZodObject<Omit<{
|
|
|
52507
52532
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
52508
52533
|
}, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
|
|
52509
52534
|
hubspotCompanyId: string;
|
|
52510
|
-
vendor: "ttd" | "datasys";
|
|
52535
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
52511
52536
|
status?: "active" | "needs_mapping" | "needs_onboarding" | "unavailable" | undefined;
|
|
52512
52537
|
vendorAccountId?: string | null | undefined;
|
|
52513
52538
|
vendorAdvertiserId?: string | null | undefined;
|
|
@@ -52516,7 +52541,7 @@ export declare const insertProgrammaticAccountMappingSchema: z.ZodObject<Omit<{
|
|
|
52516
52541
|
lastVerifiedAt?: Date | null | undefined;
|
|
52517
52542
|
}, {
|
|
52518
52543
|
hubspotCompanyId: string;
|
|
52519
|
-
vendor: "ttd" | "datasys";
|
|
52544
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
52520
52545
|
status?: "active" | "needs_mapping" | "needs_onboarding" | "unavailable" | undefined;
|
|
52521
52546
|
vendorAccountId?: string | null | undefined;
|
|
52522
52547
|
vendorAdvertiserId?: string | null | undefined;
|
|
@@ -52559,14 +52584,14 @@ export declare const programmaticCatalogCache: import("drizzle-orm/pg-core").PgT
|
|
|
52559
52584
|
tableName: "programmatic_catalog_cache";
|
|
52560
52585
|
dataType: "string";
|
|
52561
52586
|
columnType: "PgEnumColumn";
|
|
52562
|
-
data: "ttd" | "datasys";
|
|
52587
|
+
data: "ttd" | "datasys" | "simpli_fi";
|
|
52563
52588
|
driverParam: string;
|
|
52564
52589
|
notNull: true;
|
|
52565
52590
|
hasDefault: false;
|
|
52566
52591
|
isPrimaryKey: false;
|
|
52567
52592
|
isAutoincrement: false;
|
|
52568
52593
|
hasRuntimeDefault: false;
|
|
52569
|
-
enumValues: ["ttd", "datasys"];
|
|
52594
|
+
enumValues: ["ttd", "datasys", "simpli_fi"];
|
|
52570
52595
|
baseColumn: never;
|
|
52571
52596
|
identity: undefined;
|
|
52572
52597
|
generated: undefined;
|
|
@@ -52765,7 +52790,7 @@ export declare const programmaticCatalogCache: import("drizzle-orm/pg-core").PgT
|
|
|
52765
52790
|
}>;
|
|
52766
52791
|
export declare const insertProgrammaticCatalogCacheSchema: z.ZodObject<Omit<{
|
|
52767
52792
|
id: z.ZodOptional<z.ZodString>;
|
|
52768
|
-
vendor: z.ZodEnum<["ttd", "datasys"]>;
|
|
52793
|
+
vendor: z.ZodEnum<["ttd", "datasys", "simpli_fi"]>;
|
|
52769
52794
|
vendorSegmentId: z.ZodString;
|
|
52770
52795
|
label: z.ZodString;
|
|
52771
52796
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52779,7 +52804,7 @@ export declare const insertProgrammaticCatalogCacheSchema: z.ZodObject<Omit<{
|
|
|
52779
52804
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
52780
52805
|
}, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
|
|
52781
52806
|
label: string;
|
|
52782
|
-
vendor: "ttd" | "datasys";
|
|
52807
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
52783
52808
|
vendorSegmentId: string;
|
|
52784
52809
|
category?: string | null | undefined;
|
|
52785
52810
|
lastRefreshedAt?: Date | undefined;
|
|
@@ -52790,7 +52815,7 @@ export declare const insertProgrammaticCatalogCacheSchema: z.ZodObject<Omit<{
|
|
|
52790
52815
|
costIndex?: string | null | undefined;
|
|
52791
52816
|
}, {
|
|
52792
52817
|
label: string;
|
|
52793
|
-
vendor: "ttd" | "datasys";
|
|
52818
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
52794
52819
|
vendorSegmentId: string;
|
|
52795
52820
|
category?: string | null | undefined;
|
|
52796
52821
|
lastRefreshedAt?: Date | undefined;
|
|
@@ -52872,14 +52897,14 @@ export declare const programmaticRecommendationRuns: import("drizzle-orm/pg-core
|
|
|
52872
52897
|
tableName: "programmatic_recommendation_runs";
|
|
52873
52898
|
dataType: "string";
|
|
52874
52899
|
columnType: "PgEnumColumn";
|
|
52875
|
-
data: "ttd" | "datasys";
|
|
52900
|
+
data: "ttd" | "datasys" | "simpli_fi";
|
|
52876
52901
|
driverParam: string;
|
|
52877
52902
|
notNull: true;
|
|
52878
52903
|
hasDefault: false;
|
|
52879
52904
|
isPrimaryKey: false;
|
|
52880
52905
|
isAutoincrement: false;
|
|
52881
52906
|
hasRuntimeDefault: false;
|
|
52882
|
-
enumValues: ["ttd", "datasys"];
|
|
52907
|
+
enumValues: ["ttd", "datasys", "simpli_fi"];
|
|
52883
52908
|
baseColumn: never;
|
|
52884
52909
|
identity: undefined;
|
|
52885
52910
|
generated: undefined;
|
|
@@ -52963,21 +52988,21 @@ export declare const insertProgrammaticRecommendationRunSchema: z.ZodObject<Omit
|
|
|
52963
52988
|
id: z.ZodOptional<z.ZodString>;
|
|
52964
52989
|
mediaOrderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52965
52990
|
lineItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52966
|
-
vendor: z.ZodEnum<["ttd", "datasys"]>;
|
|
52991
|
+
vendor: z.ZodEnum<["ttd", "datasys", "simpli_fi"]>;
|
|
52967
52992
|
requestParams: z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>;
|
|
52968
52993
|
results: z.ZodType<Record<string, unknown>[], z.ZodTypeDef, Record<string, unknown>[]>;
|
|
52969
52994
|
correlationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52970
52995
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
52971
52996
|
}, "id" | "createdAt">, "strip", z.ZodTypeAny, {
|
|
52972
52997
|
results: Record<string, unknown>[];
|
|
52973
|
-
vendor: "ttd" | "datasys";
|
|
52998
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
52974
52999
|
requestParams: Record<string, unknown>;
|
|
52975
53000
|
mediaOrderId?: string | null | undefined;
|
|
52976
53001
|
lineItemId?: string | null | undefined;
|
|
52977
53002
|
correlationId?: string | null | undefined;
|
|
52978
53003
|
}, {
|
|
52979
53004
|
results: Record<string, unknown>[];
|
|
52980
|
-
vendor: "ttd" | "datasys";
|
|
53005
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
52981
53006
|
requestParams: Record<string, unknown>;
|
|
52982
53007
|
mediaOrderId?: string | null | undefined;
|
|
52983
53008
|
lineItemId?: string | null | undefined;
|
|
@@ -53052,14 +53077,14 @@ export declare const programmaticSegmentEquivalences: import("drizzle-orm/pg-cor
|
|
|
53052
53077
|
tableName: "programmatic_segment_equivalences";
|
|
53053
53078
|
dataType: "string";
|
|
53054
53079
|
columnType: "PgEnumColumn";
|
|
53055
|
-
data: "ttd" | "datasys";
|
|
53080
|
+
data: "ttd" | "datasys" | "simpli_fi";
|
|
53056
53081
|
driverParam: string;
|
|
53057
53082
|
notNull: true;
|
|
53058
53083
|
hasDefault: false;
|
|
53059
53084
|
isPrimaryKey: false;
|
|
53060
53085
|
isAutoincrement: false;
|
|
53061
53086
|
hasRuntimeDefault: false;
|
|
53062
|
-
enumValues: ["ttd", "datasys"];
|
|
53087
|
+
enumValues: ["ttd", "datasys", "simpli_fi"];
|
|
53063
53088
|
baseColumn: never;
|
|
53064
53089
|
identity: undefined;
|
|
53065
53090
|
generated: undefined;
|
|
@@ -53224,7 +53249,7 @@ export declare const insertProgrammaticSegmentEquivalenceSchema: z.ZodObject<Omi
|
|
|
53224
53249
|
id: z.ZodOptional<z.ZodString>;
|
|
53225
53250
|
canonicalIntentId: z.ZodString;
|
|
53226
53251
|
canonicalLabel: z.ZodString;
|
|
53227
|
-
vendor: z.ZodEnum<["ttd", "datasys"]>;
|
|
53252
|
+
vendor: z.ZodEnum<["ttd", "datasys", "simpli_fi"]>;
|
|
53228
53253
|
vendorSegmentId: z.ZodString;
|
|
53229
53254
|
vendorSegmentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53230
53255
|
matchType: z.ZodEnum<["exact", "approximate", "none"]>;
|
|
@@ -53235,7 +53260,7 @@ export declare const insertProgrammaticSegmentEquivalenceSchema: z.ZodObject<Omi
|
|
|
53235
53260
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
53236
53261
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
53237
53262
|
}, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
|
|
53238
|
-
vendor: "ttd" | "datasys";
|
|
53263
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
53239
53264
|
vendorSegmentId: string;
|
|
53240
53265
|
canonicalIntentId: string;
|
|
53241
53266
|
canonicalLabel: string;
|
|
@@ -53246,7 +53271,7 @@ export declare const insertProgrammaticSegmentEquivalenceSchema: z.ZodObject<Omi
|
|
|
53246
53271
|
vendorSegmentLabel?: string | null | undefined;
|
|
53247
53272
|
fitScore?: number | null | undefined;
|
|
53248
53273
|
}, {
|
|
53249
|
-
vendor: "ttd" | "datasys";
|
|
53274
|
+
vendor: "ttd" | "datasys" | "simpli_fi";
|
|
53250
53275
|
vendorSegmentId: string;
|
|
53251
53276
|
canonicalIntentId: string;
|
|
53252
53277
|
canonicalLabel: string;
|
|
@@ -60224,4 +60249,972 @@ export declare const geoTargets: import("drizzle-orm/pg-core").PgTableWithColumn
|
|
|
60224
60249
|
}>;
|
|
60225
60250
|
export type DbGeoTarget = typeof geoTargets.$inferSelect;
|
|
60226
60251
|
export type DbGeoTargetInsert = typeof geoTargets.$inferInsert;
|
|
60252
|
+
export declare const businessIntelCache: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
60253
|
+
name: "business_intel_cache";
|
|
60254
|
+
schema: undefined;
|
|
60255
|
+
columns: {
|
|
60256
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
60257
|
+
name: "id";
|
|
60258
|
+
tableName: "business_intel_cache";
|
|
60259
|
+
dataType: "string";
|
|
60260
|
+
columnType: "PgUUID";
|
|
60261
|
+
data: string;
|
|
60262
|
+
driverParam: string;
|
|
60263
|
+
notNull: true;
|
|
60264
|
+
hasDefault: true;
|
|
60265
|
+
isPrimaryKey: true;
|
|
60266
|
+
isAutoincrement: false;
|
|
60267
|
+
hasRuntimeDefault: false;
|
|
60268
|
+
enumValues: undefined;
|
|
60269
|
+
baseColumn: never;
|
|
60270
|
+
identity: undefined;
|
|
60271
|
+
generated: undefined;
|
|
60272
|
+
}, {}, {}>;
|
|
60273
|
+
partnerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60274
|
+
name: "partner_id";
|
|
60275
|
+
tableName: "business_intel_cache";
|
|
60276
|
+
dataType: "string";
|
|
60277
|
+
columnType: "PgVarchar";
|
|
60278
|
+
data: string;
|
|
60279
|
+
driverParam: string;
|
|
60280
|
+
notNull: false;
|
|
60281
|
+
hasDefault: false;
|
|
60282
|
+
isPrimaryKey: false;
|
|
60283
|
+
isAutoincrement: false;
|
|
60284
|
+
hasRuntimeDefault: false;
|
|
60285
|
+
enumValues: [string, ...string[]];
|
|
60286
|
+
baseColumn: never;
|
|
60287
|
+
identity: undefined;
|
|
60288
|
+
generated: undefined;
|
|
60289
|
+
}, {}, {
|
|
60290
|
+
length: number | undefined;
|
|
60291
|
+
}>;
|
|
60292
|
+
domain: import("drizzle-orm/pg-core").PgColumn<{
|
|
60293
|
+
name: "domain";
|
|
60294
|
+
tableName: "business_intel_cache";
|
|
60295
|
+
dataType: "string";
|
|
60296
|
+
columnType: "PgText";
|
|
60297
|
+
data: string;
|
|
60298
|
+
driverParam: string;
|
|
60299
|
+
notNull: false;
|
|
60300
|
+
hasDefault: false;
|
|
60301
|
+
isPrimaryKey: false;
|
|
60302
|
+
isAutoincrement: false;
|
|
60303
|
+
hasRuntimeDefault: false;
|
|
60304
|
+
enumValues: [string, ...string[]];
|
|
60305
|
+
baseColumn: never;
|
|
60306
|
+
identity: undefined;
|
|
60307
|
+
generated: undefined;
|
|
60308
|
+
}, {}, {}>;
|
|
60309
|
+
hubspotCompanyId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60310
|
+
name: "hubspot_company_id";
|
|
60311
|
+
tableName: "business_intel_cache";
|
|
60312
|
+
dataType: "string";
|
|
60313
|
+
columnType: "PgText";
|
|
60314
|
+
data: string;
|
|
60315
|
+
driverParam: string;
|
|
60316
|
+
notNull: false;
|
|
60317
|
+
hasDefault: false;
|
|
60318
|
+
isPrimaryKey: false;
|
|
60319
|
+
isAutoincrement: false;
|
|
60320
|
+
hasRuntimeDefault: false;
|
|
60321
|
+
enumValues: [string, ...string[]];
|
|
60322
|
+
baseColumn: never;
|
|
60323
|
+
identity: undefined;
|
|
60324
|
+
generated: undefined;
|
|
60325
|
+
}, {}, {}>;
|
|
60326
|
+
clientName: import("drizzle-orm/pg-core").PgColumn<{
|
|
60327
|
+
name: "client_name";
|
|
60328
|
+
tableName: "business_intel_cache";
|
|
60329
|
+
dataType: "string";
|
|
60330
|
+
columnType: "PgText";
|
|
60331
|
+
data: string;
|
|
60332
|
+
driverParam: string;
|
|
60333
|
+
notNull: false;
|
|
60334
|
+
hasDefault: false;
|
|
60335
|
+
isPrimaryKey: false;
|
|
60336
|
+
isAutoincrement: false;
|
|
60337
|
+
hasRuntimeDefault: false;
|
|
60338
|
+
enumValues: [string, ...string[]];
|
|
60339
|
+
baseColumn: never;
|
|
60340
|
+
identity: undefined;
|
|
60341
|
+
generated: undefined;
|
|
60342
|
+
}, {}, {}>;
|
|
60343
|
+
quickEnrichData: import("drizzle-orm/pg-core").PgColumn<{
|
|
60344
|
+
name: "quick_enrich_data";
|
|
60345
|
+
tableName: "business_intel_cache";
|
|
60346
|
+
dataType: "json";
|
|
60347
|
+
columnType: "PgJsonb";
|
|
60348
|
+
data: unknown;
|
|
60349
|
+
driverParam: unknown;
|
|
60350
|
+
notNull: false;
|
|
60351
|
+
hasDefault: false;
|
|
60352
|
+
isPrimaryKey: false;
|
|
60353
|
+
isAutoincrement: false;
|
|
60354
|
+
hasRuntimeDefault: false;
|
|
60355
|
+
enumValues: undefined;
|
|
60356
|
+
baseColumn: never;
|
|
60357
|
+
identity: undefined;
|
|
60358
|
+
generated: undefined;
|
|
60359
|
+
}, {}, {}>;
|
|
60360
|
+
trueNorthHistory: import("drizzle-orm/pg-core").PgColumn<{
|
|
60361
|
+
name: "true_north_history";
|
|
60362
|
+
tableName: "business_intel_cache";
|
|
60363
|
+
dataType: "json";
|
|
60364
|
+
columnType: "PgJsonb";
|
|
60365
|
+
data: unknown;
|
|
60366
|
+
driverParam: unknown;
|
|
60367
|
+
notNull: false;
|
|
60368
|
+
hasDefault: false;
|
|
60369
|
+
isPrimaryKey: false;
|
|
60370
|
+
isAutoincrement: false;
|
|
60371
|
+
hasRuntimeDefault: false;
|
|
60372
|
+
enumValues: undefined;
|
|
60373
|
+
baseColumn: never;
|
|
60374
|
+
identity: undefined;
|
|
60375
|
+
generated: undefined;
|
|
60376
|
+
}, {}, {}>;
|
|
60377
|
+
contractTier: import("drizzle-orm/pg-core").PgColumn<{
|
|
60378
|
+
name: "contract_tier";
|
|
60379
|
+
tableName: "business_intel_cache";
|
|
60380
|
+
dataType: "string";
|
|
60381
|
+
columnType: "PgText";
|
|
60382
|
+
data: string;
|
|
60383
|
+
driverParam: string;
|
|
60384
|
+
notNull: false;
|
|
60385
|
+
hasDefault: false;
|
|
60386
|
+
isPrimaryKey: false;
|
|
60387
|
+
isAutoincrement: false;
|
|
60388
|
+
hasRuntimeDefault: false;
|
|
60389
|
+
enumValues: [string, ...string[]];
|
|
60390
|
+
baseColumn: never;
|
|
60391
|
+
identity: undefined;
|
|
60392
|
+
generated: undefined;
|
|
60393
|
+
}, {}, {}>;
|
|
60394
|
+
adActivity: import("drizzle-orm/pg-core").PgColumn<{
|
|
60395
|
+
name: "ad_activity";
|
|
60396
|
+
tableName: "business_intel_cache";
|
|
60397
|
+
dataType: "json";
|
|
60398
|
+
columnType: "PgJsonb";
|
|
60399
|
+
data: unknown;
|
|
60400
|
+
driverParam: unknown;
|
|
60401
|
+
notNull: false;
|
|
60402
|
+
hasDefault: false;
|
|
60403
|
+
isPrimaryKey: false;
|
|
60404
|
+
isAutoincrement: false;
|
|
60405
|
+
hasRuntimeDefault: false;
|
|
60406
|
+
enumValues: undefined;
|
|
60407
|
+
baseColumn: never;
|
|
60408
|
+
identity: undefined;
|
|
60409
|
+
generated: undefined;
|
|
60410
|
+
}, {}, {}>;
|
|
60411
|
+
seoSnapshot: import("drizzle-orm/pg-core").PgColumn<{
|
|
60412
|
+
name: "seo_snapshot";
|
|
60413
|
+
tableName: "business_intel_cache";
|
|
60414
|
+
dataType: "json";
|
|
60415
|
+
columnType: "PgJsonb";
|
|
60416
|
+
data: unknown;
|
|
60417
|
+
driverParam: unknown;
|
|
60418
|
+
notNull: false;
|
|
60419
|
+
hasDefault: false;
|
|
60420
|
+
isPrimaryKey: false;
|
|
60421
|
+
isAutoincrement: false;
|
|
60422
|
+
hasRuntimeDefault: false;
|
|
60423
|
+
enumValues: undefined;
|
|
60424
|
+
baseColumn: never;
|
|
60425
|
+
identity: undefined;
|
|
60426
|
+
generated: undefined;
|
|
60427
|
+
}, {}, {}>;
|
|
60428
|
+
techSignals: import("drizzle-orm/pg-core").PgColumn<{
|
|
60429
|
+
name: "tech_signals";
|
|
60430
|
+
tableName: "business_intel_cache";
|
|
60431
|
+
dataType: "json";
|
|
60432
|
+
columnType: "PgJsonb";
|
|
60433
|
+
data: unknown;
|
|
60434
|
+
driverParam: unknown;
|
|
60435
|
+
notNull: false;
|
|
60436
|
+
hasDefault: false;
|
|
60437
|
+
isPrimaryKey: false;
|
|
60438
|
+
isAutoincrement: false;
|
|
60439
|
+
hasRuntimeDefault: false;
|
|
60440
|
+
enumValues: undefined;
|
|
60441
|
+
baseColumn: never;
|
|
60442
|
+
identity: undefined;
|
|
60443
|
+
generated: undefined;
|
|
60444
|
+
}, {}, {}>;
|
|
60445
|
+
confidenceLevel: import("drizzle-orm/pg-core").PgColumn<{
|
|
60446
|
+
name: "confidence_level";
|
|
60447
|
+
tableName: "business_intel_cache";
|
|
60448
|
+
dataType: "string";
|
|
60449
|
+
columnType: "PgText";
|
|
60450
|
+
data: string;
|
|
60451
|
+
driverParam: string;
|
|
60452
|
+
notNull: false;
|
|
60453
|
+
hasDefault: false;
|
|
60454
|
+
isPrimaryKey: false;
|
|
60455
|
+
isAutoincrement: false;
|
|
60456
|
+
hasRuntimeDefault: false;
|
|
60457
|
+
enumValues: [string, ...string[]];
|
|
60458
|
+
baseColumn: never;
|
|
60459
|
+
identity: undefined;
|
|
60460
|
+
generated: undefined;
|
|
60461
|
+
}, {}, {}>;
|
|
60462
|
+
sources: import("drizzle-orm/pg-core").PgColumn<{
|
|
60463
|
+
name: "sources";
|
|
60464
|
+
tableName: "business_intel_cache";
|
|
60465
|
+
dataType: "array";
|
|
60466
|
+
columnType: "PgArray";
|
|
60467
|
+
data: string[];
|
|
60468
|
+
driverParam: string | string[];
|
|
60469
|
+
notNull: false;
|
|
60470
|
+
hasDefault: false;
|
|
60471
|
+
isPrimaryKey: false;
|
|
60472
|
+
isAutoincrement: false;
|
|
60473
|
+
hasRuntimeDefault: false;
|
|
60474
|
+
enumValues: [string, ...string[]];
|
|
60475
|
+
baseColumn: import("drizzle-orm").Column<{
|
|
60476
|
+
name: "sources";
|
|
60477
|
+
tableName: "business_intel_cache";
|
|
60478
|
+
dataType: "string";
|
|
60479
|
+
columnType: "PgText";
|
|
60480
|
+
data: string;
|
|
60481
|
+
driverParam: string;
|
|
60482
|
+
notNull: false;
|
|
60483
|
+
hasDefault: false;
|
|
60484
|
+
isPrimaryKey: false;
|
|
60485
|
+
isAutoincrement: false;
|
|
60486
|
+
hasRuntimeDefault: false;
|
|
60487
|
+
enumValues: [string, ...string[]];
|
|
60488
|
+
baseColumn: never;
|
|
60489
|
+
identity: undefined;
|
|
60490
|
+
generated: undefined;
|
|
60491
|
+
}, {}, {}>;
|
|
60492
|
+
identity: undefined;
|
|
60493
|
+
generated: undefined;
|
|
60494
|
+
}, {}, {
|
|
60495
|
+
baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
|
|
60496
|
+
name: "sources";
|
|
60497
|
+
dataType: "string";
|
|
60498
|
+
columnType: "PgText";
|
|
60499
|
+
data: string;
|
|
60500
|
+
enumValues: [string, ...string[]];
|
|
60501
|
+
driverParam: string;
|
|
60502
|
+
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
60503
|
+
size: undefined;
|
|
60504
|
+
}>;
|
|
60505
|
+
lastEnrichedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
60506
|
+
name: "last_enriched_at";
|
|
60507
|
+
tableName: "business_intel_cache";
|
|
60508
|
+
dataType: "date";
|
|
60509
|
+
columnType: "PgTimestamp";
|
|
60510
|
+
data: Date;
|
|
60511
|
+
driverParam: string;
|
|
60512
|
+
notNull: false;
|
|
60513
|
+
hasDefault: false;
|
|
60514
|
+
isPrimaryKey: false;
|
|
60515
|
+
isAutoincrement: false;
|
|
60516
|
+
hasRuntimeDefault: false;
|
|
60517
|
+
enumValues: undefined;
|
|
60518
|
+
baseColumn: never;
|
|
60519
|
+
identity: undefined;
|
|
60520
|
+
generated: undefined;
|
|
60521
|
+
}, {}, {}>;
|
|
60522
|
+
ttlExpiresAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
60523
|
+
name: "ttl_expires_at";
|
|
60524
|
+
tableName: "business_intel_cache";
|
|
60525
|
+
dataType: "date";
|
|
60526
|
+
columnType: "PgTimestamp";
|
|
60527
|
+
data: Date;
|
|
60528
|
+
driverParam: string;
|
|
60529
|
+
notNull: false;
|
|
60530
|
+
hasDefault: false;
|
|
60531
|
+
isPrimaryKey: false;
|
|
60532
|
+
isAutoincrement: false;
|
|
60533
|
+
hasRuntimeDefault: false;
|
|
60534
|
+
enumValues: undefined;
|
|
60535
|
+
baseColumn: never;
|
|
60536
|
+
identity: undefined;
|
|
60537
|
+
generated: undefined;
|
|
60538
|
+
}, {}, {}>;
|
|
60539
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
60540
|
+
name: "created_at";
|
|
60541
|
+
tableName: "business_intel_cache";
|
|
60542
|
+
dataType: "date";
|
|
60543
|
+
columnType: "PgTimestamp";
|
|
60544
|
+
data: Date;
|
|
60545
|
+
driverParam: string;
|
|
60546
|
+
notNull: true;
|
|
60547
|
+
hasDefault: true;
|
|
60548
|
+
isPrimaryKey: false;
|
|
60549
|
+
isAutoincrement: false;
|
|
60550
|
+
hasRuntimeDefault: false;
|
|
60551
|
+
enumValues: undefined;
|
|
60552
|
+
baseColumn: never;
|
|
60553
|
+
identity: undefined;
|
|
60554
|
+
generated: undefined;
|
|
60555
|
+
}, {}, {}>;
|
|
60556
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
60557
|
+
name: "updated_at";
|
|
60558
|
+
tableName: "business_intel_cache";
|
|
60559
|
+
dataType: "date";
|
|
60560
|
+
columnType: "PgTimestamp";
|
|
60561
|
+
data: Date;
|
|
60562
|
+
driverParam: string;
|
|
60563
|
+
notNull: true;
|
|
60564
|
+
hasDefault: true;
|
|
60565
|
+
isPrimaryKey: false;
|
|
60566
|
+
isAutoincrement: false;
|
|
60567
|
+
hasRuntimeDefault: false;
|
|
60568
|
+
enumValues: undefined;
|
|
60569
|
+
baseColumn: never;
|
|
60570
|
+
identity: undefined;
|
|
60571
|
+
generated: undefined;
|
|
60572
|
+
}, {}, {}>;
|
|
60573
|
+
};
|
|
60574
|
+
dialect: "pg";
|
|
60575
|
+
}>;
|
|
60576
|
+
export type BusinessIntelCache = typeof businessIntelCache.$inferSelect;
|
|
60577
|
+
export type BusinessIntelCacheInsert = typeof businessIntelCache.$inferInsert;
|
|
60578
|
+
export declare const simplifiCampaignStatusEnum: import("drizzle-orm/pg-core").PgEnum<["draft", "active", "paused", "ended", "error"]>;
|
|
60579
|
+
export declare const simplifiGeoFenceTypeEnum: import("drizzle-orm/pg-core").PgEnum<["addressable", "location", "conversion_zone", "event"]>;
|
|
60580
|
+
/**
|
|
60581
|
+
* simplifi_campaigns — Tracks campaigns pushed to Simpli.fi DSP.
|
|
60582
|
+
* One campaign per eligible line item.
|
|
60583
|
+
*/
|
|
60584
|
+
export declare const simplifiCampaigns: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
60585
|
+
name: "simplifi_campaigns";
|
|
60586
|
+
schema: undefined;
|
|
60587
|
+
columns: {
|
|
60588
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
60589
|
+
name: "id";
|
|
60590
|
+
tableName: "simplifi_campaigns";
|
|
60591
|
+
dataType: "string";
|
|
60592
|
+
columnType: "PgVarchar";
|
|
60593
|
+
data: string;
|
|
60594
|
+
driverParam: string;
|
|
60595
|
+
notNull: true;
|
|
60596
|
+
hasDefault: true;
|
|
60597
|
+
isPrimaryKey: true;
|
|
60598
|
+
isAutoincrement: false;
|
|
60599
|
+
hasRuntimeDefault: false;
|
|
60600
|
+
enumValues: [string, ...string[]];
|
|
60601
|
+
baseColumn: never;
|
|
60602
|
+
identity: undefined;
|
|
60603
|
+
generated: undefined;
|
|
60604
|
+
}, {}, {
|
|
60605
|
+
length: number | undefined;
|
|
60606
|
+
}>;
|
|
60607
|
+
simplifiCampaignId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60608
|
+
name: "simplifi_campaign_id";
|
|
60609
|
+
tableName: "simplifi_campaigns";
|
|
60610
|
+
dataType: "string";
|
|
60611
|
+
columnType: "PgText";
|
|
60612
|
+
data: string;
|
|
60613
|
+
driverParam: string;
|
|
60614
|
+
notNull: true;
|
|
60615
|
+
hasDefault: false;
|
|
60616
|
+
isPrimaryKey: false;
|
|
60617
|
+
isAutoincrement: false;
|
|
60618
|
+
hasRuntimeDefault: false;
|
|
60619
|
+
enumValues: [string, ...string[]];
|
|
60620
|
+
baseColumn: never;
|
|
60621
|
+
identity: undefined;
|
|
60622
|
+
generated: undefined;
|
|
60623
|
+
}, {}, {}>;
|
|
60624
|
+
organizationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60625
|
+
name: "organization_id";
|
|
60626
|
+
tableName: "simplifi_campaigns";
|
|
60627
|
+
dataType: "string";
|
|
60628
|
+
columnType: "PgText";
|
|
60629
|
+
data: string;
|
|
60630
|
+
driverParam: string;
|
|
60631
|
+
notNull: true;
|
|
60632
|
+
hasDefault: false;
|
|
60633
|
+
isPrimaryKey: false;
|
|
60634
|
+
isAutoincrement: false;
|
|
60635
|
+
hasRuntimeDefault: false;
|
|
60636
|
+
enumValues: [string, ...string[]];
|
|
60637
|
+
baseColumn: never;
|
|
60638
|
+
identity: undefined;
|
|
60639
|
+
generated: undefined;
|
|
60640
|
+
}, {}, {}>;
|
|
60641
|
+
campaignName: import("drizzle-orm/pg-core").PgColumn<{
|
|
60642
|
+
name: "campaign_name";
|
|
60643
|
+
tableName: "simplifi_campaigns";
|
|
60644
|
+
dataType: "string";
|
|
60645
|
+
columnType: "PgText";
|
|
60646
|
+
data: string;
|
|
60647
|
+
driverParam: string;
|
|
60648
|
+
notNull: true;
|
|
60649
|
+
hasDefault: false;
|
|
60650
|
+
isPrimaryKey: false;
|
|
60651
|
+
isAutoincrement: false;
|
|
60652
|
+
hasRuntimeDefault: false;
|
|
60653
|
+
enumValues: [string, ...string[]];
|
|
60654
|
+
baseColumn: never;
|
|
60655
|
+
identity: undefined;
|
|
60656
|
+
generated: undefined;
|
|
60657
|
+
}, {}, {}>;
|
|
60658
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
60659
|
+
name: "status";
|
|
60660
|
+
tableName: "simplifi_campaigns";
|
|
60661
|
+
dataType: "string";
|
|
60662
|
+
columnType: "PgEnumColumn";
|
|
60663
|
+
data: "active" | "draft" | "error" | "paused" | "ended";
|
|
60664
|
+
driverParam: string;
|
|
60665
|
+
notNull: true;
|
|
60666
|
+
hasDefault: true;
|
|
60667
|
+
isPrimaryKey: false;
|
|
60668
|
+
isAutoincrement: false;
|
|
60669
|
+
hasRuntimeDefault: false;
|
|
60670
|
+
enumValues: ["draft", "active", "paused", "ended", "error"];
|
|
60671
|
+
baseColumn: never;
|
|
60672
|
+
identity: undefined;
|
|
60673
|
+
generated: undefined;
|
|
60674
|
+
}, {}, {}>;
|
|
60675
|
+
mediaOrderId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60676
|
+
name: "media_order_id";
|
|
60677
|
+
tableName: "simplifi_campaigns";
|
|
60678
|
+
dataType: "string";
|
|
60679
|
+
columnType: "PgVarchar";
|
|
60680
|
+
data: string;
|
|
60681
|
+
driverParam: string;
|
|
60682
|
+
notNull: false;
|
|
60683
|
+
hasDefault: false;
|
|
60684
|
+
isPrimaryKey: false;
|
|
60685
|
+
isAutoincrement: false;
|
|
60686
|
+
hasRuntimeDefault: false;
|
|
60687
|
+
enumValues: [string, ...string[]];
|
|
60688
|
+
baseColumn: never;
|
|
60689
|
+
identity: undefined;
|
|
60690
|
+
generated: undefined;
|
|
60691
|
+
}, {}, {
|
|
60692
|
+
length: number | undefined;
|
|
60693
|
+
}>;
|
|
60694
|
+
lineItemId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60695
|
+
name: "line_item_id";
|
|
60696
|
+
tableName: "simplifi_campaigns";
|
|
60697
|
+
dataType: "string";
|
|
60698
|
+
columnType: "PgVarchar";
|
|
60699
|
+
data: string;
|
|
60700
|
+
driverParam: string;
|
|
60701
|
+
notNull: false;
|
|
60702
|
+
hasDefault: false;
|
|
60703
|
+
isPrimaryKey: false;
|
|
60704
|
+
isAutoincrement: false;
|
|
60705
|
+
hasRuntimeDefault: false;
|
|
60706
|
+
enumValues: [string, ...string[]];
|
|
60707
|
+
baseColumn: never;
|
|
60708
|
+
identity: undefined;
|
|
60709
|
+
generated: undefined;
|
|
60710
|
+
}, {}, {
|
|
60711
|
+
length: number | undefined;
|
|
60712
|
+
}>;
|
|
60713
|
+
totalBudget: import("drizzle-orm/pg-core").PgColumn<{
|
|
60714
|
+
name: "total_budget";
|
|
60715
|
+
tableName: "simplifi_campaigns";
|
|
60716
|
+
dataType: "string";
|
|
60717
|
+
columnType: "PgNumeric";
|
|
60718
|
+
data: string;
|
|
60719
|
+
driverParam: string;
|
|
60720
|
+
notNull: false;
|
|
60721
|
+
hasDefault: false;
|
|
60722
|
+
isPrimaryKey: false;
|
|
60723
|
+
isAutoincrement: false;
|
|
60724
|
+
hasRuntimeDefault: false;
|
|
60725
|
+
enumValues: undefined;
|
|
60726
|
+
baseColumn: never;
|
|
60727
|
+
identity: undefined;
|
|
60728
|
+
generated: undefined;
|
|
60729
|
+
}, {}, {}>;
|
|
60730
|
+
startDate: import("drizzle-orm/pg-core").PgColumn<{
|
|
60731
|
+
name: "start_date";
|
|
60732
|
+
tableName: "simplifi_campaigns";
|
|
60733
|
+
dataType: "string";
|
|
60734
|
+
columnType: "PgDateString";
|
|
60735
|
+
data: string;
|
|
60736
|
+
driverParam: string;
|
|
60737
|
+
notNull: false;
|
|
60738
|
+
hasDefault: false;
|
|
60739
|
+
isPrimaryKey: false;
|
|
60740
|
+
isAutoincrement: false;
|
|
60741
|
+
hasRuntimeDefault: false;
|
|
60742
|
+
enumValues: undefined;
|
|
60743
|
+
baseColumn: never;
|
|
60744
|
+
identity: undefined;
|
|
60745
|
+
generated: undefined;
|
|
60746
|
+
}, {}, {}>;
|
|
60747
|
+
endDate: import("drizzle-orm/pg-core").PgColumn<{
|
|
60748
|
+
name: "end_date";
|
|
60749
|
+
tableName: "simplifi_campaigns";
|
|
60750
|
+
dataType: "string";
|
|
60751
|
+
columnType: "PgDateString";
|
|
60752
|
+
data: string;
|
|
60753
|
+
driverParam: string;
|
|
60754
|
+
notNull: false;
|
|
60755
|
+
hasDefault: false;
|
|
60756
|
+
isPrimaryKey: false;
|
|
60757
|
+
isAutoincrement: false;
|
|
60758
|
+
hasRuntimeDefault: false;
|
|
60759
|
+
enumValues: undefined;
|
|
60760
|
+
baseColumn: never;
|
|
60761
|
+
identity: undefined;
|
|
60762
|
+
generated: undefined;
|
|
60763
|
+
}, {}, {}>;
|
|
60764
|
+
simplifiMetadata: import("drizzle-orm/pg-core").PgColumn<{
|
|
60765
|
+
name: "simplifi_metadata";
|
|
60766
|
+
tableName: "simplifi_campaigns";
|
|
60767
|
+
dataType: "json";
|
|
60768
|
+
columnType: "PgJsonb";
|
|
60769
|
+
data: Record<string, unknown>;
|
|
60770
|
+
driverParam: unknown;
|
|
60771
|
+
notNull: false;
|
|
60772
|
+
hasDefault: false;
|
|
60773
|
+
isPrimaryKey: false;
|
|
60774
|
+
isAutoincrement: false;
|
|
60775
|
+
hasRuntimeDefault: false;
|
|
60776
|
+
enumValues: undefined;
|
|
60777
|
+
baseColumn: never;
|
|
60778
|
+
identity: undefined;
|
|
60779
|
+
generated: undefined;
|
|
60780
|
+
}, {}, {
|
|
60781
|
+
$type: Record<string, unknown>;
|
|
60782
|
+
}>;
|
|
60783
|
+
syncError: import("drizzle-orm/pg-core").PgColumn<{
|
|
60784
|
+
name: "sync_error";
|
|
60785
|
+
tableName: "simplifi_campaigns";
|
|
60786
|
+
dataType: "string";
|
|
60787
|
+
columnType: "PgText";
|
|
60788
|
+
data: string;
|
|
60789
|
+
driverParam: string;
|
|
60790
|
+
notNull: false;
|
|
60791
|
+
hasDefault: false;
|
|
60792
|
+
isPrimaryKey: false;
|
|
60793
|
+
isAutoincrement: false;
|
|
60794
|
+
hasRuntimeDefault: false;
|
|
60795
|
+
enumValues: [string, ...string[]];
|
|
60796
|
+
baseColumn: never;
|
|
60797
|
+
identity: undefined;
|
|
60798
|
+
generated: undefined;
|
|
60799
|
+
}, {}, {}>;
|
|
60800
|
+
lastSyncedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
60801
|
+
name: "last_synced_at";
|
|
60802
|
+
tableName: "simplifi_campaigns";
|
|
60803
|
+
dataType: "date";
|
|
60804
|
+
columnType: "PgTimestamp";
|
|
60805
|
+
data: Date;
|
|
60806
|
+
driverParam: string;
|
|
60807
|
+
notNull: false;
|
|
60808
|
+
hasDefault: false;
|
|
60809
|
+
isPrimaryKey: false;
|
|
60810
|
+
isAutoincrement: false;
|
|
60811
|
+
hasRuntimeDefault: false;
|
|
60812
|
+
enumValues: undefined;
|
|
60813
|
+
baseColumn: never;
|
|
60814
|
+
identity: undefined;
|
|
60815
|
+
generated: undefined;
|
|
60816
|
+
}, {}, {}>;
|
|
60817
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
60818
|
+
name: "created_at";
|
|
60819
|
+
tableName: "simplifi_campaigns";
|
|
60820
|
+
dataType: "date";
|
|
60821
|
+
columnType: "PgTimestamp";
|
|
60822
|
+
data: Date;
|
|
60823
|
+
driverParam: string;
|
|
60824
|
+
notNull: true;
|
|
60825
|
+
hasDefault: true;
|
|
60826
|
+
isPrimaryKey: false;
|
|
60827
|
+
isAutoincrement: false;
|
|
60828
|
+
hasRuntimeDefault: false;
|
|
60829
|
+
enumValues: undefined;
|
|
60830
|
+
baseColumn: never;
|
|
60831
|
+
identity: undefined;
|
|
60832
|
+
generated: undefined;
|
|
60833
|
+
}, {}, {}>;
|
|
60834
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
60835
|
+
name: "updated_at";
|
|
60836
|
+
tableName: "simplifi_campaigns";
|
|
60837
|
+
dataType: "date";
|
|
60838
|
+
columnType: "PgTimestamp";
|
|
60839
|
+
data: Date;
|
|
60840
|
+
driverParam: string;
|
|
60841
|
+
notNull: true;
|
|
60842
|
+
hasDefault: true;
|
|
60843
|
+
isPrimaryKey: false;
|
|
60844
|
+
isAutoincrement: false;
|
|
60845
|
+
hasRuntimeDefault: false;
|
|
60846
|
+
enumValues: undefined;
|
|
60847
|
+
baseColumn: never;
|
|
60848
|
+
identity: undefined;
|
|
60849
|
+
generated: undefined;
|
|
60850
|
+
}, {}, {}>;
|
|
60851
|
+
};
|
|
60852
|
+
dialect: "pg";
|
|
60853
|
+
}>;
|
|
60854
|
+
export declare const insertSimplifiCampaignSchema: z.ZodObject<Omit<{
|
|
60855
|
+
id: z.ZodOptional<z.ZodString>;
|
|
60856
|
+
simplifiCampaignId: z.ZodString;
|
|
60857
|
+
organizationId: z.ZodString;
|
|
60858
|
+
campaignName: z.ZodString;
|
|
60859
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "active", "paused", "ended", "error"]>>;
|
|
60860
|
+
mediaOrderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60861
|
+
lineItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60862
|
+
totalBudget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60863
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60864
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60865
|
+
simplifiMetadata: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>>;
|
|
60866
|
+
syncError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60867
|
+
lastSyncedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
60868
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
60869
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
60870
|
+
}, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
|
|
60871
|
+
simplifiCampaignId: string;
|
|
60872
|
+
organizationId: string;
|
|
60873
|
+
campaignName: string;
|
|
60874
|
+
status?: "active" | "draft" | "error" | "paused" | "ended" | undefined;
|
|
60875
|
+
totalBudget?: string | null | undefined;
|
|
60876
|
+
lastSyncedAt?: Date | null | undefined;
|
|
60877
|
+
mediaOrderId?: string | null | undefined;
|
|
60878
|
+
lineItemId?: string | null | undefined;
|
|
60879
|
+
startDate?: string | null | undefined;
|
|
60880
|
+
endDate?: string | null | undefined;
|
|
60881
|
+
simplifiMetadata?: Record<string, unknown> | null | undefined;
|
|
60882
|
+
syncError?: string | null | undefined;
|
|
60883
|
+
}, {
|
|
60884
|
+
simplifiCampaignId: string;
|
|
60885
|
+
organizationId: string;
|
|
60886
|
+
campaignName: string;
|
|
60887
|
+
status?: "active" | "draft" | "error" | "paused" | "ended" | undefined;
|
|
60888
|
+
totalBudget?: string | null | undefined;
|
|
60889
|
+
lastSyncedAt?: Date | null | undefined;
|
|
60890
|
+
mediaOrderId?: string | null | undefined;
|
|
60891
|
+
lineItemId?: string | null | undefined;
|
|
60892
|
+
startDate?: string | null | undefined;
|
|
60893
|
+
endDate?: string | null | undefined;
|
|
60894
|
+
simplifiMetadata?: Record<string, unknown> | null | undefined;
|
|
60895
|
+
syncError?: string | null | undefined;
|
|
60896
|
+
}>;
|
|
60897
|
+
export type SimplifiCampaignRecord = typeof simplifiCampaigns.$inferSelect;
|
|
60898
|
+
export type InsertSimplifiCampaign = z.infer<typeof insertSimplifiCampaignSchema>;
|
|
60899
|
+
/**
|
|
60900
|
+
* simplifi_geo_fences — Tracks geo-fences pushed to Simpli.fi campaigns.
|
|
60901
|
+
* Links a Simpli.fi campaign to geo-targets from the shared geo_targets table.
|
|
60902
|
+
*/
|
|
60903
|
+
export declare const simplifiGeoFences: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
60904
|
+
name: "simplifi_geo_fences";
|
|
60905
|
+
schema: undefined;
|
|
60906
|
+
columns: {
|
|
60907
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
60908
|
+
name: "id";
|
|
60909
|
+
tableName: "simplifi_geo_fences";
|
|
60910
|
+
dataType: "string";
|
|
60911
|
+
columnType: "PgVarchar";
|
|
60912
|
+
data: string;
|
|
60913
|
+
driverParam: string;
|
|
60914
|
+
notNull: true;
|
|
60915
|
+
hasDefault: true;
|
|
60916
|
+
isPrimaryKey: true;
|
|
60917
|
+
isAutoincrement: false;
|
|
60918
|
+
hasRuntimeDefault: false;
|
|
60919
|
+
enumValues: [string, ...string[]];
|
|
60920
|
+
baseColumn: never;
|
|
60921
|
+
identity: undefined;
|
|
60922
|
+
generated: undefined;
|
|
60923
|
+
}, {}, {
|
|
60924
|
+
length: number | undefined;
|
|
60925
|
+
}>;
|
|
60926
|
+
simplifiCampaignId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60927
|
+
name: "simplifi_campaign_id";
|
|
60928
|
+
tableName: "simplifi_geo_fences";
|
|
60929
|
+
dataType: "string";
|
|
60930
|
+
columnType: "PgText";
|
|
60931
|
+
data: string;
|
|
60932
|
+
driverParam: string;
|
|
60933
|
+
notNull: true;
|
|
60934
|
+
hasDefault: false;
|
|
60935
|
+
isPrimaryKey: false;
|
|
60936
|
+
isAutoincrement: false;
|
|
60937
|
+
hasRuntimeDefault: false;
|
|
60938
|
+
enumValues: [string, ...string[]];
|
|
60939
|
+
baseColumn: never;
|
|
60940
|
+
identity: undefined;
|
|
60941
|
+
generated: undefined;
|
|
60942
|
+
}, {}, {}>;
|
|
60943
|
+
geoTargetId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60944
|
+
name: "geo_target_id";
|
|
60945
|
+
tableName: "simplifi_geo_fences";
|
|
60946
|
+
dataType: "string";
|
|
60947
|
+
columnType: "PgVarchar";
|
|
60948
|
+
data: string;
|
|
60949
|
+
driverParam: string;
|
|
60950
|
+
notNull: false;
|
|
60951
|
+
hasDefault: false;
|
|
60952
|
+
isPrimaryKey: false;
|
|
60953
|
+
isAutoincrement: false;
|
|
60954
|
+
hasRuntimeDefault: false;
|
|
60955
|
+
enumValues: [string, ...string[]];
|
|
60956
|
+
baseColumn: never;
|
|
60957
|
+
identity: undefined;
|
|
60958
|
+
generated: undefined;
|
|
60959
|
+
}, {}, {
|
|
60960
|
+
length: number | undefined;
|
|
60961
|
+
}>;
|
|
60962
|
+
fenceType: import("drizzle-orm/pg-core").PgColumn<{
|
|
60963
|
+
name: "fence_type";
|
|
60964
|
+
tableName: "simplifi_geo_fences";
|
|
60965
|
+
dataType: "string";
|
|
60966
|
+
columnType: "PgEnumColumn";
|
|
60967
|
+
data: "location" | "addressable" | "conversion_zone" | "event";
|
|
60968
|
+
driverParam: string;
|
|
60969
|
+
notNull: true;
|
|
60970
|
+
hasDefault: true;
|
|
60971
|
+
isPrimaryKey: false;
|
|
60972
|
+
isAutoincrement: false;
|
|
60973
|
+
hasRuntimeDefault: false;
|
|
60974
|
+
enumValues: ["addressable", "location", "conversion_zone", "event"];
|
|
60975
|
+
baseColumn: never;
|
|
60976
|
+
identity: undefined;
|
|
60977
|
+
generated: undefined;
|
|
60978
|
+
}, {}, {}>;
|
|
60979
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
60980
|
+
name: "name";
|
|
60981
|
+
tableName: "simplifi_geo_fences";
|
|
60982
|
+
dataType: "string";
|
|
60983
|
+
columnType: "PgText";
|
|
60984
|
+
data: string;
|
|
60985
|
+
driverParam: string;
|
|
60986
|
+
notNull: true;
|
|
60987
|
+
hasDefault: false;
|
|
60988
|
+
isPrimaryKey: false;
|
|
60989
|
+
isAutoincrement: false;
|
|
60990
|
+
hasRuntimeDefault: false;
|
|
60991
|
+
enumValues: [string, ...string[]];
|
|
60992
|
+
baseColumn: never;
|
|
60993
|
+
identity: undefined;
|
|
60994
|
+
generated: undefined;
|
|
60995
|
+
}, {}, {}>;
|
|
60996
|
+
lat: import("drizzle-orm/pg-core").PgColumn<{
|
|
60997
|
+
name: "lat";
|
|
60998
|
+
tableName: "simplifi_geo_fences";
|
|
60999
|
+
dataType: "string";
|
|
61000
|
+
columnType: "PgNumeric";
|
|
61001
|
+
data: string;
|
|
61002
|
+
driverParam: string;
|
|
61003
|
+
notNull: true;
|
|
61004
|
+
hasDefault: false;
|
|
61005
|
+
isPrimaryKey: false;
|
|
61006
|
+
isAutoincrement: false;
|
|
61007
|
+
hasRuntimeDefault: false;
|
|
61008
|
+
enumValues: undefined;
|
|
61009
|
+
baseColumn: never;
|
|
61010
|
+
identity: undefined;
|
|
61011
|
+
generated: undefined;
|
|
61012
|
+
}, {}, {}>;
|
|
61013
|
+
lng: import("drizzle-orm/pg-core").PgColumn<{
|
|
61014
|
+
name: "lng";
|
|
61015
|
+
tableName: "simplifi_geo_fences";
|
|
61016
|
+
dataType: "string";
|
|
61017
|
+
columnType: "PgNumeric";
|
|
61018
|
+
data: string;
|
|
61019
|
+
driverParam: string;
|
|
61020
|
+
notNull: true;
|
|
61021
|
+
hasDefault: false;
|
|
61022
|
+
isPrimaryKey: false;
|
|
61023
|
+
isAutoincrement: false;
|
|
61024
|
+
hasRuntimeDefault: false;
|
|
61025
|
+
enumValues: undefined;
|
|
61026
|
+
baseColumn: never;
|
|
61027
|
+
identity: undefined;
|
|
61028
|
+
generated: undefined;
|
|
61029
|
+
}, {}, {}>;
|
|
61030
|
+
radiusMeters: import("drizzle-orm/pg-core").PgColumn<{
|
|
61031
|
+
name: "radius_meters";
|
|
61032
|
+
tableName: "simplifi_geo_fences";
|
|
61033
|
+
dataType: "string";
|
|
61034
|
+
columnType: "PgNumeric";
|
|
61035
|
+
data: string;
|
|
61036
|
+
driverParam: string;
|
|
61037
|
+
notNull: true;
|
|
61038
|
+
hasDefault: false;
|
|
61039
|
+
isPrimaryKey: false;
|
|
61040
|
+
isAutoincrement: false;
|
|
61041
|
+
hasRuntimeDefault: false;
|
|
61042
|
+
enumValues: undefined;
|
|
61043
|
+
baseColumn: never;
|
|
61044
|
+
identity: undefined;
|
|
61045
|
+
generated: undefined;
|
|
61046
|
+
}, {}, {}>;
|
|
61047
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
61048
|
+
name: "created_at";
|
|
61049
|
+
tableName: "simplifi_geo_fences";
|
|
61050
|
+
dataType: "date";
|
|
61051
|
+
columnType: "PgTimestamp";
|
|
61052
|
+
data: Date;
|
|
61053
|
+
driverParam: string;
|
|
61054
|
+
notNull: true;
|
|
61055
|
+
hasDefault: true;
|
|
61056
|
+
isPrimaryKey: false;
|
|
61057
|
+
isAutoincrement: false;
|
|
61058
|
+
hasRuntimeDefault: false;
|
|
61059
|
+
enumValues: undefined;
|
|
61060
|
+
baseColumn: never;
|
|
61061
|
+
identity: undefined;
|
|
61062
|
+
generated: undefined;
|
|
61063
|
+
}, {}, {}>;
|
|
61064
|
+
};
|
|
61065
|
+
dialect: "pg";
|
|
61066
|
+
}>;
|
|
61067
|
+
export type SimplifiGeoFenceRecord = typeof simplifiGeoFences.$inferSelect;
|
|
61068
|
+
export type InsertSimplifiGeoFence = typeof simplifiGeoFences.$inferInsert;
|
|
61069
|
+
/**
|
|
61070
|
+
* simplifi_budget_flights — Budget flights (monthly/periodic budget splits)
|
|
61071
|
+
* for Simpli.fi campaigns. Proportional to days in each period.
|
|
61072
|
+
*/
|
|
61073
|
+
export declare const simplifiBudgetFlights: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
61074
|
+
name: "simplifi_budget_flights";
|
|
61075
|
+
schema: undefined;
|
|
61076
|
+
columns: {
|
|
61077
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
61078
|
+
name: "id";
|
|
61079
|
+
tableName: "simplifi_budget_flights";
|
|
61080
|
+
dataType: "string";
|
|
61081
|
+
columnType: "PgVarchar";
|
|
61082
|
+
data: string;
|
|
61083
|
+
driverParam: string;
|
|
61084
|
+
notNull: true;
|
|
61085
|
+
hasDefault: true;
|
|
61086
|
+
isPrimaryKey: true;
|
|
61087
|
+
isAutoincrement: false;
|
|
61088
|
+
hasRuntimeDefault: false;
|
|
61089
|
+
enumValues: [string, ...string[]];
|
|
61090
|
+
baseColumn: never;
|
|
61091
|
+
identity: undefined;
|
|
61092
|
+
generated: undefined;
|
|
61093
|
+
}, {}, {
|
|
61094
|
+
length: number | undefined;
|
|
61095
|
+
}>;
|
|
61096
|
+
simplifiCampaignId: import("drizzle-orm/pg-core").PgColumn<{
|
|
61097
|
+
name: "simplifi_campaign_id";
|
|
61098
|
+
tableName: "simplifi_budget_flights";
|
|
61099
|
+
dataType: "string";
|
|
61100
|
+
columnType: "PgText";
|
|
61101
|
+
data: string;
|
|
61102
|
+
driverParam: string;
|
|
61103
|
+
notNull: true;
|
|
61104
|
+
hasDefault: false;
|
|
61105
|
+
isPrimaryKey: false;
|
|
61106
|
+
isAutoincrement: false;
|
|
61107
|
+
hasRuntimeDefault: false;
|
|
61108
|
+
enumValues: [string, ...string[]];
|
|
61109
|
+
baseColumn: never;
|
|
61110
|
+
identity: undefined;
|
|
61111
|
+
generated: undefined;
|
|
61112
|
+
}, {}, {}>;
|
|
61113
|
+
simplifiFlightId: import("drizzle-orm/pg-core").PgColumn<{
|
|
61114
|
+
name: "simplifi_flight_id";
|
|
61115
|
+
tableName: "simplifi_budget_flights";
|
|
61116
|
+
dataType: "string";
|
|
61117
|
+
columnType: "PgText";
|
|
61118
|
+
data: string;
|
|
61119
|
+
driverParam: string;
|
|
61120
|
+
notNull: false;
|
|
61121
|
+
hasDefault: false;
|
|
61122
|
+
isPrimaryKey: false;
|
|
61123
|
+
isAutoincrement: false;
|
|
61124
|
+
hasRuntimeDefault: false;
|
|
61125
|
+
enumValues: [string, ...string[]];
|
|
61126
|
+
baseColumn: never;
|
|
61127
|
+
identity: undefined;
|
|
61128
|
+
generated: undefined;
|
|
61129
|
+
}, {}, {}>;
|
|
61130
|
+
startDate: import("drizzle-orm/pg-core").PgColumn<{
|
|
61131
|
+
name: "start_date";
|
|
61132
|
+
tableName: "simplifi_budget_flights";
|
|
61133
|
+
dataType: "string";
|
|
61134
|
+
columnType: "PgDateString";
|
|
61135
|
+
data: string;
|
|
61136
|
+
driverParam: string;
|
|
61137
|
+
notNull: true;
|
|
61138
|
+
hasDefault: false;
|
|
61139
|
+
isPrimaryKey: false;
|
|
61140
|
+
isAutoincrement: false;
|
|
61141
|
+
hasRuntimeDefault: false;
|
|
61142
|
+
enumValues: undefined;
|
|
61143
|
+
baseColumn: never;
|
|
61144
|
+
identity: undefined;
|
|
61145
|
+
generated: undefined;
|
|
61146
|
+
}, {}, {}>;
|
|
61147
|
+
endDate: import("drizzle-orm/pg-core").PgColumn<{
|
|
61148
|
+
name: "end_date";
|
|
61149
|
+
tableName: "simplifi_budget_flights";
|
|
61150
|
+
dataType: "string";
|
|
61151
|
+
columnType: "PgDateString";
|
|
61152
|
+
data: string;
|
|
61153
|
+
driverParam: string;
|
|
61154
|
+
notNull: true;
|
|
61155
|
+
hasDefault: false;
|
|
61156
|
+
isPrimaryKey: false;
|
|
61157
|
+
isAutoincrement: false;
|
|
61158
|
+
hasRuntimeDefault: false;
|
|
61159
|
+
enumValues: undefined;
|
|
61160
|
+
baseColumn: never;
|
|
61161
|
+
identity: undefined;
|
|
61162
|
+
generated: undefined;
|
|
61163
|
+
}, {}, {}>;
|
|
61164
|
+
budget: import("drizzle-orm/pg-core").PgColumn<{
|
|
61165
|
+
name: "budget";
|
|
61166
|
+
tableName: "simplifi_budget_flights";
|
|
61167
|
+
dataType: "string";
|
|
61168
|
+
columnType: "PgNumeric";
|
|
61169
|
+
data: string;
|
|
61170
|
+
driverParam: string;
|
|
61171
|
+
notNull: true;
|
|
61172
|
+
hasDefault: false;
|
|
61173
|
+
isPrimaryKey: false;
|
|
61174
|
+
isAutoincrement: false;
|
|
61175
|
+
hasRuntimeDefault: false;
|
|
61176
|
+
enumValues: undefined;
|
|
61177
|
+
baseColumn: never;
|
|
61178
|
+
identity: undefined;
|
|
61179
|
+
generated: undefined;
|
|
61180
|
+
}, {}, {}>;
|
|
61181
|
+
impressionCap: import("drizzle-orm/pg-core").PgColumn<{
|
|
61182
|
+
name: "impression_cap";
|
|
61183
|
+
tableName: "simplifi_budget_flights";
|
|
61184
|
+
dataType: "number";
|
|
61185
|
+
columnType: "PgInteger";
|
|
61186
|
+
data: number;
|
|
61187
|
+
driverParam: string | number;
|
|
61188
|
+
notNull: false;
|
|
61189
|
+
hasDefault: false;
|
|
61190
|
+
isPrimaryKey: false;
|
|
61191
|
+
isAutoincrement: false;
|
|
61192
|
+
hasRuntimeDefault: false;
|
|
61193
|
+
enumValues: undefined;
|
|
61194
|
+
baseColumn: never;
|
|
61195
|
+
identity: undefined;
|
|
61196
|
+
generated: undefined;
|
|
61197
|
+
}, {}, {}>;
|
|
61198
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
61199
|
+
name: "created_at";
|
|
61200
|
+
tableName: "simplifi_budget_flights";
|
|
61201
|
+
dataType: "date";
|
|
61202
|
+
columnType: "PgTimestamp";
|
|
61203
|
+
data: Date;
|
|
61204
|
+
driverParam: string;
|
|
61205
|
+
notNull: true;
|
|
61206
|
+
hasDefault: true;
|
|
61207
|
+
isPrimaryKey: false;
|
|
61208
|
+
isAutoincrement: false;
|
|
61209
|
+
hasRuntimeDefault: false;
|
|
61210
|
+
enumValues: undefined;
|
|
61211
|
+
baseColumn: never;
|
|
61212
|
+
identity: undefined;
|
|
61213
|
+
generated: undefined;
|
|
61214
|
+
}, {}, {}>;
|
|
61215
|
+
};
|
|
61216
|
+
dialect: "pg";
|
|
61217
|
+
}>;
|
|
61218
|
+
export type SimplifiBudgetFlightRecord = typeof simplifiBudgetFlights.$inferSelect;
|
|
61219
|
+
export type InsertSimplifiBudgetFlight = typeof simplifiBudgetFlights.$inferInsert;
|
|
60227
61220
|
//# sourceMappingURL=schema.d.ts.map
|