@capgo/cli 7.27.1 → 7.28.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.
@@ -343,6 +343,114 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
343
343
  };
344
344
  Relationships: [];
345
345
  };
346
+ build_logs: {
347
+ Row: {
348
+ billable_seconds: number;
349
+ build_id: string;
350
+ build_time_seconds: number;
351
+ created_at: string;
352
+ id: string;
353
+ org_id: string;
354
+ platform: string;
355
+ user_id: string | null;
356
+ };
357
+ Insert: {
358
+ billable_seconds: number;
359
+ build_id: string;
360
+ build_time_seconds: number;
361
+ created_at?: string;
362
+ id?: string;
363
+ org_id: string;
364
+ platform: string;
365
+ user_id?: string | null;
366
+ };
367
+ Update: {
368
+ billable_seconds?: number;
369
+ build_id?: string;
370
+ build_time_seconds?: number;
371
+ created_at?: string;
372
+ id?: string;
373
+ org_id?: string;
374
+ platform?: string;
375
+ user_id?: string | null;
376
+ };
377
+ Relationships: [{
378
+ foreignKeyName: "build_logs_org_id_fkey";
379
+ columns: ["org_id"];
380
+ isOneToOne: false;
381
+ referencedRelation: "orgs";
382
+ referencedColumns: ["id"];
383
+ }];
384
+ };
385
+ build_requests: {
386
+ Row: {
387
+ app_id: string;
388
+ build_config: import("../types/supabase.types").Json | null;
389
+ build_mode: string;
390
+ builder_job_id: string | null;
391
+ created_at: string;
392
+ id: string;
393
+ last_error: string | null;
394
+ owner_org: string;
395
+ platform: string;
396
+ requested_by: string;
397
+ status: string;
398
+ updated_at: string;
399
+ upload_expires_at: string;
400
+ upload_path: string;
401
+ upload_session_key: string;
402
+ upload_url: string;
403
+ };
404
+ Insert: {
405
+ app_id: string;
406
+ build_config?: import("../types/supabase.types").Json | null;
407
+ build_mode?: string;
408
+ builder_job_id?: string | null;
409
+ created_at?: string;
410
+ id?: string;
411
+ last_error?: string | null;
412
+ owner_org: string;
413
+ platform: string;
414
+ requested_by: string;
415
+ status?: string;
416
+ updated_at?: string;
417
+ upload_expires_at: string;
418
+ upload_path: string;
419
+ upload_session_key: string;
420
+ upload_url: string;
421
+ };
422
+ Update: {
423
+ app_id?: string;
424
+ build_config?: import("../types/supabase.types").Json | null;
425
+ build_mode?: string;
426
+ builder_job_id?: string | null;
427
+ created_at?: string;
428
+ id?: string;
429
+ last_error?: string | null;
430
+ owner_org?: string;
431
+ platform?: string;
432
+ requested_by?: string;
433
+ status?: string;
434
+ updated_at?: string;
435
+ upload_expires_at?: string;
436
+ upload_path?: string;
437
+ upload_session_key?: string;
438
+ upload_url?: string;
439
+ };
440
+ Relationships: [{
441
+ foreignKeyName: "build_requests_app_id_fkey";
442
+ columns: ["app_id"];
443
+ isOneToOne: false;
444
+ referencedRelation: "apps";
445
+ referencedColumns: ["app_id"];
446
+ }, {
447
+ foreignKeyName: "build_requests_owner_org_fkey";
448
+ columns: ["owner_org"];
449
+ isOneToOne: false;
450
+ referencedRelation: "orgs";
451
+ referencedColumns: ["id"];
452
+ }];
453
+ };
346
454
  capgo_credits_steps: {
347
455
  Row: {
348
456
  created_at: string;
@@ -529,6 +637,33 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
529
637
  };
530
638
  Relationships: [];
531
639
  };
