@secrecy/trpc-api-types 1.33.0-feat-custom-tech-plan.6 → 1.33.0-feat-custom-tech-plan.7
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.cts +72 -144
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -16388,78 +16388,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16388
16388
|
};
|
|
16389
16389
|
}[];
|
|
16390
16390
|
}, unknown>;
|
|
16391
|
-
cancelSubscription: _trpc_server.BuildProcedure<"mutation", {
|
|
16392
|
-
_config: _trpc_server.RootConfig<{
|
|
16393
|
-
ctx: {
|
|
16394
|
-
req: {
|
|
16395
|
-
headers: Headers;
|
|
16396
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16397
|
-
};
|
|
16398
|
-
res: {
|
|
16399
|
-
headers: Headers;
|
|
16400
|
-
};
|
|
16401
|
-
session: SecrecySession | null;
|
|
16402
|
-
locale: Locales;
|
|
16403
|
-
ls: TranslationFunctions;
|
|
16404
|
-
};
|
|
16405
|
-
meta: object;
|
|
16406
|
-
errorShape: {
|
|
16407
|
-
message: string;
|
|
16408
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16409
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16410
|
-
} | {
|
|
16411
|
-
data: {
|
|
16412
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
16413
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
16414
|
-
httpStatus: number;
|
|
16415
|
-
path?: string;
|
|
16416
|
-
stack?: string;
|
|
16417
|
-
};
|
|
16418
|
-
message: string;
|
|
16419
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16420
|
-
};
|
|
16421
|
-
transformer: typeof superjson.default;
|
|
16422
|
-
}>;
|
|
16423
|
-
_meta: object;
|
|
16424
|
-
_ctx_out: {
|
|
16425
|
-
session: {
|
|
16426
|
-
appId: string;
|
|
16427
|
-
appPlanId: string;
|
|
16428
|
-
appFakeUserId: string | undefined;
|
|
16429
|
-
sessionId: string;
|
|
16430
|
-
accountId: string;
|
|
16431
|
-
accountInfosId: string;
|
|
16432
|
-
accountRole: _prisma_client.AccountRole;
|
|
16433
|
-
userId: string;
|
|
16434
|
-
userRole: _prisma_client.UserRole;
|
|
16435
|
-
userPlan: _prisma_client.PlanKind;
|
|
16436
|
-
isCare?: boolean;
|
|
16437
|
-
};
|
|
16438
|
-
req: {
|
|
16439
|
-
headers: Headers;
|
|
16440
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16441
|
-
};
|
|
16442
|
-
res: {
|
|
16443
|
-
headers: Headers;
|
|
16444
|
-
};
|
|
16445
|
-
locale: Locales;
|
|
16446
|
-
ls: TranslationFunctions;
|
|
16447
|
-
};
|
|
16448
|
-
_input_in: {
|
|
16449
|
-
appId: string;
|
|
16450
|
-
prorate: boolean;
|
|
16451
|
-
};
|
|
16452
|
-
_input_out: {
|
|
16453
|
-
appId: string;
|
|
16454
|
-
prorate: boolean;
|
|
16455
|
-
};
|
|
16456
|
-
_output_in: {
|
|
16457
|
-
isCancelled: boolean;
|
|
16458
|
-
};
|
|
16459
|
-
_output_out: {
|
|
16460
|
-
isCancelled: boolean;
|
|
16461
|
-
};
|
|
16462
|
-
}, unknown>;
|
|
16463
16391
|
createApplication: _trpc_server.BuildProcedure<"mutation", {
|
|
16464
16392
|
_config: _trpc_server.RootConfig<{
|
|
16465
16393
|
ctx: {
|
|
@@ -16532,78 +16460,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16532
16460
|
id: string;
|
|
16533
16461
|
};
|
|
16534
16462
|
}, unknown>;
|
|
16535
|
-
createSubscription: _trpc_server.BuildProcedure<"mutation", {
|
|
16536
|
-
_config: _trpc_server.RootConfig<{
|
|
16537
|
-
ctx: {
|
|
16538
|
-
req: {
|
|
16539
|
-
headers: Headers;
|
|
16540
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16541
|
-
};
|
|
16542
|
-
res: {
|
|
16543
|
-
headers: Headers;
|
|
16544
|
-
};
|
|
16545
|
-
session: SecrecySession | null;
|
|
16546
|
-
locale: Locales;
|
|
16547
|
-
ls: TranslationFunctions;
|
|
16548
|
-
};
|
|
16549
|
-
meta: object;
|
|
16550
|
-
errorShape: {
|
|
16551
|
-
message: string;
|
|
16552
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16553
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16554
|
-
} | {
|
|
16555
|
-
data: {
|
|
16556
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
16557
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
16558
|
-
httpStatus: number;
|
|
16559
|
-
path?: string;
|
|
16560
|
-
stack?: string;
|
|
16561
|
-
};
|
|
16562
|
-
message: string;
|
|
16563
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16564
|
-
};
|
|
16565
|
-
transformer: typeof superjson.default;
|
|
16566
|
-
}>;
|
|
16567
|
-
_meta: object;
|
|
16568
|
-
_ctx_out: {
|
|
16569
|
-
session: {
|
|
16570
|
-
appId: string;
|
|
16571
|
-
appPlanId: string;
|
|
16572
|
-
appFakeUserId: string | undefined;
|
|
16573
|
-
sessionId: string;
|
|
16574
|
-
accountId: string;
|
|
16575
|
-
accountInfosId: string;
|
|
16576
|
-
accountRole: _prisma_client.AccountRole;
|
|
16577
|
-
userId: string;
|
|
16578
|
-
userRole: _prisma_client.UserRole;
|
|
16579
|
-
userPlan: _prisma_client.PlanKind;
|
|
16580
|
-
isCare?: boolean;
|
|
16581
|
-
};
|
|
16582
|
-
req: {
|
|
16583
|
-
headers: Headers;
|
|
16584
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16585
|
-
};
|
|
16586
|
-
res: {
|
|
16587
|
-
headers: Headers;
|
|
16588
|
-
};
|
|
16589
|
-
locale: Locales;
|
|
16590
|
-
ls: TranslationFunctions;
|
|
16591
|
-
};
|
|
16592
|
-
_input_in: {
|
|
16593
|
-
appId: string;
|
|
16594
|
-
planName: string;
|
|
16595
|
-
};
|
|
16596
|
-
_input_out: {
|
|
16597
|
-
appId: string;
|
|
16598
|
-
planName: string;
|
|
16599
|
-
};
|
|
16600
|
-
_output_in: {
|
|
16601
|
-
url: string | null;
|
|
16602
|
-
};
|
|
16603
|
-
_output_out: {
|
|
16604
|
-
url: string | null;
|
|
16605
|
-
};
|
|
16606
|
-
}, unknown>;
|
|
16607
16463
|
deleteApplication: _trpc_server.BuildProcedure<"mutation", {
|
|
16608
16464
|
_config: _trpc_server.RootConfig<{
|
|
16609
16465
|
ctx: {
|
|
@@ -17330,6 +17186,78 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17330
17186
|
isUpdated: boolean;
|
|
17331
17187
|
};
|
|
17332
17188
|
}, unknown>;
|
|
17189
|
+
switchPlan: _trpc_server.BuildProcedure<"mutation", {
|
|
17190
|
+
_config: _trpc_server.RootConfig<{
|
|
17191
|
+
ctx: {
|
|
17192
|
+
req: {
|
|
17193
|
+
headers: Headers;
|
|
17194
|
+
body: ReadableStream<Uint8Array> | null;
|
|
17195
|
+
};
|
|
17196
|
+
res: {
|
|
17197
|
+
headers: Headers;
|
|
17198
|
+
};
|
|
17199
|
+
session: SecrecySession | null;
|
|
17200
|
+
locale: Locales;
|
|
17201
|
+
ls: TranslationFunctions;
|
|
17202
|
+
};
|
|
17203
|
+
meta: object;
|
|
17204
|
+
errorShape: {
|
|
17205
|
+
message: string;
|
|
17206
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17207
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
17208
|
+
} | {
|
|
17209
|
+
data: {
|
|
17210
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
17211
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
17212
|
+
httpStatus: number;
|
|
17213
|
+
path?: string;
|
|
17214
|
+
stack?: string;
|
|
17215
|
+
};
|
|
17216
|
+
message: string;
|
|
17217
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17218
|
+
};
|
|
17219
|
+
transformer: typeof superjson.default;
|
|
17220
|
+
}>;
|
|
17221
|
+
_meta: object;
|
|
17222
|
+
_ctx_out: {
|
|
17223
|
+
session: {
|
|
17224
|
+
appId: string;
|
|
17225
|
+
appPlanId: string;
|
|
17226
|
+
appFakeUserId: string | undefined;
|
|
17227
|
+
sessionId: string;
|
|
17228
|
+
accountId: string;
|
|
17229
|
+
accountInfosId: string;
|
|
17230
|
+
accountRole: _prisma_client.AccountRole;
|
|
17231
|
+
userId: string;
|
|
17232
|
+
userRole: _prisma_client.UserRole;
|
|
17233
|
+
userPlan: _prisma_client.PlanKind;
|
|
17234
|
+
isCare?: boolean;
|
|
17235
|
+
};
|
|
17236
|
+
req: {
|
|
17237
|
+
headers: Headers;
|
|
17238
|
+
body: ReadableStream<Uint8Array> | null;
|
|
17239
|
+
};
|
|
17240
|
+
res: {
|
|
17241
|
+
headers: Headers;
|
|
17242
|
+
};
|
|
17243
|
+
locale: Locales;
|
|
17244
|
+
ls: TranslationFunctions;
|
|
17245
|
+
};
|
|
17246
|
+
_input_in: {
|
|
17247
|
+
appId: string;
|
|
17248
|
+
planName: string;
|
|
17249
|
+
};
|
|
17250
|
+
_input_out: {
|
|
17251
|
+
appId: string;
|
|
17252
|
+
planName: string;
|
|
17253
|
+
};
|
|
17254
|
+
_output_in: {
|
|
17255
|
+
url: string | null;
|
|
17256
|
+
};
|
|
17257
|
+
_output_out: {
|
|
17258
|
+
url: string | null;
|
|
17259
|
+
};
|
|
17260
|
+
}, unknown>;
|
|
17333
17261
|
}>;
|
|
17334
17262
|
user: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
17335
17263
|
ctx: {
|