@secrecy/trpc-api-types 1.40.0-fix-create-folder-permissions.1 → 1.40.0-fix-reset-billing.1

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 (2) hide show
  1. package/dist/index.d.ts +57 -83
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -573,6 +573,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
573
573
  billingProfileStripeCustomerId: string | null;
574
574
  status: "active" | "inactive" | "pending_for_payment";
575
575
  minMembersToReport: number;
576
+ lastMetricsReset: Date;
576
577
  };
577
578
  meta: any;
578
579
  }>;
@@ -1004,16 +1005,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1004
1005
  appId: string;
1005
1006
  };
1006
1007
  accesses: {
1007
- identityPubKey: string;
1008
- sharedByPubKey: string;
1009
1008
  rights: "delete" | "read" | "write";
1010
- sharedByRootPubKey: string;
1011
1009
  nameKey: string | null;
1012
1010
  isRoot: boolean;
1013
1011
  addAccess: "delete" | "read" | "write" | null;
1014
1012
  sharingAddAccess: "delete" | "read" | "write" | null;
1015
1013
  delAccess: "delete" | "read" | "write" | null;
1016
1014
  sharingDelAccess: "delete" | "read" | "write" | null;
1015
+ sharedByPubKey: string;
1016
+ identityPubKey: string;
1017
1017
  }[];
1018
1018
  permissions: {
1019
1019
  rights: "delete" | "read" | "write";
@@ -1054,16 +1054,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1054
1054
  appId: string;
1055
1055
  };
1056
1056
  accesses: {
1057
- identityPubKey: string;
1058
- sharedByPubKey: string;
1059
1057
  rights: "delete" | "read" | "write";
1060
- sharedByRootPubKey: string;
1061
1058
  nameKey: string | null;
1062
1059
  isRoot: boolean;
1063
1060
  addAccess: "delete" | "read" | "write" | null;
1064
1061
  sharingAddAccess: "delete" | "read" | "write" | null;
1065
1062
  delAccess: "delete" | "read" | "write" | null;
1066
1063
  sharingDelAccess: "delete" | "read" | "write" | null;
1064
+ sharedByPubKey: string;
1065
+ identityPubKey: string;
1067
1066
  }[];
1068
1067
  permissions: {
1069
1068
  rights: "delete" | "read" | "write";
@@ -1099,16 +1098,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1099
1098
  appId: string;
1100
1099
  };
1101
1100
  accesses: {
1102
- identityPubKey: string;
1103
- sharedByPubKey: string;
1104
1101
  rights: "delete" | "read" | "write";
1105
- sharedByRootPubKey: string;
1106
1102
  nameKey: string | null;
1107
1103
  isRoot: boolean;
1108
1104
  addAccess: "delete" | "read" | "write" | null;
1109
1105
  sharingAddAccess: "delete" | "read" | "write" | null;
1110
1106
  delAccess: "delete" | "read" | "write" | null;
1111
1107
  sharingDelAccess: "delete" | "read" | "write" | null;
1108
+ sharedByPubKey: string;
1109
+ identityPubKey: string;
1112
1110
  }[];
1113
1111
  permissions: {
1114
1112
  rights: "delete" | "read" | "write";
@@ -1409,12 +1407,9 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1409
1407
  appId?: string | null | undefined;
1410
1408
  dataId: string;
1411
1409
  nodeId: string | null;
1410
+ key: string | null;
1412
1411
  fileName: string;
1413
- encryptedAccesses: {
1414
- pubKey: string;
1415
- key: string | null;
1416
- nameKey: string;
1417
- }[];
1412
+ nameKey: string;
1418
1413
  };
1419
1414
  output: {
1420
1415
  id: string;
@@ -1433,16 +1428,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1433
1428
  appId: string;
1434
1429
  };
1435
1430
  accesses: {
1436
- identityPubKey: string;
1437
- sharedByPubKey: string;
1438
1431
  rights: "delete" | "read" | "write";
1439
- sharedByRootPubKey: string;
1440
1432
  nameKey: string | null;
1441
1433
  isRoot: boolean;
1442
1434
  addAccess: "delete" | "read" | "write" | null;
1443
1435
  sharingAddAccess: "delete" | "read" | "write" | null;
1444
1436
  delAccess: "delete" | "read" | "write" | null;
1445
1437
  sharingDelAccess: "delete" | "read" | "write" | null;
1438
+ sharedByPubKey: string;
1439
+ identityPubKey: string;
1446
1440
  }[];