640
+ daily_build_time: {
641
+ Row: {
642
+ app_id: string;
643
+ build_count: number;
644
+ build_time_seconds: number;
645
+ date: string;
646
+ };
647
+ Insert: {
648
+ app_id: string;
649
+ build_count?: number;
650
+ build_time_seconds?: number;
651
+ date: string;
652
+ };
653
+ Update: {
654
+ app_id?: string;
655
+ build_count?: number;
656
+ build_time_seconds?: number;
657
+ date?: string;
658
+ };
659
+ Relationships: [{
660
+ foreignKeyName: "daily_build_time_app_id_fkey";
661
+ columns: ["app_id"];
662
+ isOneToOne: false;
663
+ referencedRelation: "apps";
664
+ referencedColumns: ["app_id"];
665
+ }];
666
+ };
532
667
  daily_mau: {
533
668
  Row: {
534
669
  app_id: string;
@@ -1040,6 +1175,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1040
1175
  Row: {
1041
1176
  bandwidth: number;
1042
1177
  bandwidth_unit: number | null;
1178
+ build_time_unit: number;
1043
1179
  created_at: string;
1044
1180
  description: string;
1045
1181
  id: string;
@@ -1062,6 +1198,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1062
1198
  Insert: {
1063
1199
  bandwidth: number;
1064
1200
  bandwidth_unit?: number | null;
1201
+ build_time_unit?: number;
1065
1202
  created_at?: string;
1066
1203
  description?: string;
1067
1204
  id?: string;
@@ -1084,6 +1221,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1084
1221
  Update: {
1085
1222
  bandwidth?: number;
1086
1223
  bandwidth_unit?: number | null;
1224
+ build_time_unit?: number;
1087
1225
  created_at?: string;
1088
1226
  description?: string;
1089
1227
  id?: string;
@@ -1159,6 +1297,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1159
1297
  stripe_info: {
1160
1298
  Row: {
1161
1299
  bandwidth_exceeded: boolean | null;
1300
+ build_time_exceeded: boolean | null;
1162
1301
  canceled_at: string | null;
1163
1302
  created_at: string;
1164
1303
  customer_id: string;
@@ -1180,6 +1319,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1180
1319
  };
1181
1320
  Insert: {
1182
1321
  bandwidth_exceeded?: boolean | null;
1322
+ build_time_exceeded?: boolean | null;
1183
1323
  canceled_at?: string | null;
1184
1324
  created_at?: string;
1185
1325
  customer_id: string;
@@ -1201,6 +1341,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1201
1341
  };
1202
1342
  Update: {
1203
1343
  bandwidth_exceeded?: boolean | null;
1344
+ build_time_exceeded?: boolean | null;
1204
1345
  canceled_at?: string | null;
1205
1346
  created_at?: string;
1206
1347
  customer_id?: string;
@@ -1770,6 +1911,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1770
1911
  find_best_plan_v3: {
1771
1912
  Args: {
1772
1913
  bandwidth: number;
1914
+ build_time_seconds?: number;
1773
1915
  mau: number;
1774
1916
  storage: number;
1775
1917
  };
@@ -1778,6 +1920,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1778
1920
  find_fit_plan_v3: {
1779
1921
  Args: {
1780
1922
  bandwidth: number;
1923
+ build_time_seconds?: number;
1781
1924
  mau: number;
1782
1925
  storage: number;
1783
1926
  };
@@ -1806,6 +1949,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1806
1949
  Returns: {
1807
1950
  app_id: string;
1808
1951
  bandwidth: number;
1952
+ build_time_seconds: number;
1809
1953
  date: string;
1810
1954
  fail: number;
1811
1955
  get: number;
@@ -1816,13 +1960,14 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1816
1960
  }[];
1817
1961
  } | {
1818
1962
  Args: {
1819
- p_end_date: string;
1820
- p_org_id: string;
1821
- p_start_date: string;
1963
+ end_date: string;
1964
+ org_id: string;
1965
+ start_date: string;
1822
1966
  };
1823
1967
  Returns: {
1824
1968
  app_id: string;
1825
1969
  bandwidth: number;
1970
+ build_time_seconds: number;
1826
1971
  date: string;
1827
1972
  fail: number;
1828
1973
  get: number;
@@ -1846,6 +1991,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1846
1991
  };
1847
1992
  Returns: {
1848
1993
  bandwidth: number;
1994
+ build_time_seconds: number;
1849
1995
  mau: number;
1850
1996
  storage: number;
1851
1997
  }[];
@@ -1998,6 +2144,17 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
1998
2144
  };
1999
2145
  Returns: string;
2000
2146
  };
2147
+ get_org_build_time_seconds: {
2148
+ Args: {
2149
+ p_end_date: string;
2150
+ p_org_id: string;
2151
+ p_start_date: string;
2152
+ };
2153
+ Returns: {
2154
+ total_build_time_seconds: number;
2155
+ total_builds: number;
2156
+ }[];
2157
+ };
2001
2158
  get_org_members: {
2002
2159
  Args: {
2003
2160
  guild_id: string;
@@ -2100,6 +2257,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2100
2257
  };
2101
2258
  Returns: {
2102
2259
  bandwidth_percent: number;
2260
+ build_time_percent: number;
2103
2261
  mau_percent: number;
2104
2262
  storage_percent: number;
2105
2263
  total_percent: number;
@@ -2112,6 +2270,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2112
2270
  };
2113
2271
  Returns: {
2114
2272
  bandwidth_percent: number;
2273
+ build_time_percent: number;
2115
2274
  mau_percent: number;
2116
2275
  storage_percent: number;
2117
2276
  total_percent: number;
@@ -2137,6 +2296,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2137
2296
  };
2138
2297
  Returns: {
2139
2298
  bandwidth: number;
2299
+ build_time_seconds: number;
2140
2300
  fail: number;
2141
2301
  get: number;
2142
2302
  install: number;
@@ -2152,6 +2312,7 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2152
2312
  };
2153
2313
  Returns: {
2154
2314
  bandwidth: number;
2315
+ build_time_seconds: number;
2155
2316
  fail: number;
2156
2317
  get: number;
2157
2318
  install: number;
@@ -2345,6 +2506,12 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2345
2506
  };
2346
2507
  Returns: boolean;
2347
2508
  };
2509
+ is_build_time_exceeded_by_org: {
2510
+ Args: {
2511
+ org_id: string;
2512
+ };
2513
+ Returns: boolean;
2514
+ };
2348
2515
  is_canceled_org: {
2349
2516
  Args: {
2350
2517
  orgid: string;
@@ -2601,6 +2768,16 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2601
2768
  version_id: number;
2602
2769
  }[];
2603
2770
  };
2771
+ record_build_time: {
2772
+ Args: {
2773
+ p_build_id: string;
2774
+ p_build_time_unit: number;
2775
+ p_org_id: string;
2776
+ p_platform: string;
2777
+ p_user_id: string;
2778
+ };
2779
+ Returns: string;
2780
+ };
2604
2781
  remove_old_jobs: {
2605
2782
  Args: never;
2606
2783
  Returns: undefined;
@@ -2640,6 +2817,13 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2640
2817
  };
2641
2818
  Returns: undefined;
2642
2819
  };
2820
+ set_build_time_exceeded_by_org: {
2821
+ Args: {
2822
+ disabled: boolean;
2823
+ org_id: string;
2824
+ };
2825
+ Returns: undefined;
2826
+ };
2643
2827
  set_mau_exceeded_by_org: {
2644
2828
  Args: {
2645
2829
  disabled: boolean;
@@ -2695,9 +2879,9 @@ export declare function findChannelDevices(supabase: SupabaseClient<Database>, a
2695
2879
  };
2696
2880
  };
2697
2881
  Enums: {
2698
- action_type: "mau" | "storage" | "bandwidth";
2882
+ action_type: "mau" | "storage" | "bandwidth" | "build_time";
2699
2883
  app_mode: "prod" | "dev" | "livereload";
2700
- credit_metric_type: "mau" | "bandwidth" | "storage";
2884
+ credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
2701
2885
  credit_transaction_type: "grant" | "purchase" | "manual_grant" | "deduction" | "expiry" | "refund";
2702
2886
  disable_update: "major" | "minor" | "patch" | "version_number" | "none";
2703
2887
  key_mode: "read" | "write" | "all" | "upload";
@@ -3063,6 +3247,114 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3063
3247
  };
3064
3248
  Relationships: [];
3065
3249
  };
3250
+ build_logs: {
3251
+ Row: {
3252
+ billable_seconds: number;
3253
+ build_id: string;
3254
+ build_time_seconds: number;
3255
+ created_at: string;
3256
+ id: string;
3257
+ org_id: string;
3258
+ platform: string;
3259
+ user_id: string | null;
3260
+ };
3261
+ Insert: {
3262
+ billable_seconds: number;
3263
+ build_id: string;
3264
+ build_time_seconds: number;
3265
+ created_at?: string;
3266
+ id?: string;
3267
+ org_id: string;
3268
+ platform: string;
3269
+ user_id?: string | null;
3270
+ };
3271
+ Update: {
3272
+ billable_seconds?: number;
3273
+ build_id?: string;
3274
+ build_time_seconds?: number;
3275
+ created_at?: string;
3276
+ id?: string;
3277
+ org_id?: string;
3278
+ platform?: string;
3279
+ user_id?: string | null;
3280
+ };
3281
+ Relationships: [{
3282
+ foreignKeyName: "build_logs_org_id_fkey";
3283
+ columns: ["org_id"];
3284
+ isOneToOne: false;
3285
+ referencedRelation: "orgs";
3286
+ referencedColumns: ["id"];
3287
+ }];
3288
+ };
3289
+ build_requests: {
3290
+ Row: {
3291
+ app_id: string;
3292
+ build_config: import("../types/supabase.types").Json | null;
3293
+ build_mode: string;
3294
+ builder_job_id: string | null;
3295
+ created_at: string;
3296
+ id: string;
3297
+ last_error: string | null;
3298
+ owner_org: string;
3299
+ platform: string;
3300
+ requested_by: string;
3301
+ status: string;
3302
+ updated_at: string;
3303
+ upload_expires_at: string;
3304
+ upload_path: string;
3305
+ upload_session_key: string;
3306
+ upload_url: string;
3307
+ };
3308
+ Insert: {
3309
+ app_id: string;
3310
+ build_config?: import("../types/supabase.types").Json | null;
3311
+ build_mode?: string;
3312
+ builder_job_id?: string | null;
3313
+ created_at?: string;
3314
+ id?: string;
3315
+ last_error?: string | null;
3316
+ owner_org: string;
3317
+ platform: string;
3318
+ requested_by: string;
3319
+ status?: string;
3320
+ updated_at?: string;
3321
+ upload_expires_at: string;
3322
+ upload_path: string;
3323
+ upload_session_key: string;
3324
+ upload_url: string;
3325
+ };
3326
+ Update: {
3327
+ app_id?: string;
3328
+ build_config?: import("../types/supabase.types").Json | null;
3329
+ build_mode?: string;
3330
+ builder_job_id?: string | null;
3331
+ created_at?: string;
3332
+ id?: string;
3333
+ last_error?: string | null;
3334
+ owner_org?: string;
3335
+ platform?: string;
3336
+ requested_by?: string;
3337
+ status?: string;
3338
+ updated_at?: string;
3339
+ upload_expires_at?: string;
3340
+ upload_path?: string;
3341
+ upload_session_key?: string;
3342
+ upload_url?: string;
3343
+ };
3344
+ Relationships: [{
3345
+ foreignKeyName: "build_requests_app_id_fkey";
3346
+ columns: ["app_id"];
3347
+ isOneToOne: false;
3348
+ referencedRelation: "apps";
3349
+ referencedColumns: ["app_id"];
3350
+ }, {
3351
+ foreignKeyName: "build_requests_owner_org_fkey";
3352
+ columns: ["owner_org"];
3353
+ isOneToOne: false;
3354
+ referencedRelation: "orgs";
3355
+ referencedColumns: ["id"];
3356
+ }];
3357
+ };
3066
3358
  capgo_credits_steps: {
3067
3359
  Row: {
3068
3360
  created_at: string;
@@ -3249,6 +3541,33 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3249
3541
  };
3250
3542
  Relationships: [];
3251
3543
  };
3544
+ daily_build_time: {
3545
+ Row: {
3546
+ app_id: string;
3547
+ build_count: number;
3548
+ build_time_seconds: number;
3549
+ date: string;
3550
+ };
3551
+ Insert: {
3552
+ app_id: string;
3553
+ build_count?: number;
3554
+ build_time_seconds?: number;
3555
+ date: string;
3556
+ };
3557
+ Update: {
3558
+ app_id?: string;
3559
+ build_count?: number;
3560
+ build_time_seconds?: number;
3561
+ date?: string;
3562
+ };
3563
+ Relationships: [{
3564
+ foreignKeyName: "daily_build_time_app_id_fkey";
3565
+ columns: ["app_id"];
3566
+ isOneToOne: false;
3567
+ referencedRelation: "apps";
3568
+ referencedColumns: ["app_id"];
3569
+ }];
3570
+ };
3252
3571
  daily_mau: {
3253
3572
  Row: {
3254
3573
  app_id: string;
@@ -3760,6 +4079,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3760
4079
  Row: {
3761
4080
  bandwidth: number;
3762
4081
  bandwidth_unit: number | null;
4082
+ build_time_unit: number;
3763
4083
  created_at: string;
3764
4084
  description: string;
3765
4085
  id: string;
@@ -3782,6 +4102,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3782
4102
  Insert: {
3783
4103
  bandwidth: number;
3784
4104
  bandwidth_unit?: number | null;
4105
+ build_time_unit?: number;
3785
4106
  created_at?: string;
3786
4107
  description?: string;
3787
4108
  id?: string;
@@ -3804,6 +4125,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3804
4125
  Update: {
3805
4126
  bandwidth?: number;
3806
4127
  bandwidth_unit?: number | null;
4128
+ build_time_unit?: number;
3807
4129
  created_at?: string;
3808
4130
  description?: string;
3809
4131
  id?: string;
@@ -3879,6 +4201,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3879
4201
  stripe_info: {
3880
4202
  Row: {
3881
4203
  bandwidth_exceeded: boolean | null;
4204
+ build_time_exceeded: boolean | null;
3882
4205
  canceled_at: string | null;
3883
4206
  created_at: string;
3884
4207
  customer_id: string;
@@ -3900,6 +4223,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3900
4223
  };
3901
4224
  Insert: {
3902
4225
  bandwidth_exceeded?: boolean | null;
4226
+ build_time_exceeded?: boolean | null;
3903
4227
  canceled_at?: string | null;
3904
4228
  created_at?: string;
3905
4229
  customer_id: string;
@@ -3921,6 +4245,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
3921
4245
  };
3922
4246
  Update: {
3923
4247
  bandwidth_exceeded?: boolean | null;
4248
+ build_time_exceeded?: boolean | null;
3924
4249
  canceled_at?: string | null;
3925
4250
  created_at?: string;
3926
4251
  customer_id?: string;
@@ -4490,6 +4815,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4490
4815
  find_best_plan_v3: {
4491
4816
  Args: {
4492
4817
  bandwidth: number;
4818
+ build_time_seconds?: number;
4493
4819
  mau: number;
4494
4820
  storage: number;
4495
4821
  };
@@ -4498,6 +4824,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4498
4824
  find_fit_plan_v3: {
4499
4825
  Args: {
4500
4826
  bandwidth: number;
4827
+ build_time_seconds?: number;
4501
4828
  mau: number;
4502
4829
  storage: number;
4503
4830
  };
@@ -4526,6 +4853,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4526
4853
  Returns: {
4527
4854
  app_id: string;
4528
4855
  bandwidth: number;
4856
+ build_time_seconds: number;
4529
4857
  date: string;
4530
4858
  fail: number;
4531
4859
  get: number;
@@ -4536,13 +4864,14 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4536
4864
  }[];
4537
4865
  } | {
4538
4866
  Args: {
4539
- p_end_date: string;
4540
- p_org_id: string;
4541
- p_start_date: string;
4867
+ end_date: string;
4868
+ org_id: string;
4869
+ start_date: string;
4542
4870
  };
4543
4871
  Returns: {
4544
4872
  app_id: string;
4545
4873
  bandwidth: number;
4874
+ build_time_seconds: number;
4546
4875
  date: string;
4547
4876
  fail: number;
4548
4877
  get: number;
@@ -4566,6 +4895,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4566
4895
  };
4567
4896
  Returns: {
4568
4897
  bandwidth: number;
4898
+ build_time_seconds: number;
4569
4899
  mau: number;
4570
4900
  storage: number;
4571
4901
  }[];
@@ -4718,6 +5048,17 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4718
5048
  };
4719
5049
  Returns: string;
4720
5050
  };
5051
+ get_org_build_time_seconds: {
5052
+ Args: {
5053
+ p_end_date: string;
5054
+ p_org_id: string;
5055
+ p_start_date: string;
5056
+ };
5057
+ Returns: {
5058
+ total_build_time_seconds: number;
5059
+ total_builds: number;
5060
+ }[];
5061
+ };
4721
5062
  get_org_members: {
4722
5063
  Args: {
4723
5064
  guild_id: string;
@@ -4820,6 +5161,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4820
5161
  };
4821
5162
  Returns: {
4822
5163
  bandwidth_percent: number;
5164
+ build_time_percent: number;
4823
5165
  mau_percent: number;
4824
5166
  storage_percent: number;
4825
5167
  total_percent: number;
@@ -4832,6 +5174,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4832
5174
  };
4833
5175
  Returns: {
4834
5176
  bandwidth_percent: number;
5177
+ build_time_percent: number;
4835
5178
  mau_percent: number;
4836
5179
  storage_percent: number;
4837
5180
  total_percent: number;
@@ -4857,6 +5200,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4857
5200
  };
4858
5201
  Returns: {
4859
5202
  bandwidth: number;
5203
+ build_time_seconds: number;
4860
5204
  fail: number;
4861
5205
  get: number;
4862
5206
  install: number;
@@ -4872,6 +5216,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
4872
5216
  };
4873
5217
  Returns: {
4874
5218
  bandwidth: number;
5219
+ build_time_seconds: number;
4875
5220
  fail: number;
4876
5221
  get: number;
4877
5222
  install: number;
@@ -5065,6 +5410,12 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
5065
5410
  };
5066
5411
  Returns: boolean;
5067
5412
  };
5413
+ is_build_time_exceeded_by_org: {
5414
+ Args: {
5415
+ org_id: string;
5416
+ };
5417
+ Returns: boolean;
5418
+ };
5068
5419
  is_canceled_org: {
5069
5420
  Args: {
5070
5421
  orgid: string;
@@ -5321,6 +5672,16 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
5321
5672
  version_id: number;
5322
5673
  }[];
5323
5674
  };
5675
+ record_build_time: {
5676
+ Args: {
5677
+ p_build_id: string;
5678
+ p_build_time_unit: number;
5679
+ p_org_id: string;
5680
+ p_platform: string;
5681
+ p_user_id: string;
5682
+ };
5683
+ Returns: string;
5684
+ };
5324
5685
  remove_old_jobs: {
5325
5686
  Args: never;
5326
5687
  Returns: undefined;
@@ -5360,6 +5721,13 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
5360
5721
  };
5361
5722
  Returns: undefined;
5362
5723
  };
5724
+ set_build_time_exceeded_by_org: {
5725
+ Args: {
5726
+ disabled: boolean;
5727
+ org_id: string;
5728
+ };
5729
+ Returns: undefined;
5730
+ };
5363
5731
  set_mau_exceeded_by_org: {
5364
5732
  Args: {
5365
5733
  disabled: boolean;
@@ -5415,9 +5783,9 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
5415
5783
  };
5416
5784
  };
5417
5785
  Enums: {
5418
- action_type: "mau" | "storage" | "bandwidth";
5786
+ action_type: "mau" | "storage" | "bandwidth" | "build_time";
5419
5787
  app_mode: "prod" | "dev" | "livereload";
5420
- credit_metric_type: "mau" | "bandwidth" | "storage";
5788
+ credit_metric_type: "mau" | "bandwidth" | "storage" | "build_time";
5421
5789
  credit_transaction_type: "grant" | "purchase" | "manual_grant" | "deduction" | "expiry" | "refund";
5422
5790
  disable_update: "major" | "minor" | "patch" | "version_number" | "none";
5423
5791
  key_mode: "read" | "write" | "all" | "upload";