nomkit 0.0.0

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.
Files changed (82) hide show
  1. package/LICENSE.txt +21 -0
  2. package/dist/_virtual/_rolldown/runtime.js +27 -0
  3. package/dist/adapters/index.d.ts +15 -0
  4. package/dist/adapters/index.js +6 -0
  5. package/dist/cli/commands/push.d.ts +6 -0
  6. package/dist/cli/commands/push.js +143 -0
  7. package/dist/cli/index.d.ts +4 -0
  8. package/dist/cli/index.js +18 -0
  9. package/dist/cli/lib/collection_sync.d.ts +107 -0
  10. package/dist/cli/lib/collection_sync.js +158 -0
  11. package/dist/cli/lib/config_loader.d.ts +15 -0
  12. package/dist/cli/lib/config_loader.js +43 -0
  13. package/dist/cli/lib/hash.d.ts +22 -0
  14. package/dist/cli/lib/hash.js +63 -0
  15. package/dist/cli/lib/migrations.d.ts +6 -0
  16. package/dist/cli/lib/migrations.js +17 -0
  17. package/dist/client/index.d.ts +13 -0
  18. package/dist/client/index.js +34 -0
  19. package/dist/core/nomba_api/banks.d.ts +14 -0
  20. package/dist/core/nomba_api/banks.js +0 -0
  21. package/dist/core/nomba_api/charge-tokenized-card.d.ts +33 -0
  22. package/dist/core/nomba_api/charge-tokenized-card.js +0 -0
  23. package/dist/core/nomba_api/checkout.d.ts +44 -0
  24. package/dist/core/nomba_api/checkout.js +0 -0
  25. package/dist/core/nomba_api/get_checkout.d.ts +57 -0
  26. package/dist/core/nomba_api/get_checkout.js +0 -0
  27. package/dist/core/nomba_api/index.d.ts +313 -0
  28. package/dist/core/nomba_api/index.js +179 -0
  29. package/dist/core/nomba_api/lib/utils.d.ts +235 -0
  30. package/dist/core/nomba_api/lib/utils.js +313 -0
  31. package/dist/core/nomba_api/list-tokenized-cards.d.ts +24 -0
  32. package/dist/core/nomba_api/list-tokenized-cards.js +0 -0
  33. package/dist/core/nomba_api/token-manager/index.d.ts +51 -0
  34. package/dist/core/nomba_api/token-manager/index.js +109 -0
  35. package/dist/core/pg_db/index.d.ts +108 -0
  36. package/dist/core/pg_db/index.js +76 -0
  37. package/dist/core/pg_db/migrations/20260703085901_wealthy_blacklash/migration.sql +120 -0
  38. package/dist/core/pg_db/migrations/20260703085901_wealthy_blacklash/snapshot.json +1616 -0
  39. package/dist/core/pg_db/relations.d.ts +46 -0
  40. package/dist/core/pg_db/relations.js +83 -0
  41. package/dist/core/pg_db/schema.d.ts +1138 -0
  42. package/dist/core/pg_db/schema.js +124 -0
  43. package/dist/endpoints/customers/api.js +51 -0
  44. package/dist/endpoints/entitlements/api.js +42 -0
  45. package/dist/endpoints/routes.d.ts +15 -0
  46. package/dist/endpoints/routes.js +15 -0
  47. package/dist/endpoints/subscriptions/api.js +263 -0
  48. package/dist/endpoints/subscriptions/utils.js +105 -0
  49. package/dist/endpoints/webhooks/invoice/api.js +28 -0
  50. package/dist/endpoints/webhooks/nomba/api.js +76 -0
  51. package/dist/endpoints/webhooks/nomba/utils.js +36 -0
  52. package/dist/index.d.ts +204 -0
  53. package/dist/index.js +175 -0
  54. package/dist/lib/utils.d.ts +21 -0
  55. package/dist/lib/utils.js +41 -0
  56. package/dist/node_modules/.pnpm/@better-fetch_fetch@1.3.1/node_modules/@better-fetch/fetch/dist/index.js +475 -0
  57. package/dist/package.js +4 -0
  58. package/dist/queue/backends/pglite/backend.d.ts +43 -0
  59. package/dist/queue/backends/pglite/backend.js +33 -0
  60. package/dist/queue/backends/pglite/index.d.ts +4 -0
  61. package/dist/queue/backends/pglite/index.js +4 -0
  62. package/dist/queue/backends/pglite/migrations/schema.d.ts +4 -0
  63. package/dist/queue/backends/pglite/migrations/schema.js +37 -0
  64. package/dist/queue/backends/pglite/notification-channel.d.ts +17 -0
  65. package/dist/queue/backends/pglite/notification-channel.js +61 -0
  66. package/dist/queue/backends/pglite/repository.d.ts +38 -0
  67. package/dist/queue/backends/pglite/repository.js +299 -0
  68. package/dist/queue/backends/redis/index.d.ts +7 -0
  69. package/dist/queue/backends/redis/index.js +1 -0
  70. package/dist/queue/client/index.d.ts +12 -0
  71. package/dist/queue/client/index.js +31 -0
  72. package/dist/queue/endpoints/api.d.ts +53 -0
  73. package/dist/queue/endpoints/api.js +45 -0
  74. package/dist/queue/endpoints/routes.d.ts +32 -0
  75. package/dist/queue/endpoints/routes.js +5 -0
  76. package/dist/queue/init.d.ts +27 -0
  77. package/dist/queue/init.js +31 -0
  78. package/dist/queue/lib/billing.d.ts +25 -0
  79. package/dist/queue/lib/billing.js +87 -0
  80. package/dist/queue/lib/utils.d.ts +30 -0
  81. package/dist/queue/lib/utils.js +35 -0
  82. package/package.json +71 -0
