@rjromeoent/ein-supabase 0.1.3 → 0.1.4

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.
@@ -15177,35 +15177,47 @@ export type Database = {
15177
15177
  Row: {
15178
15178
  artist_id: string;
15179
15179
  computed_at: string;
15180
+ conflict_detail_json: Json;
15180
15181
  conflict_type: string;
15181
15182
  conflicting_event_ref: string;
15182
15183
  distance_miles: number | null;
15183
15184
  event_edition_id: string;
15184
15185
  id: string;
15185
15186
  organization_id: string;
15187
+ resolved_at: string | null;
15186
15188
  severity: string;
15189
+ source_record_ref: string | null;
15190
+ source_system_id: string | null;
15187
15191
  };
15188
15192
  Insert: {
15189
15193
  artist_id: string;
15190
15194
  computed_at?: string;
15195
+ conflict_detail_json?: Json;
15191
15196
  conflict_type: string;
15192
15197
  conflicting_event_ref: string;
15193
15198
  distance_miles?: number | null;
15194
15199
  event_edition_id: string;
15195
15200
  id?: string;
15196
15201
  organization_id: string;
15202
+ resolved_at?: string | null;
15197
15203
  severity: string;
15204
+ source_record_ref?: string | null;
15205
+ source_system_id?: string | null;
15198
15206
  };
15199
15207
  Update: {
15200
15208
  artist_id?: string;
15201
15209
  computed_at?: string;
15210
+ conflict_detail_json?: Json;
15202
15211
  conflict_type?: string;
15203
15212
  conflicting_event_ref?: string;
15204
15213
  distance_miles?: number | null;
15205
15214
  event_edition_id?: string;
15206
15215
  id?: string;
15207
15216
  organization_id?: string;
15217
+ resolved_at?: string | null;
15208
15218
  severity?: string;
15219
+ source_record_ref?: string | null;
15220
+ source_system_id?: string | null;
15209
15221
  };
15210
15222
  Relationships: [
15211
15223
  {
@@ -15278,36 +15290,75 @@ export type Database = {
15278
15290
  avail_exceptions: {
15279
15291
  Row: {
15280
15292
  assigned_to_user_id: string | null;
15293
+ backfill_batch_id: string | null;
15294
+ created_at: string;
15281
15295
  entity_type: string;
15296
+ exception_reason: string | null;
15282
15297
  exception_type: string;
15283
15298
  external_key: string;
15299
+ external_record_link_id: string | null;
15284
15300
  id: string;
15301
+ last_error_message: string | null;
15302
+ last_retry_at: string | null;
15285
15303
  organization_id: string;
15286
15304
  payload_json: Json;
15305
+ raw_row_ref: string | null;
15306
+ resolution_notes: string | null;
15307
+ resolved_at: string | null;
15308
+ retry_count: number;
15309
+ script_version: string | null;
15310
+ severity: string;
15287
15311
  source_system_id: string;
15288
15312
  status: string;
15313
+ updated_at: string;
15289
15314
  };
15290
15315
  Insert: {
15291
15316
  assigned_to_user_id?: string | null;
15317
+ backfill_batch_id?: string | null;
15318
+ created_at?: string;
15292
15319
  entity_type: string;
15320
+ exception_reason?: string | null;
15293
15321
  exception_type: string;
15294
15322
  external_key: string;
15323
+ external_record_link_id?: string | null;
15295
15324
  id?: string;
15325
+ last_error_message?: string | null;
15326
+ last_retry_at?: string | null;
15296
15327
  organization_id: string;
15297
15328
  payload_json?: Json;
15329
+ raw_row_ref?: string | null;
15330
+ resolution_notes?: string | null;
15331
+ resolved_at?: string | null;
15332
+ retry_count?: number;
15333
+ script_version?: string | null;
15334
+ severity?: string;
15298
15335
  source_system_id: string;
15299
15336
  status: string;
15337
+ updated_at?: string;
15300
15338
  };
15301
15339
  Update: {
15302
15340
  assigned_to_user_id?: string | null;
15341
+ backfill_batch_id?: string | null;
15342
+ created_at?: string;
15303
15343
  entity_type?: string;
15344
+ exception_reason?: string | null;
15304
15345
  exception_type?: string;
15305
15346
  external_key?: string;
15347
+ external_record_link_id?: string | null;
15306
15348
  id?: string;
15349
+ last_error_message?: string | null;
15350
+ last_retry_at?: string | null;
15307
15351
  organization_id?: string;
15308
15352
  payload_json?: Json;
15353
+ raw_row_ref?: string | null;
15354
+ resolution_notes?: string | null;
15355
+ resolved_at?: string | null;
15356
+ retry_count?: number;
15357
+ script_version?: string | null;
15358
+ severity?: string;
15309
15359
  source_system_id?: string;
15310
15360
  status?: string;
15361
+ updated_at?: string;
15311
15362
  };
15312
15363
  Relationships: [
15313
15364
  {
@@ -15374,32 +15425,47 @@ export type Database = {
15374
15425
  avail_source_job_items: {
15375
15426
  Row: {
15376
15427
  error_code: string | null;
15428
+ error_message: string | null;
15377
15429
  external_key: string;
15430
+ external_record_link_id: string | null;
15378
15431
  id: string;
15379
15432
  item_status: string;
15380
15433
  job_id: string;
15381
15434
  mapped_artist_id: string | null;
15435
+ normalized_window_id: string | null;
15382
15436
  organization_id: string;
15437
+ processed_at: string | null;
15438
+ raw_row_ref: string | null;
15383
15439
  retry_count: number;
15384
15440
  };
15385
15441
  Insert: {
15386
15442
  error_code?: string | null;
15443
+ error_message?: string | null;
15387
15444
  external_key: string;
15445
+ external_record_link_id?: string | null;
15388
15446
  id?: string;
15389
15447
  item_status: string;
15390
15448
  job_id: string;
15391
15449
  mapped_artist_id?: string | null;
15450
+ normalized_window_id?: string | null;
15392
15451
  organization_id: string;
15452
+ processed_at?: string | null;
15453
+ raw_row_ref?: string | null;
15393
15454
  retry_count?: number;
15394
15455
  };
15395
15456
  Update: {
15396
15457
  error_code?: string | null;
15458
+ error_message?: string | null;
15397
15459
  external_key?: string;
15460
+ external_record_link_id?: string | null;
15398
15461
  id?: string;
15399
15462
  item_status?: string;
15400
15463
  job_id?: string;
15401
15464
  mapped_artist_id?: string | null;
15465
+ normalized_window_id?: string | null;
15402
15466
  organization_id?: string;
15467
+ processed_at?: string | null;
15468
+ raw_row_ref?: string | null;
15403
15469
  retry_count?: number;
15404
15470
  };
15405
15471
  Relationships: [
@@ -15410,6 +15476,27 @@ export type Database = {
15410
15476
  referencedRelation: "avail_source_jobs";
15411
15477
  referencedColumns: ["id"];
15412
15478
  },
15479
+ {
15480
+ foreignKeyName: "avail_source_job_items_normalized_window_id_fkey";
15481
+ columns: ["normalized_window_id"];
15482
+ isOneToOne: false;
15483
+ referencedRelation: "artist_availability_windows";
15484
+ referencedColumns: ["id"];
15485
+ },
15486
+ {
15487
+ foreignKeyName: "avail_source_job_items_normalized_window_id_fkey";
15488
+ columns: ["normalized_window_id"];
15489
+ isOneToOne: false;
15490
+ referencedRelation: "availability_search_base";
15491
+ referencedColumns: ["id"];
15492
+ },
15493
+ {
15494
+ foreignKeyName: "avail_source_job_items_normalized_window_id_fkey";
15495
+ columns: ["normalized_window_id"];
15496
+ isOneToOne: false;
15497
+ referencedRelation: "event_edition_live_grid";
15498
+ referencedColumns: ["live_availability_window_id"];
15499
+ },
15413
15500
  {
15414
15501
  foreignKeyName: "avail_source_job_items_organization_id_fkey";
15415
15502
  columns: ["organization_id"];
@@ -15428,31 +15515,52 @@ export type Database = {
15428
15515
  };
15429
15516
  avail_source_jobs: {
15430
15517
  Row: {
15518
+ backfill_batch_id: string | null;
15431
15519
  completed_at: string | null;
15432
15520
  error_summary: string | null;
15521
+ exception_count: number;
15433
15522
  id: string;
15434
15523
  job_type: string;
15435
15524
  organization_id: string;
15525
+ phase: string;
15526
+ processed_count: number;
15527
+ record_count: number;
15528
+ script_version: string | null;
15529
+ skipped_count: number;
15436
15530
  source_system_id: string;
15437
15531
  started_at: string;
15438
15532
  status: string;
15439
15533
  };
15440
15534
  Insert: {
15535
+ backfill_batch_id?: string | null;
15441
15536
  completed_at?: string | null;
15442
15537
  error_summary?: string | null;
15538
+ exception_count?: number;
15443
15539
  id?: string;
15444
15540
  job_type: string;
15445
15541
  organization_id: string;
15542
+ phase?: string;
15543
+ processed_count?: number;
15544
+ record_count?: number;
15545
+ script_version?: string | null;
15546
+ skipped_count?: number;
15446
15547
  source_system_id: string;
15447
15548
  started_at?: string;
15448
15549
  status: string;
15449
15550
  };
15450
15551
  Update: {
15552
+ backfill_batch_id?: string | null;
15451
15553
  completed_at?: string | null;
15452
15554
  error_summary?: string | null;
15555
+ exception_count?: number;
15453
15556
  id?: string;
15454
15557
  job_type?: string;
15455
15558
  organization_id?: string;
15559
+ phase?: string;
15560
+ processed_count?: number;
15561
+ record_count?: number;
15562
+ script_version?: string | null;
15563
+ skipped_count?: number;
15456
15564
  source_system_id?: string;
15457
15565
  started_at?: string;
15458
15566
  status?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rjromeoent/ein-supabase",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Shared Supabase types, app context, and contract helpers for EIN-connected apps.",
5
5
  "type": "module",
6
6
  "sideEffects": false,