1447
1441
  permissions: {
1448
1442
  rights: "delete" | "read" | "write";
@@ -1483,16 +1477,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1483
1477
  appId: string;
1484
1478
  };
1485
1479
  accesses: {
1486
- identityPubKey: string;
1487
- sharedByPubKey: string;
1488
1480
  rights: "delete" | "read" | "write";
1489
- sharedByRootPubKey: string;
1490
1481
  nameKey: string | null;
1491
1482
  isRoot: boolean;
1492
1483
  addAccess: "delete" | "read" | "write" | null;
1493
1484
  sharingAddAccess: "delete" | "read" | "write" | null;
1494
1485
  delAccess: "delete" | "read" | "write" | null;
1495
1486
  sharingDelAccess: "delete" | "read" | "write" | null;
1487
+ sharedByPubKey: string;
1488
+ identityPubKey: string;
1496
1489
  }[];
1497
1490
  permissions: {
1498
1491
  rights: "delete" | "read" | "write";
@@ -1528,16 +1521,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1528
1521
  appId: string;
1529
1522
  };
1530
1523
  accesses: {
1531
- identityPubKey: string;
1532
- sharedByPubKey: string;
1533
1524
  rights: "delete" | "read" | "write";
1534
- sharedByRootPubKey: string;
1535
1525
  nameKey: string | null;
1536
1526
  isRoot: boolean;
1537
1527
  addAccess: "delete" | "read" | "write" | null;
1538
1528
  sharingAddAccess: "delete" | "read" | "write" | null;
1539
1529
  delAccess: "delete" | "read" | "write" | null;
1540
1530
  sharingDelAccess: "delete" | "read" | "write" | null;
1531
+ sharedByPubKey: string;
1532
+ identityPubKey: string;
1541
1533
  }[];
