@secrecy/trpc-api-types 1.33.0-feat-custom-tech-plan.1 → 1.33.0-feat-custom-tech-plan.3
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 +35 -57
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -702,18 +702,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
702
702
|
_input_in: {} | undefined;
|
|
703
703
|
_input_out: {} | undefined;
|
|
704
704
|
_output_in: {
|
|
705
|
-
codes: string[];
|
|
706
705
|
id: string;
|
|
707
|
-
|
|
708
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
706
|
+
name: string;
|
|
709
707
|
descriptorId: string;
|
|
708
|
+
stripePricesId: string | null;
|
|
709
|
+
isCustomPlan?: boolean | undefined;
|
|
710
|
+
canHaveDatabase?: boolean | undefined;
|
|
710
711
|
};
|
|
711
712
|
_output_out: {
|
|
712
|
-
codes: string[];
|
|
713
713
|
id: string;
|
|
714
|
-
|
|
715
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
714
|
+
name: string;
|
|
716
715
|
descriptorId: string;
|
|
716
|
+
isCustomPlan: boolean;
|
|
717
|
+
canHaveDatabase: boolean;
|
|
718
|
+
stripePricesId: string | null;
|
|
717
719
|
};
|
|
718
720
|
}, unknown>;
|
|
719
721
|
plans: _trpc_server.BuildProcedure<"query", {
|
|
@@ -750,7 +752,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
750
752
|
}>;
|
|
751
753
|
_meta: object;
|
|
752
754
|
_ctx_out: {
|
|
753
|
-
session:
|
|
755
|
+
session: SecrecySessionWithApp;
|
|
754
756
|
req: {
|
|
755
757
|
headers: Headers;
|
|
756
758
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -764,11 +766,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
764
766
|
_input_in: {} | undefined;
|
|
765
767
|
_input_out: {} | undefined;
|
|
766
768
|
_output_in: ({
|
|
767
|
-
codes: string[];
|
|
768
769
|
id: string;
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
descriptorId: string;
|
|
770
|
+
name: string;
|
|
771
|
+
isCustomPlan?: boolean | undefined;
|
|
772
772
|
} & {
|
|
773
773
|
descriptor: {
|
|
774
774
|
devsBase: bigint | null;
|
|
@@ -796,11 +796,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
796
796
|
price: number;
|
|
797
797
|
})[];
|
|
798
798
|
_output_out: ({
|
|
799
|
-
codes: string[];
|
|
800
799
|
id: string;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
descriptorId: string;
|
|
800
|
+
name: string;
|
|
801
|
+
isCustomPlan: boolean;
|
|
804
802
|
} & {
|
|
805
803
|
descriptor: {
|
|
806
804
|
devsBase: bigint | null;
|
|
@@ -15118,10 +15116,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
15118
15116
|
currency: string;
|
|
15119
15117
|
total: number;
|
|
15120
15118
|
paid: boolean;
|
|
15119
|
+
created: number;
|
|
15121
15120
|
amountDue: number;
|
|
15122
15121
|
amountPaid: number;
|
|
15123
15122
|
amountRemaining: number;
|
|
15124
|
-
created: number;
|
|
15125
15123
|
accountCountry: string | null;
|
|
15126
15124
|
accountName: string | null;
|
|
15127
15125
|
applicationFeeAmount: number | null;
|
|
@@ -15139,10 +15137,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
15139
15137
|
currency: string;
|
|
15140
15138
|
total: number;
|
|
15141
15139
|
paid: boolean;
|
|
15140
|
+
created: number;
|
|
15142
15141
|
amountDue: number;
|
|
15143
15142
|
amountPaid: number;
|
|
15144
15143
|
amountRemaining: number;
|
|
15145
|
-
created: number;
|
|
15146
15144
|
accountCountry: string | null;
|
|
15147
15145
|
accountName: string | null;
|
|
15148
15146
|
applicationFeeAmount: number | null;
|
|
@@ -15224,10 +15222,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
15224
15222
|
currency: string;
|
|
15225
15223
|
total: number;
|
|
15226
15224
|
paid: boolean;
|
|
15225
|
+
created: number;
|
|
15227
15226
|
amountDue: number;
|
|
15228
15227
|
amountPaid: number;
|
|
15229
15228
|
amountRemaining: number;
|
|
15230
|
-
created: number;
|
|
15231
15229
|
accountCountry: string | null;
|
|
15232
15230
|
accountName: string | null;
|
|
15233
15231
|
applicationFeeAmount: number | null;
|
|
@@ -15245,10 +15243,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
15245
15243
|
currency: string;
|
|
15246
15244
|
total: number;
|
|
15247
15245
|
paid: boolean;
|
|
15246
|
+
created: number;
|
|
15248
15247
|
amountDue: number;
|
|
15249
15248
|
amountPaid: number;
|
|
15250
15249
|
amountRemaining: number;
|
|
15251
|
-
created: number;
|
|
15252
15250
|
accountCountry: string | null;
|
|
15253
15251
|
accountName: string | null;
|
|
15254
15252
|
applicationFeeAmount: number | null;
|
|
@@ -16113,11 +16111,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16113
16111
|
};
|
|
16114
16112
|
_output_in: {
|
|
16115
16113
|
plan: {
|
|
16116
|
-
codes: string[];
|
|
16117
16114
|
id: string;
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
descriptorId: string;
|
|
16115
|
+
name: string;
|
|
16116
|
+
isCustomPlan?: boolean | undefined;
|
|
16121
16117
|
} & {
|
|
16122
16118
|
descriptor: {
|
|
16123
16119
|
devsBase: bigint | null;
|
|
@@ -16154,7 +16150,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16154
16150
|
logo: string | null;
|
|
16155
16151
|
updatedAt: Date;
|
|
16156
16152
|
origin: string[];
|
|
16157
|
-
isCustomPlan: boolean;
|
|
16158
16153
|
planId: string | null;
|
|
16159
16154
|
quotasId: string;
|
|
16160
16155
|
metricsId: string;
|
|
@@ -16164,11 +16159,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16164
16159
|
} | null;
|
|
16165
16160
|
};
|
|
16166
16161
|
plans: ({
|
|
16167
|
-
codes: string[];
|
|
16168
16162
|
id: string;
|
|
16169
|
-
|
|
16170
|
-
|
|
16171
|
-
descriptorId: string;
|
|
16163
|
+
name: string;
|
|
16164
|
+
isCustomPlan?: boolean | undefined;
|
|
16172
16165
|
} & {
|
|
16173
16166
|
descriptor: {
|
|
16174
16167
|
devsBase: bigint | null;
|
|
@@ -16196,11 +16189,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16196
16189
|
};
|
|
16197
16190
|
_output_out: {
|
|
16198
16191
|
plan: {
|
|
16199
|
-
codes: string[];
|
|
16200
16192
|
id: string;
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
descriptorId: string;
|
|
16193
|
+
name: string;
|
|
16194
|
+
isCustomPlan: boolean;
|
|
16204
16195
|
} & {
|
|
16205
16196
|
descriptor: {
|
|
16206
16197
|
devsBase: bigint | null;
|
|
@@ -16237,7 +16228,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16237
16228
|
logo: string | null;
|
|
16238
16229
|
updatedAt: Date;
|
|
16239
16230
|
origin: string[];
|
|
16240
|
-
isCustomPlan: boolean;
|
|
16241
16231
|
planId: string | null;
|
|
16242
16232
|
quotasId: string;
|
|
16243
16233
|
metricsId: string;
|
|
@@ -16247,11 +16237,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16247
16237
|
} | null;
|
|
16248
16238
|
};
|
|
16249
16239
|
plans: ({
|
|
16250
|
-
codes: string[];
|
|
16251
16240
|
id: string;
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
descriptorId: string;
|
|
16241
|
+
name: string;
|
|
16242
|
+
isCustomPlan: boolean;
|
|
16255
16243
|
} & {
|
|
16256
16244
|
descriptor: {
|
|
16257
16245
|
devsBase: bigint | null;
|
|
@@ -16331,11 +16319,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16331
16319
|
};
|
|
16332
16320
|
_output_in: {
|
|
16333
16321
|
plan: {
|
|
16334
|
-
codes: string[];
|
|
16335
16322
|
id: string;
|
|
16336
|
-
|
|
16337
|
-
|
|
16338
|
-
descriptorId: string;
|
|
16323
|
+
name: string;
|
|
16324
|
+
isCustomPlan?: boolean | undefined;
|
|
16339
16325
|
} & {
|
|
16340
16326
|
descriptor: {
|
|
16341
16327
|
devsBase: bigint | null;
|
|
@@ -16372,7 +16358,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16372
16358
|
logo: string | null;
|
|
16373
16359
|
updatedAt: Date;
|
|
16374
16360
|
origin: string[];
|
|
16375
|
-
isCustomPlan: boolean;
|
|
16376
16361
|
planId: string | null;
|
|
16377
16362
|
quotasId: string;
|
|
16378
16363
|
metricsId: string;
|
|
@@ -16382,11 +16367,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16382
16367
|
} | null;
|
|
16383
16368
|
};
|
|
16384
16369
|
plans: ({
|
|
16385
|
-
codes: string[];
|
|
16386
16370
|
id: string;
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
descriptorId: string;
|
|
16371
|
+
name: string;
|
|
16372
|
+
isCustomPlan?: boolean | undefined;
|
|
16390
16373
|
} & {
|
|
16391
16374
|
descriptor: {
|
|
16392
16375
|
devsBase: bigint | null;
|
|
@@ -16414,11 +16397,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16414
16397
|
}[];
|
|
16415
16398
|
_output_out: {
|
|
16416
16399
|
plan: {
|
|
16417
|
-
codes: string[];
|
|
16418
16400
|
id: string;
|
|
16419
|
-
|
|
16420
|
-
|
|
16421
|
-
descriptorId: string;
|
|
16401
|
+
name: string;
|
|
16402
|
+
isCustomPlan: boolean;
|
|
16422
16403
|
} & {
|
|
16423
16404
|
descriptor: {
|
|
16424
16405
|
devsBase: bigint | null;
|
|
@@ -16455,7 +16436,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16455
16436
|
logo: string | null;
|
|
16456
16437
|
updatedAt: Date;
|
|
16457
16438
|
origin: string[];
|
|
16458
|
-
isCustomPlan: boolean;
|
|
16459
16439
|
planId: string | null;
|
|
16460
16440
|
quotasId: string;
|
|
16461
16441
|
metricsId: string;
|
|
@@ -16465,11 +16445,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16465
16445
|
} | null;
|
|
16466
16446
|
};
|
|
16467
16447
|
plans: ({
|
|
16468
|
-
codes: string[];
|
|
16469
16448
|
id: string;
|
|
16470
|
-
|
|
16471
|
-
|
|
16472
|
-
descriptorId: string;
|
|
16449
|
+
name: string;
|
|
16450
|
+
isCustomPlan: boolean;
|
|
16473
16451
|
} & {
|
|
16474
16452
|
descriptor: {
|
|
16475
16453
|
devsBase: bigint | null;
|
|
@@ -16699,11 +16677,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16699
16677
|
};
|
|
16700
16678
|
_input_in: {
|
|
16701
16679
|
appId: string;
|
|
16702
|
-
|
|
16680
|
+
planName: string;
|
|
16703
16681
|
};
|
|
16704
16682
|
_input_out: {
|
|
16705
16683
|
appId: string;
|
|
16706
|
-
|
|
16684
|
+
planName: string;
|
|
16707
16685
|
};
|
|
16708
16686
|
_output_in: {
|
|
16709
16687
|
url: string | null;
|