@secrecy/trpc-api-types 1.12.0-integration-remove-app-code.1 → 1.12.0-integration-remove-appcode.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.
- package/dist/index.d.ts +293 -33
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8986,7 +8986,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
8986
8986
|
transformer: typeof superjson.default;
|
|
8987
8987
|
}>;
|
|
8988
8988
|
_meta: object;
|
|
8989
|
-
_ctx_out: {
|
|
8989
|
+
_ctx_out: {
|
|
8990
|
+
session: {
|
|
8991
|
+
appId: string;
|
|
8992
|
+
appPlanId: string | null;
|
|
8993
|
+
appFakeUserId: string | undefined;
|
|
8994
|
+
sessionId: string;
|
|
8995
|
+
accountId: string;
|
|
8996
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
8997
|
+
userId: string;
|
|
8998
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
8999
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
9000
|
+
};
|
|
9001
|
+
req: {
|
|
9002
|
+
headers: Headers;
|
|
9003
|
+
};
|
|
9004
|
+
res: {
|
|
9005
|
+
headers: Headers;
|
|
9006
|
+
};
|
|
9007
|
+
locale: Locales;
|
|
9008
|
+
ls: TranslationFunctions;
|
|
9009
|
+
};
|
|
8990
9010
|
_input_in: {
|
|
8991
9011
|
appCode: string;
|
|
8992
9012
|
invoiceId: string;
|
|
@@ -9060,7 +9080,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9060
9080
|
transformer: typeof superjson.default;
|
|
9061
9081
|
}>;
|
|
9062
9082
|
_meta: object;
|
|
9063
|
-
_ctx_out: {
|
|
9083
|
+
_ctx_out: {
|
|
9084
|
+
session: {
|
|
9085
|
+
appId: string;
|
|
9086
|
+
appPlanId: string | null;
|
|
9087
|
+
appFakeUserId: string | undefined;
|
|
9088
|
+
sessionId: string;
|
|
9089
|
+
accountId: string;
|
|
9090
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
9091
|
+
userId: string;
|
|
9092
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
9093
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
9094
|
+
};
|
|
9095
|
+
req: {
|
|
9096
|
+
headers: Headers;
|
|
9097
|
+
};
|
|
9098
|
+
res: {
|
|
9099
|
+
headers: Headers;
|
|
9100
|
+
};
|
|
9101
|
+
locale: Locales;
|
|
9102
|
+
ls: TranslationFunctions;
|
|
9103
|
+
};
|
|
9064
9104
|
_input_in: {
|
|
9065
9105
|
appCode: string;
|
|
9066
9106
|
};
|
|
@@ -9619,16 +9659,36 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9619
9659
|
transformer: typeof superjson.default;
|
|
9620
9660
|
}>;
|
|
9621
9661
|
_meta: object;
|
|
9622
|
-
_ctx_out: {
|
|
9662
|
+
_ctx_out: {
|
|
9663
|
+
session: {
|
|
9664
|
+
appId: string;
|
|
9665
|
+
appPlanId: string | null;
|
|
9666
|
+
appFakeUserId: string | undefined;
|
|
9667
|
+
sessionId: string;
|
|
9668
|
+
accountId: string;
|
|
9669
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
9670
|
+
userId: string;
|
|
9671
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
9672
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
9673
|
+
};
|
|
9674
|
+
req: {
|
|
9675
|
+
headers: Headers;
|
|
9676
|
+
};
|
|
9677
|
+
res: {
|
|
9678
|
+
headers: Headers;
|
|
9679
|
+
};
|
|
9680
|
+
locale: Locales;
|
|
9681
|
+
ls: TranslationFunctions;
|
|
9682
|
+
};
|
|
9623
9683
|
_input_in: {
|
|
9684
|
+
appId: string;
|
|
9624
9685
|
userId: string;
|
|
9625
9686
|
role: "developer" | "admin";
|
|
9626
|
-
appCode: string;
|
|
9627
9687
|
};
|
|
9628
9688
|
_input_out: {
|
|
9689
|
+
appId: string;
|
|
9629
9690
|
userId: string;
|
|
9630
9691
|
role: "developer" | "admin";
|
|
9631
|
-
appCode: string;
|
|
9632
9692
|
};
|
|
9633
9693
|
_output_in: {
|
|
9634
9694
|
isAdded: boolean;
|
|
@@ -9659,12 +9719,32 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9659
9719
|
transformer: typeof superjson.default;
|
|
9660
9720
|
}>;
|
|
9661
9721
|
_meta: object;
|
|
9662
|
-
_ctx_out: {
|
|
9722
|
+
_ctx_out: {
|
|
9723
|
+
session: {
|
|
9724
|
+
appId: string;
|
|
9725
|
+
appPlanId: string | null;
|
|
9726
|
+
appFakeUserId: string | undefined;
|
|
9727
|
+
sessionId: string;
|
|
9728
|
+
accountId: string;
|
|
9729
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
9730
|
+
userId: string;
|
|
9731
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
9732
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
9733
|
+
};
|
|
9734
|
+
req: {
|
|
9735
|
+
headers: Headers;
|
|
9736
|
+
};
|
|
9737
|
+
res: {
|
|
9738
|
+
headers: Headers;
|
|
9739
|
+
};
|
|
9740
|
+
locale: Locales;
|
|
9741
|
+
ls: TranslationFunctions;
|
|
9742
|
+
};
|
|
9663
9743
|
_input_in: {
|
|
9664
|
-
|
|
9744
|
+
appId: string;
|
|
9665
9745
|
};
|
|
9666
9746
|
_input_out: {
|
|
9667
|
-
|
|
9747
|
+
appId: string;
|
|
9668
9748
|
};
|
|
9669
9749
|
_output_in: {
|
|
9670
9750
|
code: string;
|
|
@@ -10053,12 +10133,32 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10053
10133
|
transformer: typeof superjson.default;
|
|
10054
10134
|
}>;
|
|
10055
10135
|
_meta: object;
|
|
10056
|
-
_ctx_out: {
|
|
10136
|
+
_ctx_out: {
|
|
10137
|
+
session: {
|
|
10138
|
+
appId: string;
|
|
10139
|
+
appPlanId: string | null;
|
|
10140
|
+
appFakeUserId: string | undefined;
|
|
10141
|
+
sessionId: string;
|
|
10142
|
+
accountId: string;
|
|
10143
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10144
|
+
userId: string;
|
|
10145
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10146
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10147
|
+
};
|
|
10148
|
+
req: {
|
|
10149
|
+
headers: Headers;
|
|
10150
|
+
};
|
|
10151
|
+
res: {
|
|
10152
|
+
headers: Headers;
|
|
10153
|
+
};
|
|
10154
|
+
locale: Locales;
|
|
10155
|
+
ls: TranslationFunctions;
|
|
10156
|
+
};
|
|
10057
10157
|
_input_in: {
|
|
10058
|
-
|
|
10158
|
+
appId: string;
|
|
10059
10159
|
};
|
|
10060
10160
|
_input_out: {
|
|
10061
|
-
|
|
10161
|
+
appId: string;
|
|
10062
10162
|
};
|
|
10063
10163
|
_output_in: {
|
|
10064
10164
|
isDeleted: boolean;
|
|
@@ -10089,14 +10189,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10089
10189
|
transformer: typeof superjson.default;
|
|
10090
10190
|
}>;
|
|
10091
10191
|
_meta: object;
|
|
10092
|
-
_ctx_out: {
|
|
10192
|
+
_ctx_out: {
|
|
10193
|
+
session: {
|
|
10194
|
+
appId: string;
|
|
10195
|
+
appPlanId: string | null;
|
|
10196
|
+
appFakeUserId: string | undefined;
|
|
10197
|
+
sessionId: string;
|
|
10198
|
+
accountId: string;
|
|
10199
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10200
|
+
userId: string;
|
|
10201
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10202
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10203
|
+
};
|
|
10204
|
+
req: {
|
|
10205
|
+
headers: Headers;
|
|
10206
|
+
};
|
|
10207
|
+
res: {
|
|
10208
|
+
headers: Headers;
|
|
10209
|
+
};
|
|
10210
|
+
locale: Locales;
|
|
10211
|
+
ls: TranslationFunctions;
|
|
10212
|
+
};
|
|
10093
10213
|
_input_in: {
|
|
10214
|
+
appId: string;
|
|
10094
10215
|
developerId: string;
|
|
10095
|
-
appCode: string;
|
|
10096
10216
|
};
|
|
10097
10217
|
_input_out: {
|
|
10218
|
+
appId: string;
|
|
10098
10219
|
developerId: string;
|
|
10099
|
-
appCode: string;
|
|
10100
10220
|
};
|
|
10101
10221
|
_output_in: {
|
|
10102
10222
|
isDeleted: boolean;
|
|
@@ -10127,14 +10247,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10127
10247
|
transformer: typeof superjson.default;
|
|
10128
10248
|
}>;
|
|
10129
10249
|
_meta: object;
|
|
10130
|
-
_ctx_out: {
|
|
10250
|
+
_ctx_out: {
|
|
10251
|
+
session: {
|
|
10252
|
+
appId: string;
|
|
10253
|
+
appPlanId: string | null;
|
|
10254
|
+
appFakeUserId: string | undefined;
|
|
10255
|
+
sessionId: string;
|
|
10256
|
+
accountId: string;
|
|
10257
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10258
|
+
userId: string;
|
|
10259
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10260
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10261
|
+
};
|
|
10262
|
+
req: {
|
|
10263
|
+
headers: Headers;
|
|
10264
|
+
};
|
|
10265
|
+
res: {
|
|
10266
|
+
headers: Headers;
|
|
10267
|
+
};
|
|
10268
|
+
locale: Locales;
|
|
10269
|
+
ls: TranslationFunctions;
|
|
10270
|
+
};
|
|
10131
10271
|
_input_in: {
|
|
10272
|
+
appId: string;
|
|
10132
10273
|
developerId: string;
|
|
10133
|
-
appCode: string;
|
|
10134
10274
|
};
|
|
10135
10275
|
_input_out: {
|
|
10276
|
+
appId: string;
|
|
10136
10277
|
developerId: string;
|
|
10137
|
-
appCode: string;
|
|
10138
10278
|
};
|
|
10139
10279
|
_output_in: {
|
|
10140
10280
|
developer: {
|
|
@@ -10195,12 +10335,32 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10195
10335
|
transformer: typeof superjson.default;
|
|
10196
10336
|
}>;
|
|
10197
10337
|
_meta: object;
|
|
10198
|
-
_ctx_out: {
|
|
10338
|
+
_ctx_out: {
|
|
10339
|
+
session: {
|
|
10340
|
+
appId: string;
|
|
10341
|
+
appPlanId: string | null;
|
|
10342
|
+
appFakeUserId: string | undefined;
|
|
10343
|
+
sessionId: string;
|
|
10344
|
+
accountId: string;
|
|
10345
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10346
|
+
userId: string;
|
|
10347
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10348
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10349
|
+
};
|
|
10350
|
+
req: {
|
|
10351
|
+
headers: Headers;
|
|
10352
|
+
};
|
|
10353
|
+
res: {
|
|
10354
|
+
headers: Headers;
|
|
10355
|
+
};
|
|
10356
|
+
locale: Locales;
|
|
10357
|
+
ls: TranslationFunctions;
|
|
10358
|
+
};
|
|
10199
10359
|
_input_in: {
|
|
10200
|
-
|
|
10360
|
+
appId: string;
|
|
10201
10361
|
};
|
|
10202
10362
|
_input_out: {
|
|
10203
|
-
|
|
10363
|
+
appId: string;
|
|
10204
10364
|
};
|
|
10205
10365
|
_output_in: {
|
|
10206
10366
|
developer: {
|
|
@@ -10261,7 +10421,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10261
10421
|
transformer: typeof superjson.default;
|
|
10262
10422
|
}>;
|
|
10263
10423
|
_meta: object;
|
|
10264
|
-
_ctx_out: {
|
|
10424
|
+
_ctx_out: {
|
|
10425
|
+
session: {
|
|
10426
|
+
appId: string;
|
|
10427
|
+
appPlanId: string | null;
|
|
10428
|
+
appFakeUserId: string | undefined;
|
|
10429
|
+
sessionId: string;
|
|
10430
|
+
accountId: string;
|
|
10431
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10432
|
+
userId: string;
|
|
10433
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10434
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10435
|
+
};
|
|
10436
|
+
req: {
|
|
10437
|
+
headers: Headers;
|
|
10438
|
+
};
|
|
10439
|
+
res: {
|
|
10440
|
+
headers: Headers;
|
|
10441
|
+
};
|
|
10442
|
+
locale: Locales;
|
|
10443
|
+
ls: TranslationFunctions;
|
|
10444
|
+
};
|
|
10265
10445
|
_input_in: {
|
|
10266
10446
|
appCode: string;
|
|
10267
10447
|
};
|
|
@@ -10297,13 +10477,33 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10297
10477
|
transformer: typeof superjson.default;
|
|
10298
10478
|
}>;
|
|
10299
10479
|
_meta: object;
|
|
10300
|
-
_ctx_out: {
|
|
10480
|
+
_ctx_out: {
|
|
10481
|
+
session: {
|
|
10482
|
+
appId: string;
|
|
10483
|
+
appPlanId: string | null;
|
|
10484
|
+
appFakeUserId: string | undefined;
|
|
10485
|
+
sessionId: string;
|
|
10486
|
+
accountId: string;
|
|
10487
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10488
|
+
userId: string;
|
|
10489
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10490
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10491
|
+
};
|
|
10492
|
+
req: {
|
|
10493
|
+
headers: Headers;
|
|
10494
|
+
};
|
|
10495
|
+
res: {
|
|
10496
|
+
headers: Headers;
|
|
10497
|
+
};
|
|
10498
|
+
locale: Locales;
|
|
10499
|
+
ls: TranslationFunctions;
|
|
10500
|
+
};
|
|
10301
10501
|
_input_in: {
|
|
10302
|
-
|
|
10502
|
+
appId: string;
|
|
10303
10503
|
origins: string[];
|
|
10304
10504
|
};
|
|
10305
10505
|
_input_out: {
|
|
10306
|
-
|
|
10506
|
+
appId: string;
|
|
10307
10507
|
origins: string[];
|
|
10308
10508
|
};
|
|
10309
10509
|
_output_in: {
|
|
@@ -10335,15 +10535,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10335
10535
|
transformer: typeof superjson.default;
|
|
10336
10536
|
}>;
|
|
10337
10537
|
_meta: object;
|
|
10338
|
-
_ctx_out: {
|
|
10538
|
+
_ctx_out: {
|
|
10539
|
+
session: {
|
|
10540
|
+
appId: string;
|
|
10541
|
+
appPlanId: string | null;
|
|
10542
|
+
appFakeUserId: string | undefined;
|
|
10543
|
+
sessionId: string;
|
|
10544
|
+
accountId: string;
|
|
10545
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10546
|
+
userId: string;
|
|
10547
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10548
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10549
|
+
};
|
|
10550
|
+
req: {
|
|
10551
|
+
headers: Headers;
|
|
10552
|
+
};
|
|
10553
|
+
res: {
|
|
10554
|
+
headers: Headers;
|
|
10555
|
+
};
|
|
10556
|
+
locale: Locales;
|
|
10557
|
+
ls: TranslationFunctions;
|
|
10558
|
+
};
|
|
10339
10559
|
_input_in: {
|
|
10340
|
-
|
|
10560
|
+
appId: string;
|
|
10341
10561
|
name?: string | undefined;
|
|
10342
10562
|
color?: string | null | undefined;
|
|
10343
10563
|
logo?: string | null | undefined;
|
|
10344
10564
|
};
|
|
10345
10565
|
_input_out: {
|
|
10346
|
-
|
|
10566
|
+
appId: string;
|
|
10347
10567
|
name?: string | undefined;
|
|
10348
10568
|
color?: string | null | undefined;
|
|
10349
10569
|
logo?: string | null | undefined;
|
|
@@ -10377,15 +10597,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10377
10597
|
transformer: typeof superjson.default;
|
|
10378
10598
|
}>;
|
|
10379
10599
|
_meta: object;
|
|
10380
|
-
_ctx_out: {
|
|
10600
|
+
_ctx_out: {
|
|
10601
|
+
session: {
|
|
10602
|
+
appId: string;
|
|
10603
|
+
appPlanId: string | null;
|
|
10604
|
+
appFakeUserId: string | undefined;
|
|
10605
|
+
sessionId: string;
|
|
10606
|
+
accountId: string;
|
|
10607
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10608
|
+
userId: string;
|
|
10609
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10610
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10611
|
+
};
|
|
10612
|
+
req: {
|
|
10613
|
+
headers: Headers;
|
|
10614
|
+
};
|
|
10615
|
+
res: {
|
|
10616
|
+
headers: Headers;
|
|
10617
|
+
};
|
|
10618
|
+
locale: Locales;
|
|
10619
|
+
ls: TranslationFunctions;
|
|
10620
|
+
};
|
|
10381
10621
|
_input_in: {
|
|
10622
|
+
appId: string;
|
|
10382
10623
|
developerId: string;
|
|
10383
|
-
appCode: string;
|
|
10384
10624
|
role?: "developer" | "admin" | undefined;
|
|
10385
10625
|
};
|
|
10386
10626
|
_input_out: {
|
|
10627
|
+
appId: string;
|
|
10387
10628
|
developerId: string;
|
|
10388
|
-
appCode: string;
|
|
10389
10629
|
role?: "developer" | "admin" | undefined;
|
|
10390
10630
|
};
|
|
10391
10631
|
_output_in: {
|
|
@@ -10417,14 +10657,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10417
10657
|
transformer: typeof superjson.default;
|
|
10418
10658
|
}>;
|
|
10419
10659
|
_meta: object;
|
|
10420
|
-
_ctx_out: {
|
|
10660
|
+
_ctx_out: {
|
|
10661
|
+
session: {
|
|
10662
|
+
appId: string;
|
|
10663
|
+
appPlanId: string | null;
|
|
10664
|
+
appFakeUserId: string | undefined;
|
|
10665
|
+
sessionId: string;
|
|
10666
|
+
accountId: string;
|
|
10667
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
10668
|
+
userId: string;
|
|
10669
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
10670
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
10671
|
+
};
|
|
10672
|
+
req: {
|
|
10673
|
+
headers: Headers;
|
|
10674
|
+
};
|
|
10675
|
+
res: {
|
|
10676
|
+
headers: Headers;
|
|
10677
|
+
};
|
|
10678
|
+
locale: Locales;
|
|
10679
|
+
ls: TranslationFunctions;
|
|
10680
|
+
};
|
|
10421
10681
|
_input_in: {
|
|
10682
|
+
appId: string;
|
|
10422
10683
|
developerId: string;
|
|
10423
|
-
appCode: string;
|
|
10424
10684
|
};
|
|
10425
10685
|
_input_out: {
|
|
10686
|
+
appId: string;
|
|
10426
10687
|
developerId: string;
|
|
10427
|
-
appCode: string;
|
|
10428
10688
|
};
|
|
10429
10689
|
_output_in: {
|
|
10430
10690
|
isUpdated: boolean;
|