1542
1534
  permissions: {
1543
1535
  rights: "delete" | "read" | "write";
@@ -1671,7 +1663,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1671
1663
  access: {
1672
1664
  identityPubKey: string;
1673
1665
  sharedByPubKey: string;
1674
- sharedByRootPubKey: string;
1675
1666
  nameKey: string;
1676
1667
  };
1677
1668
  history: {
@@ -2011,12 +2002,9 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2011
2002
  input: {
2012
2003
  fromIdentityPubKey?: string | null | undefined;
2013
2004
  appId?: string | null | undefined;
2005
+ nameKey: string | null;
2014
2006
  name: string;
2015
2007
  parentId: string | null;
2016
- encryptedAccesses: {
2017
- pubKey: string;
2018
- nameKey: string;
2019
- }[];
2020
2008
  };
2021
2009
  output: {
2022
2010
  id: string;
@@ -2035,16 +2023,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2035
2023
  appId: string;
2036
2024
  };
2037
2025
  accesses: {
2038
- identityPubKey: string;
2039
- sharedByPubKey: string;
2040
2026
  rights: "delete" | "read" | "write";
2041
- sharedByRootPubKey: string;
2042
2027
  nameKey: string | null;
2043
2028
  isRoot: boolean;
2044
2029
  addAccess: "delete" | "read" | "write" | null;
2045
2030
  sharingAddAccess: "delete" | "read" | "write" | null;
2046
2031
  delAccess: "delete" | "read" | "write" | null;
2047
2032
  sharingDelAccess: "delete" | "read" | "write" | null;
2033
+ sharedByPubKey: string;
2034
+ identityPubKey: string;
2048
2035
  }[];
2049
2036
  permissions: {
2050
2037
  rights: "delete" | "read" | "write";
@@ -2085,16 +2072,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2085
2072
  appId: string;
2086
2073
  };
2087
2074
  accesses: {
2088
- identityPubKey: string;
2089
- sharedByPubKey: string;
2090
2075
  rights: "delete" | "read" | "write";
2091
- sharedByRootPubKey: string;
2092
2076
  nameKey: string | null;
2093
2077
  isRoot: boolean;
2094
2078
  addAccess: "delete" | "read" | "write" | null;
2095
2079
  sharingAddAccess: "delete" | "read" | "write" | null;
2096
2080
  delAccess: "delete" | "read" | "write" | null;
2097
2081
  sharingDelAccess: "delete" | "read" | "write" | null;
2082
+ sharedByPubKey: string;
2083
+ identityPubKey: string;
2098
2084
  }[];
2099
2085
  permissions: {
2100
2086
  rights: "delete" | "read" | "write";
@@ -2130,16 +2116,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2130
2116
  appId: string;
2131
2117
  };
2132
2118
  accesses: {
2133
- identityPubKey: string;
2134
- sharedByPubKey: string;
2135
2119
  rights: "delete" | "read" | "write";
2136
- sharedByRootPubKey: string;
2137
2120
  nameKey: string | null;
2138
2121
  isRoot: boolean;
2139
2122
  addAccess: "delete" | "read" | "write" | null;
2140
2123
  sharingAddAccess: "delete" | "read" | "write" | null;
2141
2124
  delAccess: "delete" | "read" | "write" | null;
2142
2125
  sharingDelAccess: "delete" | "read" | "write" | null;
2126
+ sharedByPubKey: string;
2127
+ identityPubKey: string;
2143
2128
  }[];
2144
2129
  permissions: {
2145
2130
  rights: "delete" | "read" | "write";
@@ -2234,7 +2219,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2234
2219
  appId?: string | null | undefined;
2235
2220
  nodeId: string;
2236
2221
  destPubKey: string;
2237
- fromPubKey: string;
2238
2222
  };
2239
2223
  output: {
2240
2224
  isDeleted: boolean;
@@ -2319,7 +2303,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2319
2303
  sharingDelAccess: "delete" | "read" | "write" | null;
2320
2304
  identityPubKey: string;
2321
2305
  sharedByPubKey: string;
2322
- sharedByRootPubKey: string;
2323
2306
  initiatorAppId: string;
2324
2307
  initiatorUserId: string;
2325
2308
  };
@@ -2364,16 +2347,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2364
2347
  appId: string;
2365
2348
  };
2366
2349
  accesses: {
2367
- identityPubKey: string;
2368
- sharedByPubKey: string;
2369
2350
  rights: "delete" | "read" | "write";
2370
- sharedByRootPubKey: string;
2371
2351
  nameKey: string | null;
2372
2352
  isRoot: boolean;
2373
2353
  addAccess: "delete" | "read" | "write" | null;
2374
2354
  sharingAddAccess: "delete" | "read" | "write" | null;
2375
2355
  delAccess: "delete" | "read" | "write" | null;
2376
2356
  sharingDelAccess: "delete" | "read" | "write" | null;
2357
+ sharedByPubKey: string;
2358
+ identityPubKey: string;
2377
2359
  }[];
2378
2360
  permissions: {
2379
2361
  rights: "delete" | "read" | "write";
@@ -2424,16 +2406,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2424
2406
  appId: string;
2425
2407
  };
2426
2408
  accesses: {
2427
- identityPubKey: string;
2428
- sharedByPubKey: string;
2429
2409
  rights: "delete" | "read" | "write";
2430
- sharedByRootPubKey: string;
2431
2410
  nameKey: string | null;
2432
2411
  isRoot: boolean;
2433
2412
  addAccess: "delete" | "read" | "write" | null;
2434
2413
  sharingAddAccess: "delete" | "read" | "write" | null;
2435
2414
  delAccess: "delete" | "read" | "write" | null;
2436
2415
  sharingDelAccess: "delete" | "read" | "write" | null;
2416
+ sharedByPubKey: string;
2417
+ identityPubKey: string;
2437
2418
  }[];
2438
2419
  permissions: {
2439
2420
  rights: "delete" | "read" | "write";
@@ -2485,16 +2466,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2485
2466
  appId: string;
2486
2467
  };
2487
2468
  accesses: {
2488
- identityPubKey: string;
2489
- sharedByPubKey: string;
2490
2469
  rights: "delete" | "read" | "write";
2491
- sharedByRootPubKey: string;
2492
2470
  nameKey: string | null;
2493
2471
  isRoot: boolean;
2494
2472
  addAccess: "delete" | "read" | "write" | null;
2495
2473
  sharingAddAccess: "delete" | "read" | "write" | null;
2496
2474
  delAccess: "delete" | "read" | "write" | null;
2497
2475
  sharingDelAccess: "delete" | "read" | "write" | null;
2476
+ sharedByPubKey: string;
2477
+ identityPubKey: string;
2498
2478
  }[];
2499
2479
  permissions: {
2500
2480
  rights: "delete" | "read" | "write";
@@ -2535,16 +2515,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2535
2515
  appId: string;
2536
2516
  };
2537
2517
  accesses: {
2538
- identityPubKey: string;
2539
- sharedByPubKey: string;
2540
2518
  rights: "delete" | "read" | "write";
2541
- sharedByRootPubKey: string;
2542
2519
  nameKey: string | null;
2543
2520
  isRoot: boolean;
2544
2521
  addAccess: "delete" | "read" | "write" | null;
2545
2522
  sharingAddAccess: "delete" | "read" | "write" | null;
2546
2523
  delAccess: "delete" | "read" | "write" | null;
2547
2524
  sharingDelAccess: "delete" | "read" | "write" | null;
2525
+ sharedByPubKey: string;
2526
+ identityPubKey: string;
2548
2527
  }[];
2549
2528
  permissions: {
2550
2529
  rights: "delete" | "read" | "write";
@@ -2580,16 +2559,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2580
2559
  appId: string;
2581
2560
  };
2582
2561
  accesses: {
2583
- identityPubKey: string;
2584
- sharedByPubKey: string;
2585
2562
  rights: "delete" | "read" | "write";
2586
- sharedByRootPubKey: string;
2587
2563
  nameKey: string | null;
2588
2564
  isRoot: boolean;
2589
2565
  addAccess: "delete" | "read" | "write" | null;
2590
2566
  sharingAddAccess: "delete" | "read" | "write" | null;
2591
2567
  delAccess: "delete" | "read" | "write" | null;
2592
2568
  sharingDelAccess: "delete" | "read" | "write" | null;
2569
+ sharedByPubKey: string;
2570
+ identityPubKey: string;
2593
2571
  }[];
2594
2572
  permissions: {
2595
2573
  rights: "delete" | "read" | "write";
@@ -2692,16 +2670,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2692
2670
  appId: string;
2693
2671
  };
2694
2672
  accesses: {
2695
- identityPubKey: string;
2696
- sharedByPubKey: string;
2697
2673
  rights: "delete" | "read" | "write";
2698
- sharedByRootPubKey: string;
2699
2674
  nameKey: string | null;
2700
2675
  isRoot: boolean;
2701
2676
  addAccess: "delete" | "read" | "write" | null;
2702
2677
  sharingAddAccess: "delete" | "read" | "write" | null;
2703
2678
  delAccess: "delete" | "read" | "write" | null;
2704
2679
  sharingDelAccess: "delete" | "read" | "write" | null;
2680
+ sharedByPubKey: string;
2681
+ identityPubKey: string;
2705
2682
  }[];
2706
2683
  permissions: {
2707
2684
  rights: "delete" | "read" | "write";
@@ -2742,16 +2719,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2742
2719
  appId: string;
2743
2720
  };
2744
2721
  accesses: {
2745
- identityPubKey: string;
2746
- sharedByPubKey: string;
2747
2722
  rights: "delete" | "read" | "write";
2748
- sharedByRootPubKey: string;
2749
2723
  nameKey: string | null;
2750
2724
  isRoot: boolean;
2751
2725
  addAccess: "delete" | "read" | "write" | null;
2752
2726
  sharingAddAccess: "delete" | "read" | "write" | null;
2753
2727
  delAccess: "delete" | "read" | "write" | null;
2754
2728
  sharingDelAccess: "delete" | "read" | "write" | null;
2729
+ sharedByPubKey: string;
2730
+ identityPubKey: string;
2755
2731
  }[];
2756
2732
  permissions: {
2757
2733
  rights: "delete" | "read" | "write";
@@ -2787,16 +2763,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2787
2763
  appId: string;
2788
2764
  };
2789
2765
  accesses: {
2790
- identityPubKey: string;
2791
- sharedByPubKey: string;
2792
2766
  rights: "delete" | "read" | "write";
2793
- sharedByRootPubKey: string;
2794
2767
  nameKey: string | null;
2795
2768
  isRoot: boolean;
2796
2769
  addAccess: "delete" | "read" | "write" | null;
2797
2770
  sharingAddAccess: "delete" | "read" | "write" | null;
2798
2771
  delAccess: "delete" | "read" | "write" | null;
2799
2772
  sharingDelAccess: "delete" | "read" | "write" | null;
2773
+ sharedByPubKey: string;
2774
+ identityPubKey: string;
2800
2775
  }[];
2801
2776
  permissions: {
2802
2777
  rights: "delete" | "read" | "write";
@@ -2936,16 +2911,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2936
2911
  appId: string;
2937
2912
  };
2938
2913
  accesses: {
2939
- identityPubKey: string;
2940
- sharedByPubKey: string;
2941
2914
  rights: "delete" | "read" | "write";
2942
- sharedByRootPubKey: string;
2943
2915
  nameKey: string | null;
2944
2916
  isRoot: boolean;
2945
2917
  addAccess: "delete" | "read" | "write" | null;
2946
2918
  sharingAddAccess: "delete" | "read" | "write" | null;
2947
2919
  delAccess: "delete" | "read" | "write" | null;
2948
2920
  sharingDelAccess: "delete" | "read" | "write" | null;
2921
+ sharedByPubKey: string;
2922
+ identityPubKey: string;
2949
2923
  }[];
2950
2924
  permissions: {
2951
2925
  rights: "delete" | "read" | "write";
@@ -2989,16 +2963,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2989
2963
  appId: string;
2990
2964
  };
2991
2965
  accesses: {
2992
- identityPubKey: string;
2993
- sharedByPubKey: string;
2994
2966
  rights: "delete" | "read" | "write";
2995
- sharedByRootPubKey: string;
2996
2967
  nameKey: string | null;
2997
2968
  isRoot: boolean;
2998
2969
  addAccess: "delete" | "read" | "write" | null;
2999
2970
  sharingAddAccess: "delete" | "read" | "write" | null;
3000
2971
  delAccess: "delete" | "read" | "write" | null;
3001
2972
  sharingDelAccess: "delete" | "read" | "write" | null;
2973
+ sharedByPubKey: string;
2974
+ identityPubKey: string;
3002
2975
  }[];
3003
2976
  permissions: {
3004
2977
  rights: "delete" | "read" | "write";
@@ -3041,16 +3014,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3041
3014
  appId: string;
3042
3015
  };
3043
3016
  accesses: {
3044
- identityPubKey: string;
3045
- sharedByPubKey: string;
3046
3017
  rights: "delete" | "read" | "write";
3047
- sharedByRootPubKey: string;
3048
3018
  nameKey: string | null;
3049
3019
  isRoot: boolean;
3050
3020
  addAccess: "delete" | "read" | "write" | null;
3051
3021
  sharingAddAccess: "delete" | "read" | "write" | null;
3052
3022
  delAccess: "delete" | "read" | "write" | null;
3053
3023
  sharingDelAccess: "delete" | "read" | "write" | null;
3024
+ sharedByPubKey: string;
3025
+ identityPubKey: string;
3054
3026
  }[];
3055
3027
  permissions: {
3056
3028
  rights: "delete" | "read" | "write";
@@ -3228,16 +3200,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3228
3200
  appId: string;
3229
3201
  };
3230
3202
  accesses: {
3231
- identityPubKey: string;
3232
- sharedByPubKey: string;
3233
3203
  rights: "delete" | "read" | "write";
3234
- sharedByRootPubKey: string;
3235
3204
  nameKey: string | null;
3236
3205
  isRoot: boolean;
3237
3206
  addAccess: "delete" | "read" | "write" | null;
3238
3207
  sharingAddAccess: "delete" | "read" | "write" | null;
3239
3208
  delAccess: "delete" | "read" | "write" | null;
3240
3209
  sharingDelAccess: "delete" | "read" | "write" | null;
3210
+ sharedByPubKey: string;
3211
+ identityPubKey: string;
3241
3212
  }[];
3242
3213
  permissions: {
3243
3214
  rights: "delete" | "read" | "write";
@@ -3278,16 +3249,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3278
3249
  appId: string;
3279
3250
  };
3280
3251
  accesses: {
3281
- identityPubKey: string;
3282
- sharedByPubKey: string;
3283
3252
  rights: "delete" | "read" | "write";
3284
- sharedByRootPubKey: string;
3285
3253
  nameKey: string | null;
3286
3254
  isRoot: boolean;
3287
3255
  addAccess: "delete" | "read" | "write" | null;
3288
3256
  sharingAddAccess: "delete" | "read" | "write" | null;
3289
3257
  delAccess: "delete" | "read" | "write" | null;
3290
3258
  sharingDelAccess: "delete" | "read" | "write" | null;
3259
+ sharedByPubKey: string;
3260
+ identityPubKey: string;
3291
3261
  }[];
3292
3262
  permissions: {
3293
3263
  rights: "delete" | "read" | "write";
@@ -3323,16 +3293,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3323
3293
  appId: string;
3324
3294
  };
3325
3295
  accesses: {
3326
- identityPubKey: string;
3327
- sharedByPubKey: string;
3328
3296
  rights: "delete" | "read" | "write";
3329
- sharedByRootPubKey: string;
3330
3297
  nameKey: string | null;
3331
3298
  isRoot: boolean;
3332
3299
  addAccess: "delete" | "read" | "write" | null;
3333
3300
  sharingAddAccess: "delete" | "read" | "write" | null;
3334
3301
  delAccess: "delete" | "read" | "write" | null;
3335
3302
  sharingDelAccess: "delete" | "read" | "write" | null;
3303
+ sharedByPubKey: string;
3304
+ identityPubKey: string;
3336
3305
  }[];
3337
3306
  permissions: {
3338
3307
  rights: "delete" | "read" | "write";
@@ -5308,6 +5277,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5308
5277
  billingProfileStripeCustomerId: string | null;
5309
5278
  status: "active" | "inactive" | "pending_for_payment";
5310
5279
  minMembersToReport: number;
5280
+ lastMetricsReset: Date;
5311
5281
  } & {
5312
5282
  plan: {
5313
5283
  id: string;
@@ -5378,6 +5348,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5378
5348
  billingProfileStripeCustomerId: string | null;
5379
5349
  status: "active" | "inactive" | "pending_for_payment";
5380
5350
  minMembersToReport: number;
5351
+ lastMetricsReset: Date;
5381
5352
  };
5382
5353
  } | {
5383
5354
  type: "checkout";
@@ -5394,6 +5365,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5394
5365
  billingProfileStripeCustomerId: string | null;
5395
5366
  status: "active" | "inactive" | "pending_for_payment";
5396
5367
  minMembersToReport: number;
5368
+ lastMetricsReset: Date;
5397
5369
  };
5398
5370
  };