@@ -0,0 +1,1616 @@
1
+ {
2
+ "version": "8",
3
+ "dialect": "postgres",
4
+ "id": "a8eddbdf-eaf2-4b42-aa6c-875e135ad655",
5
+ "prevIds": [
6
+ "00000000-0000-0000-0000-000000000000"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "values": [
11
+ "boolean",
12
+ "metered"
13
+ ],
14
+ "name": "feature_type",
15
+ "entityType": "enums",
16
+ "schema": "public"
17
+ },
18
+ {
19
+ "values": [
20
+ "paid",
21
+ "failed",
22
+ "void",
23
+ "pending"
24
+ ],
25
+ "name": "invoice_status",
26
+ "entityType": "enums",
27
+ "schema": "public"
28
+ },
29
+ {
30
+ "values": [
31
+ "active",
32
+ "cancelled",
33
+ "past_due",
34
+ "pending",
35
+ "scheduled"
36
+ ],
37
+ "name": "subscription_status",
38
+ "entityType": "enums",
39
+ "schema": "public"
40
+ },
41
+ {
42
+ "isRlsEnabled": false,
43
+ "name": "nomkit_customer",
44
+ "entityType": "tables",
45
+ "schema": "public"
46
+ },
47
+ {
48
+ "isRlsEnabled": false,
49
+ "name": "nomkit_entitlement",
50
+ "entityType": "tables",
51
+ "schema": "public"
52
+ },
53
+ {
54
+ "isRlsEnabled": false,
55
+ "name": "nomkit_feature",
56
+ "entityType": "tables",
57
+ "schema": "public"
58
+ },
59
+ {
60
+ "isRlsEnabled": false,
61
+ "name": "nomkit_invoice",
62
+ "entityType": "tables",
63
+ "schema": "public"
64
+ },
65
+ {
66
+ "isRlsEnabled": false,
67
+ "name": "nomkit_payment_method",
68
+ "entityType": "tables",
69
+ "schema": "public"
70
+ },
71
+ {
72
+ "isRlsEnabled": false,
73
+ "name": "nomkit_product_features",
74
+ "entityType": "tables",
75
+ "schema": "public"
76
+ },
77
+ {
78
+ "isRlsEnabled": false,
79
+ "name": "nomkit_product",
80
+ "entityType": "tables",
81
+ "schema": "public"
82
+ },
83
+ {
84
+ "isRlsEnabled": false,
85
+ "name": "nomkit_subscription",
86
+ "entityType": "tables",
87
+ "schema": "public"
88
+ },
89
+ {
90
+ "type": "uuid",
91
+ "typeSchema": null,
92
+ "notNull": true,
93
+ "dimensions": 0,
94
+ "default": "gen_random_uuid()",
95
+ "generated": null,
96
+ "identity": null,
97
+ "name": "id",
98
+ "entityType": "columns",
99
+ "schema": "public",
100
+ "table": "nomkit_customer"
101
+ },
102
+ {
103
+ "type": "text",
104
+ "typeSchema": null,
105
+ "notNull": false,
106
+ "dimensions": 0,
107
+ "default": null,
108
+ "generated": null,
109
+ "identity": null,
110
+ "name": "name",
111
+ "entityType": "columns",
112
+ "schema": "public",
113
+ "table": "nomkit_customer"
114
+ },
115
+ {
116
+ "type": "text",
117
+ "typeSchema": null,
118
+ "notNull": true,
119
+ "dimensions": 0,
120
+ "default": null,
121
+ "generated": null,
122
+ "identity": null,
123
+ "name": "email",
124
+ "entityType": "columns",
125
+ "schema": "public",
126
+ "table": "nomkit_customer"
127
+ },
128
+ {
129
+ "type": "jsonb",
130
+ "typeSchema": null,
131
+ "notNull": false,
132
+ "dimensions": 0,
133
+ "default": null,
134
+ "generated": null,
135
+ "identity": null,
136
+ "name": "metadata",
137
+ "entityType": "columns",
138
+ "schema": "public",
139
+ "table": "nomkit_customer"
140
+ },
141
+ {
142
+ "type": "text",
143
+ "typeSchema": null,
144
+ "notNull": false,
145
+ "dimensions": 0,
146
+ "default": null,
147
+ "generated": null,
148
+ "identity": null,
149
+ "name": "external_id",
150
+ "entityType": "columns",
151
+ "schema": "public",
152
+ "table": "nomkit_customer"
153
+ },
154
+ {
155
+ "type": "timestamp",
156
+ "typeSchema": null,
157
+ "notNull": true,
158
+ "dimensions": 0,
159
+ "default": null,
160
+ "generated": null,
161
+ "identity": null,
162
+ "name": "created_at",
163
+ "entityType": "columns",
164
+ "schema": "public",
165
+ "table": "nomkit_customer"
166
+ },
167
+ {
168
+ "type": "timestamp",
169
+ "typeSchema": null,
170
+ "notNull": true,
171
+ "dimensions": 0,
172
+ "default": null,
173
+ "generated": null,
174
+ "identity": null,
175
+ "name": "updated_at",
176
+ "entityType": "columns",
177
+ "schema": "public",
178
+ "table": "nomkit_customer"
179
+ },
180
+ {
181
+ "type": "uuid",
182
+ "typeSchema": null,
183
+ "notNull": true,
184
+ "dimensions": 0,
185
+ "default": "gen_random_uuid()",
186
+ "generated": null,
187
+ "identity": null,
188
+ "name": "id",
189
+ "entityType": "columns",
190
+ "schema": "public",
191
+ "table": "nomkit_entitlement"
192
+ },
193
+ {
194
+ "type": "uuid",
195
+ "typeSchema": null,
196
+ "notNull": true,
197
+ "dimensions": 0,
198
+ "default": null,
199
+ "generated": null,
200
+ "identity": null,
201
+ "name": "subscription_id",
202
+ "entityType": "columns",
203
+ "schema": "public",
204
+ "table": "nomkit_entitlement"
205
+ },
206
+ {
207
+ "type": "uuid",
208
+ "typeSchema": null,
209
+ "notNull": true,
210
+ "dimensions": 0,
211
+ "default": null,
212
+ "generated": null,
213
+ "identity": null,
214
+ "name": "customer_id",
215
+ "entityType": "columns",
216
+ "schema": "public",
217
+ "table": "nomkit_entitlement"
218
+ },
219
+ {
220
+ "type": "uuid",
221
+ "typeSchema": null,
222
+ "notNull": true,
223
+ "dimensions": 0,
224
+ "default": null,
225
+ "generated": null,
226
+ "identity": null,
227
+ "name": "feature_internal_id",
228
+ "entityType": "columns",
229
+ "schema": "public",
230
+ "table": "nomkit_entitlement"
231
+ },
232
+ {
233
+ "type": "bigint",
234
+ "typeSchema": null,
235
+ "notNull": false,
236
+ "dimensions": 0,
237
+ "default": null,
238
+ "generated": null,
239
+ "identity": null,
240
+ "name": "limit",
241
+ "entityType": "columns",
242
+ "schema": "public",
243
+ "table": "nomkit_entitlement"
244
+ },
245
+ {
246
+ "type": "bigint",
247
+ "typeSchema": null,
248
+ "notNull": false,
249
+ "dimensions": 0,
250
+ "default": null,
251
+ "generated": null,
252
+ "identity": null,
253
+ "name": "remaining",
254
+ "entityType": "columns",
255
+ "schema": "public",
256
+ "table": "nomkit_entitlement"
257
+ },
258
+ {
259
+ "type": "timestamp",
260
+ "typeSchema": null,
261
+ "notNull": false,
262
+ "dimensions": 0,
263
+ "default": null,
264
+ "generated": null,
265
+ "identity": null,
266
+ "name": "reset_at",
267
+ "entityType": "columns",
268
+ "schema": "public",
269
+ "table": "nomkit_entitlement"
270
+ },
271
+ {
272
+ "type": "timestamp",
273
+ "typeSchema": null,
274
+ "notNull": true,
275
+ "dimensions": 0,
276
+ "default": null,
277
+ "generated": null,
278
+ "identity": null,
279
+ "name": "created_at",
280
+ "entityType": "columns",
281
+ "schema": "public",
282
+ "table": "nomkit_entitlement"
283
+ },
284
+ {
285
+ "type": "timestamp",
286
+ "typeSchema": null,
287
+ "notNull": true,
288
+ "dimensions": 0,
289
+ "default": null,
290
+ "generated": null,
291
+ "identity": null,
292
+ "name": "updated_at",
293
+ "entityType": "columns",
294
+ "schema": "public",
295
+ "table": "nomkit_entitlement"
296
+ },
297
+ {
298
+ "type": "uuid",
299
+ "typeSchema": null,
300
+ "notNull": true,
301
+ "dimensions": 0,
302
+ "default": "gen_random_uuid()",
303
+ "generated": null,
304
+ "identity": null,
305
+ "name": "internal_id",
306
+ "entityType": "columns",
307
+ "schema": "public",
308
+ "table": "nomkit_feature"
309
+ },
310
+ {
311
+ "type": "text",
312
+ "typeSchema": null,
313
+ "notNull": true,
314
+ "dimensions": 0,
315
+ "default": null,
316
+ "generated": null,
317
+ "identity": null,
318
+ "name": "id",
319
+ "entityType": "columns",
320
+ "schema": "public",
321
+ "table": "nomkit_feature"
322
+ },
323
+ {
324
+ "type": "text",
325
+ "typeSchema": null,
326
+ "notNull": true,
327
+ "dimensions": 0,
328
+ "default": null,
329
+ "generated": null,
330
+ "identity": null,
331
+ "name": "label",
332
+ "entityType": "columns",
333
+ "schema": "public",
334
+ "table": "nomkit_feature"
335
+ },
336
+ {
337
+ "type": "timestamp",
338
+ "typeSchema": null,
339
+ "notNull": true,
340
+ "dimensions": 0,
341
+ "default": null,
342
+ "generated": null,
343
+ "identity": null,
344
+ "name": "created_at",
345
+ "entityType": "columns",
346
+ "schema": "public",
347
+ "table": "nomkit_feature"
348
+ },
349
+ {
350
+ "type": "timestamp",
351
+ "typeSchema": null,
352
+ "notNull": true,
353
+ "dimensions": 0,
354
+ "default": null,
355
+ "generated": null,
356
+ "identity": null,
357
+ "name": "updated_at",
358
+ "entityType": "columns",
359
+ "schema": "public",
360
+ "table": "nomkit_feature"
361
+ },
362
+ {
363
+ "type": "uuid",
364
+ "typeSchema": null,
365
+ "notNull": true,
366
+ "dimensions": 0,
367
+ "default": "gen_random_uuid()",
368
+ "generated": null,
369
+ "identity": null,
370
+ "name": "id",
371
+ "entityType": "columns",
372
+ "schema": "public",
373
+ "table": "nomkit_invoice"
374
+ },
375
+ {
376
+ "type": "uuid",
377
+ "typeSchema": null,
378
+ "notNull": true,
379
+ "dimensions": 0,
380
+ "default": null,
381
+ "generated": null,
382
+ "identity": null,
383
+ "name": "customer_id",
384
+ "entityType": "columns",
385
+ "schema": "public",
386
+ "table": "nomkit_invoice"
387
+ },
388
+ {
389
+ "type": "uuid",
390
+ "typeSchema": null,
391
+ "notNull": true,
392
+ "dimensions": 0,
393
+ "default": null,
394
+ "generated": null,
395
+ "identity": null,
396
+ "name": "subscription_id",
397
+ "entityType": "columns",
398
+ "schema": "public",
399
+ "table": "nomkit_invoice"
400
+ },
401
+ {
402
+ "type": "invoice_status",
403
+ "typeSchema": "public",
404
+ "notNull": true,
405
+ "dimensions": 0,
406
+ "default": "'pending'",
407
+ "generated": null,
408
+ "identity": null,
409
+ "name": "status",
410
+ "entityType": "columns",
411
+ "schema": "public",
412
+ "table": "nomkit_invoice"
413
+ },
414
+ {
415
+ "type": "integer",
416
+ "typeSchema": null,
417
+ "notNull": true,
418
+ "dimensions": 0,
419
+ "default": null,
420
+ "generated": null,
421
+ "identity": null,
422
+ "name": "amount",
423
+ "entityType": "columns",
424
+ "schema": "public",
425
+ "table": "nomkit_invoice"
426
+ },
427
+ {
428
+ "type": "text",
429
+ "typeSchema": null,
430
+ "notNull": true,
431
+ "dimensions": 0,
432
+ "default": null,
433
+ "generated": null,
434
+ "identity": null,
435
+ "name": "currency",
436
+ "entityType": "columns",
437
+ "schema": "public",
438
+ "table": "nomkit_invoice"
439
+ },
440
+ {
441
+ "type": "timestamp",
442
+ "typeSchema": null,
443
+ "notNull": false,
444
+ "dimensions": 0,
445
+ "default": null,
446
+ "generated": null,
447
+ "identity": null,
448
+ "name": "period_start",
449
+ "entityType": "columns",
450
+ "schema": "public",
451
+ "table": "nomkit_invoice"
452
+ },
453
+ {
454
+ "type": "timestamp",
455
+ "typeSchema": null,
456
+ "notNull": false,
457
+ "dimensions": 0,
458
+ "default": null,
459
+ "generated": null,
460
+ "identity": null,
461
+ "name": "period_end",
462
+ "entityType": "columns",
463
+ "schema": "public",
464
+ "table": "nomkit_invoice"
465
+ },
466
+ {
467
+ "type": "timestamp",
468
+ "typeSchema": null,
469
+ "notNull": true,
470
+ "dimensions": 0,
471
+ "default": null,
472
+ "generated": null,
473
+ "identity": null,
474
+ "name": "created_at",
475
+ "entityType": "columns",
476
+ "schema": "public",
477
+ "table": "nomkit_invoice"
478
+ },
479
+ {
480
+ "type": "timestamp",
481
+ "typeSchema": null,
482
+ "notNull": true,
483
+ "dimensions": 0,
484
+ "default": null,
485
+ "generated": null,
486
+ "identity": null,
487
+ "name": "updated_at",
488
+ "entityType": "columns",
489
+ "schema": "public",
490
+ "table": "nomkit_invoice"
491
+ },
492
+ {
493
+ "type": "uuid",
494
+ "typeSchema": null,
495
+ "notNull": true,
496
+ "dimensions": 0,
497
+ "default": "gen_random_uuid()",
498
+ "generated": null,
499
+ "identity": null,
500
+ "name": "id",
501
+ "entityType": "columns",
502
+ "schema": "public",
503
+ "table": "nomkit_payment_method"
504
+ },
505
+ {
506
+ "type": "uuid",
507
+ "typeSchema": null,
508
+ "notNull": true,
509
+ "dimensions": 0,
510
+ "default": null,
511
+ "generated": null,
512
+ "identity": null,
513
+ "name": "customer_id",
514
+ "entityType": "columns",
515
+ "schema": "public",
516
+ "table": "nomkit_payment_method"
517
+ },
518
+ {
519
+ "type": "text",
520
+ "typeSchema": null,
521
+ "notNull": true,
522
+ "dimensions": 0,
523
+ "default": null,
524
+ "generated": null,
525
+ "identity": null,
526
+ "name": "token_key",
527
+ "entityType": "columns",
528
+ "schema": "public",
529
+ "table": "nomkit_payment_method"
530
+ },
531
+ {
532
+ "type": "text",
533
+ "typeSchema": null,
534
+ "notNull": true,
535
+ "dimensions": 0,
536
+ "default": null,
537
+ "generated": null,
538
+ "identity": null,
539
+ "name": "email",
540
+ "entityType": "columns",
541
+ "schema": "public",
542
+ "table": "nomkit_payment_method"
543
+ },
544
+ {
545
+ "type": "text",
546
+ "typeSchema": null,
547
+ "notNull": true,
548
+ "dimensions": 0,
549
+ "default": null,
550
+ "generated": null,
551
+ "identity": null,
552
+ "name": "card_type",
553
+ "entityType": "columns",
554
+ "schema": "public",
555
+ "table": "nomkit_payment_method"
556
+ },
557
+ {
558
+ "type": "text",
559
+ "typeSchema": null,
560
+ "notNull": true,
561
+ "dimensions": 0,
562
+ "default": null,
563
+ "generated": null,
564
+ "identity": null,
565
+ "name": "card_pan",
566
+ "entityType": "columns",
567
+ "schema": "public",
568
+ "table": "nomkit_payment_method"
569
+ },
570
+ {
571
+ "type": "text",
572
+ "typeSchema": null,
573
+ "notNull": true,
574
+ "dimensions": 0,
575
+ "default": null,
576
+ "generated": null,
577
+ "identity": null,
578
+ "name": "token_expiration_date",
579
+ "entityType": "columns",
580
+ "schema": "public",
581
+ "table": "nomkit_payment_method"
582
+ },
583
+ {
584
+ "type": "timestamp",
585
+ "typeSchema": null,
586
+ "notNull": true,
587
+ "dimensions": 0,
588
+ "default": null,
589
+ "generated": null,
590
+ "identity": null,
591
+ "name": "created_at",
592
+ "entityType": "columns",
593
+ "schema": "public",
594
+ "table": "nomkit_payment_method"
595
+ },
596
+ {
597
+ "type": "timestamp",
598
+ "typeSchema": null,
599
+ "notNull": true,
600
+ "dimensions": 0,
601
+ "default": null,
602
+ "generated": null,
603
+ "identity": null,
604
+ "name": "updated_at",
605
+ "entityType": "columns",
606
+ "schema": "public",
607
+ "table": "nomkit_payment_method"
608
+ },
609
+ {
610
+ "type": "uuid",
611
+ "typeSchema": null,
612
+ "notNull": true,
613
+ "dimensions": 0,
614
+ "default": "gen_random_uuid()",
615
+ "generated": null,
616
+ "identity": null,
617
+ "name": "id",
618
+ "entityType": "columns",
619
+ "schema": "public",
620
+ "table": "nomkit_product_features"
621
+ },
622
+ {
623
+ "type": "uuid",
624
+ "typeSchema": null,
625
+ "notNull": true,
626
+ "dimensions": 0,
627
+ "default": null,
628
+ "generated": null,
629
+ "identity": null,
630
+ "name": "feature_internal_id",
631
+ "entityType": "columns",
632
+ "schema": "public",
633
+ "table": "nomkit_product_features"
634
+ },
635
+ {
636
+ "type": "feature_type",
637
+ "typeSchema": "public",
638
+ "notNull": true,
639
+ "dimensions": 0,
640
+ "default": null,
641
+ "generated": null,
642
+ "identity": null,
643
+ "name": "type",
644
+ "entityType": "columns",
645
+ "schema": "public",
646
+ "table": "nomkit_product_features"
647
+ },
648
+ {
649
+ "type": "bigint",
650
+ "typeSchema": null,
651
+ "notNull": false,
652
+ "dimensions": 0,
653
+ "default": null,
654
+ "generated": null,
655
+ "identity": null,
656
+ "name": "limit",
657
+ "entityType": "columns",
658
+ "schema": "public",
659
+ "table": "nomkit_product_features"
660
+ },
661
+ {
662
+ "type": "text",
663
+ "typeSchema": null,
664
+ "notNull": false,
665
+ "dimensions": 0,
666
+ "default": null,
667
+ "generated": null,
668
+ "identity": null,
669
+ "name": "reset_interval",
670
+ "entityType": "columns",
671
+ "schema": "public",
672
+ "table": "nomkit_product_features"
673
+ },
674
+ {
675
+ "type": "text",
676
+ "typeSchema": null,
677
+ "notNull": true,
678
+ "dimensions": 0,
679
+ "default": null,
680
+ "generated": null,
681
+ "identity": null,
682
+ "name": "feature_hash",
683
+ "entityType": "columns",
684
+ "schema": "public",
685
+ "table": "nomkit_product_features"
686
+ },
687
+ {
688
+ "type": "text",
689
+ "typeSchema": null,
690
+ "notNull": true,
691
+ "dimensions": 0,
692
+ "default": null,
693
+ "generated": null,
694
+ "identity": null,
695
+ "name": "product_id",
696
+ "entityType": "columns",
697
+ "schema": "public",
698
+ "table": "nomkit_product_features"
699
+ },
700
+ {
701
+ "type": "integer",
702
+ "typeSchema": null,
703
+ "notNull": true,
704
+ "dimensions": 0,
705
+ "default": null,
706
+ "generated": null,
707
+ "identity": null,
708
+ "name": "product_version",
709
+ "entityType": "columns",
710
+ "schema": "public",
711
+ "table": "nomkit_product_features"
712
+ },
713
+ {
714
+ "type": "timestamp",
715
+ "typeSchema": null,
716
+ "notNull": true,
717
+ "dimensions": 0,
718
+ "default": null,
719
+ "generated": null,
720
+ "identity": null,
721
+ "name": "created_at",
722
+ "entityType": "columns",
723
+ "schema": "public",
724
+ "table": "nomkit_product_features"
725
+ },
726
+ {
727
+ "type": "timestamp",
728
+ "typeSchema": null,
729
+ "notNull": true,
730
+ "dimensions": 0,
731
+ "default": null,
732
+ "generated": null,
733
+ "identity": null,
734
+ "name": "updated_at",
735
+ "entityType": "columns",
736
+ "schema": "public",
737
+ "table": "nomkit_product_features"
738
+ },
739
+ {
740
+ "type": "uuid",
741
+ "typeSchema": null,
742
+ "notNull": true,
743
+ "dimensions": 0,
744
+ "default": "gen_random_uuid()",
745
+ "generated": null,
746
+ "identity": null,
747
+ "name": "internal_id",
748
+ "entityType": "columns",
749
+ "schema": "public",
750
+ "table": "nomkit_product"
751
+ },
752
+ {
753
+ "type": "text",
754
+ "typeSchema": null,
755
+ "notNull": true,
756
+ "dimensions": 0,
757
+ "default": null,
758
+ "generated": null,
759
+ "identity": null,
760
+ "name": "id",
761
+ "entityType": "columns",
762
+ "schema": "public",
763
+ "table": "nomkit_product"
764
+ },
765
+ {
766
+ "type": "text",
767
+ "typeSchema": null,
768
+ "notNull": true,
769
+ "dimensions": 0,
770
+ "default": null,
771
+ "generated": null,
772
+ "identity": null,
773
+ "name": "label",
774
+ "entityType": "columns",
775
+ "schema": "public",
776
+ "table": "nomkit_product"
777
+ },
778
+ {
779
+ "type": "text",
780
+ "typeSchema": null,
781
+ "notNull": true,
782
+ "dimensions": 0,
783
+ "default": null,
784
+ "generated": null,
785
+ "identity": null,
786
+ "name": "product_hash",
787
+ "entityType": "columns",
788
+ "schema": "public",
789
+ "table": "nomkit_product"
790
+ },
791
+ {
792
+ "type": "integer",
793
+ "typeSchema": null,
794
+ "notNull": false,
795
+ "dimensions": 0,
796
+ "default": null,
797
+ "generated": null,
798
+ "identity": null,
799
+ "name": "price_amount",
800
+ "entityType": "columns",
801
+ "schema": "public",
802
+ "table": "nomkit_product"
803
+ },
804
+ {
805
+ "type": "text",
806
+ "typeSchema": null,
807
+ "notNull": false,
808
+ "dimensions": 0,
809
+ "default": null,
810
+ "generated": null,
811
+ "identity": null,
812
+ "name": "product_interval",
813
+ "entityType": "columns",
814
+ "schema": "public",
815
+ "table": "nomkit_product"
816
+ },
817
+ {
818
+ "type": "integer",
819
+ "typeSchema": null,
820
+ "notNull": true,
821
+ "dimensions": 0,
822
+ "default": "1",
823
+ "generated": null,
824
+ "identity": null,
825
+ "name": "version",
826
+ "entityType": "columns",
827
+ "schema": "public",
828
+ "table": "nomkit_product"
829
+ },
830
+ {
831
+ "type": "timestamp",
832
+ "typeSchema": null,
833
+ "notNull": true,
834
+ "dimensions": 0,
835
+ "default": null,
836
+ "generated": null,
837
+ "identity": null,
838
+ "name": "created_at",
839
+ "entityType": "columns",
840
+ "schema": "public",
841
+ "table": "nomkit_product"
842
+ },
843
+ {
844
+ "type": "timestamp",
845
+ "typeSchema": null,
846
+ "notNull": true,
847
+ "dimensions": 0,
848
+ "default": null,
849
+ "generated": null,
850
+ "identity": null,
851
+ "name": "updated_at",
852
+ "entityType": "columns",
853
+ "schema": "public",
854
+ "table": "nomkit_product"
855
+ },
856
+ {
857
+ "type": "uuid",
858
+ "typeSchema": null,
859
+ "notNull": true,
860
+ "dimensions": 0,
861
+ "default": "gen_random_uuid()",
862
+ "generated": null,
863
+ "identity": null,
864
+ "name": "id",
865
+ "entityType": "columns",
866
+ "schema": "public",
867
+ "table": "nomkit_subscription"
868
+ },
869
+ {
870
+ "type": "uuid",
871
+ "typeSchema": null,
872
+ "notNull": true,
873
+ "dimensions": 0,
874
+ "default": null,
875
+ "generated": null,
876
+ "identity": null,
877
+ "name": "customer_id",
878
+ "entityType": "columns",
879
+ "schema": "public",
880
+ "table": "nomkit_subscription"
881
+ },
882
+ {
883
+ "type": "uuid",
884
+ "typeSchema": null,
885
+ "notNull": true,
886
+ "dimensions": 0,
887
+ "default": null,
888
+ "generated": null,
889
+ "identity": null,
890
+ "name": "product_internal_id",
891
+ "entityType": "columns",
892
+ "schema": "public",
893
+ "table": "nomkit_subscription"
894
+ },
895
+ {
896
+ "type": "uuid",
897
+ "typeSchema": null,
898
+ "notNull": false,
899
+ "dimensions": 0,
900
+ "default": null,
901
+ "generated": null,
902
+ "identity": null,
903
+ "name": "payment_method_id",
904
+ "entityType": "columns",
905
+ "schema": "public",
906
+ "table": "nomkit_subscription"
907
+ },
908
+ {
909
+ "type": "uuid",
910
+ "typeSchema": null,
911
+ "notNull": false,
912
+ "dimensions": 0,
913
+ "default": null,
914
+ "generated": null,
915
+ "identity": null,
916
+ "name": "next_subscription_id",
917
+ "entityType": "columns",
918
+ "schema": "public",
919
+ "table": "nomkit_subscription"
920
+ },
921
+ {
922
+ "type": "subscription_status",
923
+ "typeSchema": "public",
924
+ "notNull": true,
925
+ "dimensions": 0,
926
+ "default": "'active'",
927
+ "generated": null,
928
+ "identity": null,
929
+ "name": "status",
930
+ "entityType": "columns",
931
+ "schema": "public",
932
+ "table": "nomkit_subscription"
933
+ },
934
+ {
935
+ "type": "timestamp",
936
+ "typeSchema": null,
937
+ "notNull": false,
938
+ "dimensions": 0,
939
+ "default": null,
940
+ "generated": null,
941
+ "identity": null,
942
+ "name": "current_period_start",
943
+ "entityType": "columns",
944
+ "schema": "public",
945
+ "table": "nomkit_subscription"
946
+ },
947
+ {
948
+ "type": "timestamp",
949
+ "typeSchema": null,
950
+ "notNull": false,
951
+ "dimensions": 0,
952
+ "default": null,
953
+ "generated": null,
954
+ "identity": null,
955
+ "name": "current_period_end",
956
+ "entityType": "columns",
957
+ "schema": "public",
958
+ "table": "nomkit_subscription"
959
+ },
960
+ {
961
+ "type": "timestamp",
962
+ "typeSchema": null,
963
+ "notNull": true,
964
+ "dimensions": 0,
965
+ "default": null,
966
+ "generated": null,
967
+ "identity": null,
968
+ "name": "created_at",
969
+ "entityType": "columns",
970
+ "schema": "public",
971
+ "table": "nomkit_subscription"
972
+ },
973
+ {
974
+ "type": "timestamp",
975
+ "typeSchema": null,
976
+ "notNull": true,
977
+ "dimensions": 0,
978
+ "default": null,
979
+ "generated": null,
980
+ "identity": null,
981
+ "name": "updated_at",
982
+ "entityType": "columns",
983
+ "schema": "public",
984
+ "table": "nomkit_subscription"
985
+ },
986
+ {
987
+ "type": "timestamp",
988
+ "typeSchema": null,
989
+ "notNull": false,
990
+ "dimensions": 0,
991
+ "default": null,
992
+ "generated": null,
993
+ "identity": null,
994
+ "name": "ended_at",
995
+ "entityType": "columns",
996
+ "schema": "public",
997
+ "table": "nomkit_subscription"
998
+ },
999
+ {
1000
+ "nameExplicit": true,
1001
+ "columns": [
1002
+ {
1003
+ "value": "created_at",
1004
+ "isExpression": false,
1005
+ "asc": true,
1006
+ "nullsFirst": false,
1007
+ "opclass": null
1008
+ },
1009
+ {
1010
+ "value": "id",
1011
+ "isExpression": false,
1012
+ "asc": true,
1013
+ "nullsFirst": false,
1014
+ "opclass": null
1015
+ }
1016
+ ],
1017
+ "isUnique": false,
1018
+ "where": null,
1019
+ "with": "",
1020
+ "method": "btree",
1021
+ "concurrently": false,
1022
+ "name": "customer_created_at_id_idx",
1023
+ "entityType": "indexes",
1024
+ "schema": "public",
1025
+ "table": "nomkit_customer"
1026
+ },
1027
+ {
1028
+ "nameExplicit": true,
1029
+ "columns": [
1030
+ {
1031
+ "value": "customer_id",
1032
+ "isExpression": false,
1033
+ "asc": true,
1034
+ "nullsFirst": false,
1035
+ "opclass": null
1036
+ }
1037
+ ],
1038
+ "isUnique": false,
1039
+ "where": null,
1040
+ "with": "",
1041
+ "method": "btree",
1042
+ "concurrently": false,
1043
+ "name": "entitlement_customer_idx",
1044
+ "entityType": "indexes",
1045
+ "schema": "public",
1046
+ "table": "nomkit_entitlement"
1047
+ },
1048
+ {
1049
+ "nameExplicit": true,
1050
+ "columns": [
1051
+ {
1052
+ "value": "subscription_id",
1053
+ "isExpression": false,
1054
+ "asc": true,
1055
+ "nullsFirst": false,
1056
+ "opclass": null
1057
+ }
1058
+ ],
1059
+ "isUnique": false,
1060
+ "where": null,
1061
+ "with": "",
1062
+ "method": "btree",
1063
+ "concurrently": false,
1064
+ "name": "entitlement_subscription_idx",
1065
+ "entityType": "indexes",
1066
+ "schema": "public",
1067
+ "table": "nomkit_entitlement"
1068
+ },
1069
+ {
1070
+ "nameExplicit": true,
1071
+ "columns": [
1072
+ {
1073
+ "value": "subscription_id",
1074
+ "isExpression": false,
1075
+ "asc": true,
1076
+ "nullsFirst": false,
1077
+ "opclass": null
1078
+ },
1079
+ {
1080
+ "value": "feature_internal_id",
1081
+ "isExpression": false,
1082
+ "asc": true,
1083
+ "nullsFirst": false,
1084
+ "opclass": null
1085
+ }
1086
+ ],
1087
+ "isUnique": true,
1088
+ "where": null,
1089
+ "with": "",
1090
+ "method": "btree",
1091
+ "concurrently": false,
1092
+ "name": "subscription_feature_unique",
1093
+ "entityType": "indexes",
1094
+ "schema": "public",
1095
+ "table": "nomkit_entitlement"
1096
+ },
1097
+ {
1098
+ "nameExplicit": true,
1099
+ "columns": [
1100
+ {
1101
+ "value": "internal_id",
1102
+ "isExpression": false,
1103
+ "asc": true,
1104
+ "nullsFirst": false,
1105
+ "opclass": null
1106
+ }
1107
+ ],
1108
+ "isUnique": false,
1109
+ "where": null,
1110
+ "with": "",
1111
+ "method": "btree",
1112
+ "concurrently": false,
1113
+ "name": "feature_idx",
1114
+ "entityType": "indexes",
1115
+ "schema": "public",
1116
+ "table": "nomkit_feature"
1117
+ },
1118
+ {
1119
+ "nameExplicit": true,
1120
+ "columns": [
1121
+ {
1122
+ "value": "id",
1123
+ "isExpression": false,
1124
+ "asc": true,
1125
+ "nullsFirst": false,
1126
+ "opclass": null
1127
+ }
1128
+ ],
1129
+ "isUnique": true,
1130
+ "where": null,
1131
+ "with": "",
1132
+ "method": "btree",
1133
+ "concurrently": false,
1134
+ "name": "feature_unique",
1135
+ "entityType": "indexes",
1136
+ "schema": "public",
1137
+ "table": "nomkit_feature"
1138
+ },
1139
+ {
1140
+ "nameExplicit": true,
1141
+ "columns": [
1142
+ {
1143
+ "value": "subscription_id",
1144
+ "isExpression": false,
1145
+ "asc": true,
1146
+ "nullsFirst": false,
1147
+ "opclass": null
1148
+ },
1149
+ {
1150
+ "value": "period_start",
1151
+ "isExpression": false,
1152
+ "asc": true,
1153
+ "nullsFirst": false,
1154
+ "opclass": null
1155
+ },
1156
+ {
1157
+ "value": "period_end",
1158
+ "isExpression": false,
1159
+ "asc": true,
1160
+ "nullsFirst": false,
1161
+ "opclass": null
1162
+ }
1163
+ ],
1164
+ "isUnique": true,
1165
+ "where": null,
1166
+ "with": "",
1167
+ "method": "btree",
1168
+ "concurrently": false,
1169
+ "name": "invoice_period_unique",
1170
+ "entityType": "indexes",
1171
+ "schema": "public",
1172
+ "table": "nomkit_invoice"
1173
+ },
1174
+ {
1175
+ "nameExplicit": true,
1176
+ "columns": [
1177
+ {
1178
+ "value": "id",
1179
+ "isExpression": false,
1180
+ "asc": true,
1181
+ "nullsFirst": false,
1182
+ "opclass": null
1183
+ }
1184
+ ],
1185
+ "isUnique": false,
1186
+ "where": null,
1187
+ "with": "",
1188
+ "method": "btree",
1189
+ "concurrently": false,
1190
+ "name": "project_feature_idx",
1191
+ "entityType": "indexes",
1192
+ "schema": "public",
1193
+ "table": "nomkit_product_features"
1194
+ },
1195
+ {
1196
+ "nameExplicit": true,
1197
+ "columns": [
1198
+ {
1199
+ "value": "id",
1200
+ "isExpression": false,
1201
+ "asc": true,
1202
+ "nullsFirst": false,
1203
+ "opclass": null
1204
+ },
1205
+ {
1206
+ "value": "product_id",
1207
+ "isExpression": false,
1208
+ "asc": true,
1209
+ "nullsFirst": false,
1210
+ "opclass": null
1211
+ },
1212
+ {
1213
+ "value": "feature_internal_id",
1214
+ "isExpression": false,
1215
+ "asc": true,
1216
+ "nullsFirst": false,
1217
+ "opclass": null
1218
+ },
1219
+ {
1220
+ "value": "product_version",
1221
+ "isExpression": false,
1222
+ "asc": true,
1223
+ "nullsFirst": false,
1224
+ "opclass": null
1225
+ }
1226
+ ],
1227
+ "isUnique": true,
1228
+ "where": null,
1229
+ "with": "",
1230
+ "method": "btree",
1231
+ "concurrently": false,
1232
+ "name": "product_feature_unique_version",
1233
+ "entityType": "indexes",
1234
+ "schema": "public",
1235
+ "table": "nomkit_product_features"
1236
+ },
1237
+ {
1238
+ "nameExplicit": true,
1239
+ "columns": [
1240
+ {
1241
+ "value": "id",
1242
+ "isExpression": false,
1243
+ "asc": true,
1244
+ "nullsFirst": false,
1245
+ "opclass": null
1246
+ }
1247
+ ],
1248
+ "isUnique": false,
1249
+ "where": null,
1250
+ "with": "",
1251
+ "method": "btree",
1252
+ "concurrently": false,
1253
+ "name": "product_idx",
1254
+ "entityType": "indexes",
1255
+ "schema": "public",
1256
+ "table": "nomkit_product"
1257
+ },
1258
+ {
1259
+ "nameExplicit": true,
1260
+ "columns": [
1261
+ {
1262
+ "value": "id",
1263
+ "isExpression": false,
1264
+ "asc": true,
1265
+ "nullsFirst": false,
1266
+ "opclass": null
1267
+ },
1268
+ {
1269
+ "value": "product_hash",
1270
+ "isExpression": false,
1271
+ "asc": true,
1272
+ "nullsFirst": false,
1273
+ "opclass": null
1274
+ },
1275
+ {
1276
+ "value": "version",
1277
+ "isExpression": false,
1278
+ "asc": true,
1279
+ "nullsFirst": false,
1280
+ "opclass": null
1281
+ }
1282
+ ],
1283
+ "isUnique": true,
1284
+ "where": null,
1285
+ "with": "",
1286
+ "method": "btree",
1287
+ "concurrently": false,
1288
+ "name": "product_hash_version_unique",
1289
+ "entityType": "indexes",
1290
+ "schema": "public",
1291
+ "table": "nomkit_product"
1292
+ },
1293
+ {
1294
+ "nameExplicit": true,
1295
+ "columns": [
1296
+ {
1297
+ "value": "customer_id",
1298
+ "isExpression": false,
1299
+ "asc": true,
1300
+ "nullsFirst": false,
1301
+ "opclass": null
1302
+ }
1303
+ ],
1304
+ "isUnique": false,
1305
+ "where": null,
1306
+ "with": "",
1307
+ "method": "btree",
1308
+ "concurrently": false,
1309
+ "name": "subscription_customer_idx",
1310
+ "entityType": "indexes",
1311
+ "schema": "public",
1312
+ "table": "nomkit_subscription"
1313
+ },
1314
+ {
1315
+ "nameExplicit": false,
1316
+ "columns": [
1317
+ "subscription_id"
1318
+ ],
1319
+ "schemaTo": "public",
1320
+ "tableTo": "nomkit_subscription",
1321
+ "columnsTo": [
1322
+ "id"
1323
+ ],
1324
+ "onUpdate": "NO ACTION",
1325
+ "onDelete": "CASCADE",
1326
+ "name": "nomkit_entitlement_subscription_id_nomkit_subscription_id_fkey",
1327
+ "entityType": "fks",
1328
+ "schema": "public",
1329
+ "table": "nomkit_entitlement"
1330
+ },
1331
+ {
1332
+ "nameExplicit": false,
1333
+ "columns": [
1334
+ "customer_id"
1335
+ ],
1336
+ "schemaTo": "public",
1337
+ "tableTo": "nomkit_customer",
1338
+ "columnsTo": [
1339
+ "id"
1340
+ ],
1341
+ "onUpdate": "NO ACTION",
1342
+ "onDelete": "CASCADE",
1343
+ "name": "nomkit_entitlement_customer_id_nomkit_customer_id_fkey",
1344
+ "entityType": "fks",
1345
+ "schema": "public",
1346
+ "table": "nomkit_entitlement"
1347
+ },
1348
+ {
1349
+ "nameExplicit": false,
1350
+ "columns": [
1351
+ "feature_internal_id"
1352
+ ],
1353
+ "schemaTo": "public",
1354
+ "tableTo": "nomkit_feature",
1355
+ "columnsTo": [
1356
+ "internal_id"
1357
+ ],
1358
+ "onUpdate": "NO ACTION",
1359
+ "onDelete": "CASCADE",
1360
+ "name": "nomkit_entitlement_qXkYoPL3C6xl_fkey",
1361
+ "entityType": "fks",
1362
+ "schema": "public",
1363
+ "table": "nomkit_entitlement"
1364
+ },
1365
+ {
1366
+ "nameExplicit": false,
1367
+ "columns": [
1368
+ "customer_id"
1369
+ ],
1370
+ "schemaTo": "public",
1371
+ "tableTo": "nomkit_customer",
1372
+ "columnsTo": [
1373
+ "id"
1374
+ ],
1375
+ "onUpdate": "NO ACTION",
1376
+ "onDelete": "NO ACTION",
1377
+ "name": "nomkit_invoice_customer_id_nomkit_customer_id_fkey",
1378
+ "entityType": "fks",
1379
+ "schema": "public",
1380
+ "table": "nomkit_invoice"
1381
+ },
1382
+ {
1383
+ "nameExplicit": false,
1384
+ "columns": [
1385
+ "subscription_id"
1386
+ ],
1387
+ "schemaTo": "public",
1388
+ "tableTo": "nomkit_subscription",
1389
+ "columnsTo": [
1390
+ "id"
1391
+ ],
1392
+ "onUpdate": "NO ACTION",
1393
+ "onDelete": "NO ACTION",
1394
+ "name": "nomkit_invoice_subscription_id_nomkit_subscription_id_fkey",
1395
+ "entityType": "fks",
1396
+ "schema": "public",
1397
+ "table": "nomkit_invoice"
1398
+ },
1399
+ {
1400
+ "nameExplicit": false,
1401
+ "columns": [
1402
+ "customer_id"
1403
+ ],
1404
+ "schemaTo": "public",
1405
+ "tableTo": "nomkit_customer",
1406
+ "columnsTo": [
1407
+ "id"
1408
+ ],
1409
+ "onUpdate": "NO ACTION",
1410
+ "onDelete": "CASCADE",
1411
+ "name": "nomkit_payment_method_customer_id_nomkit_customer_id_fkey",
1412
+ "entityType": "fks",
1413
+ "schema": "public",
1414
+ "table": "nomkit_payment_method"
1415
+ },
1416
+ {
1417
+ "nameExplicit": false,
1418
+ "columns": [
1419
+ "feature_internal_id"
1420
+ ],
1421
+ "schemaTo": "public",
1422
+ "tableTo": "nomkit_feature",
1423
+ "columnsTo": [
1424
+ "internal_id"
1425
+ ],
1426
+ "onUpdate": "NO ACTION",
1427
+ "onDelete": "NO ACTION",
1428
+ "name": "nomkit_product_features_fRzfjURvzgtv_fkey",
1429
+ "entityType": "fks",
1430
+ "schema": "public",
1431
+ "table": "nomkit_product_features"
1432
+ },
1433
+ {
1434
+ "nameExplicit": false,
1435
+ "columns": [
1436
+ "customer_id"
1437
+ ],
1438
+ "schemaTo": "public",
1439
+ "tableTo": "nomkit_customer",
1440
+ "columnsTo": [
1441
+ "id"
1442
+ ],
1443
+ "onUpdate": "NO ACTION",
1444
+ "onDelete": "CASCADE",
1445
+ "name": "nomkit_subscription_customer_id_nomkit_customer_id_fkey",
1446
+ "entityType": "fks",
1447
+ "schema": "public",
1448
+ "table": "nomkit_subscription"
1449
+ },
1450
+ {
1451
+ "nameExplicit": false,
1452
+ "columns": [
1453
+ "product_internal_id"
1454
+ ],
1455
+ "schemaTo": "public",
1456
+ "tableTo": "nomkit_product",
1457
+ "columnsTo": [
1458
+ "internal_id"
1459
+ ],
1460
+ "onUpdate": "NO ACTION",
1461
+ "onDelete": "CASCADE",
1462
+ "name": "nomkit_subscription_ojvUYQjCR2Ut_fkey",
1463
+ "entityType": "fks",
1464
+ "schema": "public",
1465
+ "table": "nomkit_subscription"
1466
+ },
1467
+ {
1468
+ "nameExplicit": false,
1469
+ "columns": [
1470
+ "payment_method_id"
1471
+ ],
1472
+ "schemaTo": "public",
1473
+ "tableTo": "nomkit_payment_method",
1474
+ "columnsTo": [
1475
+ "id"
1476
+ ],
1477
+ "onUpdate": "NO ACTION",
1478
+ "onDelete": "NO ACTION",
1479
+ "name": "nomkit_subscription_280q9WzMFyev_fkey",
1480
+ "entityType": "fks",
1481
+ "schema": "public",
1482
+ "table": "nomkit_subscription"
1483
+ },
1484
+ {
1485
+ "nameExplicit": false,
1486
+ "columns": [
1487
+ "next_subscription_id"
1488
+ ],
1489
+ "schemaTo": "public",
1490
+ "tableTo": "nomkit_subscription",
1491
+ "columnsTo": [
1492
+ "id"
1493
+ ],
1494
+ "onUpdate": "NO ACTION",
1495
+ "onDelete": "SET NULL",
1496
+ "name": "nomkit_subscription_y7gGqXYjhQGH_fkey",
1497
+ "entityType": "fks",
1498
+ "schema": "public",
1499
+ "table": "nomkit_subscription"
1500
+ },
1501
+ {
1502
+ "columns": [
1503
+ "id"
1504
+ ],
1505
+ "nameExplicit": false,
1506
+ "name": "nomkit_customer_pkey",
1507
+ "schema": "public",
1508
+ "table": "nomkit_customer",
1509
+ "entityType": "pks"
1510
+ },
1511
+ {
1512
+ "columns": [
1513
+ "id"
1514
+ ],
1515
+ "nameExplicit": false,
1516
+ "name": "nomkit_entitlement_pkey",
1517
+ "schema": "public",
1518
+ "table": "nomkit_entitlement",
1519
+ "entityType": "pks"
1520
+ },
1521
+ {
1522
+ "columns": [
1523
+ "internal_id"
1524
+ ],
1525
+ "nameExplicit": false,
1526
+ "name": "nomkit_feature_pkey",
1527
+ "schema": "public",
1528
+ "table": "nomkit_feature",
1529
+ "entityType": "pks"
1530
+ },
1531
+ {
1532
+ "columns": [
1533
+ "id"
1534
+ ],
1535
+ "nameExplicit": false,
1536
+ "name": "nomkit_invoice_pkey",
1537
+ "schema": "public",
1538
+ "table": "nomkit_invoice",
1539
+ "entityType": "pks"
1540
+ },
1541
+ {
1542
+ "columns": [
1543
+ "id"
1544
+ ],
1545
+ "nameExplicit": false,
1546
+ "name": "nomkit_payment_method_pkey",
1547
+ "schema": "public",
1548
+ "table": "nomkit_payment_method",
1549
+ "entityType": "pks"
1550
+ },
1551
+ {
1552
+ "columns": [
1553
+ "id"
1554
+ ],
1555
+ "nameExplicit": false,
1556
+ "name": "nomkit_product_features_pkey",
1557
+ "schema": "public",
1558
+ "table": "nomkit_product_features",
1559
+ "entityType": "pks"
1560
+ },
1561
+ {
1562
+ "columns": [
1563
+ "internal_id"
1564
+ ],
1565
+ "nameExplicit": false,
1566
+ "name": "nomkit_product_pkey",
1567
+ "schema": "public",
1568
+ "table": "nomkit_product",
1569
+ "entityType": "pks"
1570
+ },
1571
+ {
1572
+ "columns": [
1573
+ "id"
1574
+ ],
1575
+ "nameExplicit": false,
1576
+ "name": "nomkit_subscription_pkey",
1577
+ "schema": "public",
1578
+ "table": "nomkit_subscription",
1579
+ "entityType": "pks"
1580
+ },
1581
+ {
1582
+ "nameExplicit": false,
1583
+ "columns": [
1584
+ "email"
1585
+ ],
1586
+ "nullsNotDistinct": false,
1587
+ "name": "nomkit_customer_email_key",
1588
+ "schema": "public",
1589
+ "table": "nomkit_customer",
1590
+ "entityType": "uniques"
1591
+ },
1592
+ {
1593
+ "nameExplicit": false,
1594
+ "columns": [
1595
+ "external_id"
1596
+ ],
1597
+ "nullsNotDistinct": false,
1598
+ "name": "nomkit_customer_external_id_key",
1599
+ "schema": "public",
1600
+ "table": "nomkit_customer",
1601
+ "entityType": "uniques"
1602
+ },
1603
+ {
1604
+ "nameExplicit": false,
1605
+ "columns": [
1606
+ "token_key"
1607
+ ],
1608
+ "nullsNotDistinct": false,
1609
+ "name": "nomkit_payment_method_token_key_key",
1610
+ "schema": "public",
1611
+ "table": "nomkit_payment_method",
1612
+ "entityType": "uniques"
1613
+ }
1614
+ ],
1615
+ "renames": []
1616
+ }