5399
5371
  meta: any;
@@ -5414,6 +5386,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5414
5386
  billingProfileStripeCustomerId: string | null;
5415
5387
  status: "active" | "inactive" | "pending_for_payment";
5416
5388
  minMembersToReport: number;
5389
+ lastMetricsReset: Date;
5417
5390
  };
5418
5391
  meta: any;
5419
5392
  }>;
@@ -5459,6 +5432,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5459
5432
  billingProfileStripeCustomerId: string | null;
5460
5433
  status: "active" | "inactive" | "pending_for_payment";
5461
5434
  minMembersToReport: number;
5435
+ lastMetricsReset: Date;
5462
5436
  }[];
5463
5437
  meta: any;
5464
5438
  }>;
@@ -5561,6 +5535,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5561
5535
  billingProfileStripeCustomerId: string | null;
5562
5536
  status: "active" | "inactive" | "pending_for_payment";
5563
5537
  minMembersToReport: number;
5538
+ lastMetricsReset: Date;
5564
5539
  };
5565
5540
  meta: any;
5566
5541
  }>;
@@ -5596,6 +5571,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5596
5571
  billingProfileStripeCustomerId: string | null;
5597
5572
  status: "active" | "inactive" | "pending_for_payment";
5598
5573
  minMembersToReport: number;
5574
+ lastMetricsReset: Date;
5599
5575
  };
5600
5576
  meta: any;
5601
5577
  }>;
@@ -6157,7 +6133,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
6157
6133
  logo: string | null;
6158
6134
  createdAt: Date;
6159
6135
  updatedAt: Date;
6160
- lastMetricsReset: Date;
6161
6136
  origin: string[];
6162
6137
  ownerId: string;
6163
6138
  planId: string | null;
@@ -6235,7 +6210,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
6235
6210
  logo: string | null;
6236
6211
  createdAt: Date;
6237
6212
  updatedAt: Date;
6238
- lastMetricsReset: Date;
6239
6213
  origin: string[];
6240
6214
  ownerId: string;
6241
6215
  planId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.40.0-fix-create-folder-permissions.1",
3
+ "version": "1.40.0-fix-reset-billing.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"