@secrecy/trpc-api-types 1.33.0-feat-custom-tech-plan.2 → 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.
Files changed (2) hide show
  1. package/dist/index.d.cts +29 -59
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -702,20 +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
- kind: string;
708
- relatedTo: "secrecy" | "secrecy_tech";
706
+ name: string;
709
707
  descriptorId: string;
710
- isCustomPlan: boolean;
708
+ stripePricesId: string | null;
709
+ isCustomPlan?: boolean | undefined;
710
+ canHaveDatabase?: boolean | undefined;
711
711
  };
712
712
  _output_out: {
713
- codes: string[];
714
713
  id: string;
715
- kind: string;
716
- relatedTo: "secrecy" | "secrecy_tech";
714
+ name: string;
717
715
  descriptorId: string;
718
716
  isCustomPlan: boolean;
717
+ canHaveDatabase: boolean;
718
+ stripePricesId: string | null;
719
719
  };
720
720
  }, unknown>;
721
721
  plans: _trpc_server.BuildProcedure<"query", {
@@ -752,7 +752,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
752
752
  }>;
753
753
  _meta: object;
754
754
  _ctx_out: {
755
- session: SecrecySession | null;
755
+ session: SecrecySessionWithApp;
756
756
  req: {
757
757
  headers: Headers;
758
758
  body: ReadableStream<Uint8Array> | null;
@@ -766,12 +766,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
766
766
  _input_in: {} | undefined;
767
767
  _input_out: {} | undefined;
768
768
  _output_in: ({
769
- codes: string[];
770
769
  id: string;
771
- kind: string;
772
- relatedTo: "secrecy" | "secrecy_tech";
773
- descriptorId: string;
774
- isCustomPlan: boolean;
770
+ name: string;
771
+ isCustomPlan?: boolean | undefined;
775
772
  } & {
776
773
  descriptor: {
777
774
  devsBase: bigint | null;
@@ -799,11 +796,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
799
796
  price: number;
800
797
  })[];
801
798
  _output_out: ({
802
- codes: string[];
803
799
  id: string;
804
- kind: string;
805
- relatedTo: "secrecy" | "secrecy_tech";
806
- descriptorId: string;
800
+ name: string;
807
801
  isCustomPlan: boolean;
808
802
  } & {
809
803
  descriptor: {
@@ -15122,10 +15116,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
15122
15116
  currency: string;
15123
15117
  total: number;
15124
15118
  paid: boolean;
15119
+ created: number;
15125
15120
  amountDue: number;
15126
15121
  amountPaid: number;
15127
15122
  amountRemaining: number;
15128
- created: number;
15129
15123
  accountCountry: string | null;
15130
15124
  accountName: string | null;
15131
15125
  applicationFeeAmount: number | null;
@@ -15143,10 +15137,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
15143
15137
  currency: string;
15144
15138
  total: number;
15145
15139
  paid: boolean;
15140
+ created: number;
15146
15141
  amountDue: number;
15147
15142
  amountPaid: number;
15148
15143
  amountRemaining: number;
15149
- created: number;
15150
15144
  accountCountry: string | null;
15151
15145
  accountName: string | null;
15152
15146
  applicationFeeAmount: number | null;
@@ -15228,10 +15222,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
15228
15222
  currency: string;
15229
15223
  total: number;
15230
15224
  paid: boolean;
15225
+ created: number;
15231
15226
  amountDue: number;
15232
15227
  amountPaid: number;
15233
15228
  amountRemaining: number;
15234
- created: number;
15235
15229
  accountCountry: string | null;
15236
15230
  accountName: string | null;
15237
15231
  applicationFeeAmount: number | null;
@@ -15249,10 +15243,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
15249
15243
  currency: string;
15250
15244
  total: number;
15251
15245
  paid: boolean;
15246
+ created: number;
15252
15247
  amountDue: number;
15253
15248
  amountPaid: number;
15254
15249
  amountRemaining: number;
15255
- created: number;
15256
15250
  accountCountry: string | null;
15257
15251
  accountName: string | null;
15258
15252
  applicationFeeAmount: number | null;
@@ -16117,12 +16111,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16117
16111
  };
16118
16112
  _output_in: {
16119
16113
  plan: {
16120
- codes: string[];
16121
16114
  id: string;
16122
- kind: string;
16123
- relatedTo: "secrecy" | "secrecy_tech";
16124
- descriptorId: string;
16125
- isCustomPlan: boolean;
16115
+ name: string;
16116
+ isCustomPlan?: boolean | undefined;
16126
16117
  } & {
16127
16118
  descriptor: {
16128
16119
  devsBase: bigint | null;
@@ -16168,12 +16159,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16168
16159
  } | null;
16169
16160
  };
16170
16161
  plans: ({
16171
- codes: string[];
16172
16162
  id: string;
16173
- kind: string;
16174
- relatedTo: "secrecy" | "secrecy_tech";
16175
- descriptorId: string;
16176
- isCustomPlan: boolean;
16163
+ name: string;
16164
+ isCustomPlan?: boolean | undefined;
16177
16165
  } & {
16178
16166
  descriptor: {
16179
16167
  devsBase: bigint | null;
@@ -16201,11 +16189,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16201
16189
  };
16202
16190
  _output_out: {
16203
16191
  plan: {
16204
- codes: string[];
16205
16192
  id: string;
16206
- kind: string;
16207
- relatedTo: "secrecy" | "secrecy_tech";
16208
- descriptorId: string;
16193
+ name: string;
16209
16194
  isCustomPlan: boolean;
16210
16195
  } & {
16211
16196
  descriptor: {
@@ -16252,11 +16237,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16252
16237
  } | null;
16253
16238
  };
16254
16239
  plans: ({
16255
- codes: string[];
16256
16240
  id: string;
16257
- kind: string;
16258
- relatedTo: "secrecy" | "secrecy_tech";
16259
- descriptorId: string;
16241
+ name: string;
16260
16242
  isCustomPlan: boolean;
16261
16243
  } & {
16262
16244
  descriptor: {
@@ -16337,12 +16319,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16337
16319
  };
16338
16320
  _output_in: {
16339
16321
  plan: {
16340
- codes: string[];
16341
16322
  id: string;
16342
- kind: string;
16343
- relatedTo: "secrecy" | "secrecy_tech";
16344
- descriptorId: string;
16345
- isCustomPlan: boolean;
16323
+ name: string;
16324
+ isCustomPlan?: boolean | undefined;
16346
16325
  } & {
16347
16326
  descriptor: {
16348
16327
  devsBase: bigint | null;
@@ -16388,12 +16367,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16388
16367
  } | null;
16389
16368
  };
16390
16369
  plans: ({
16391
- codes: string[];
16392
16370
  id: string;
16393
- kind: string;
16394
- relatedTo: "secrecy" | "secrecy_tech";
16395
- descriptorId: string;
16396
- isCustomPlan: boolean;
16371
+ name: string;
16372
+ isCustomPlan?: boolean | undefined;
16397
16373
  } & {
16398
16374
  descriptor: {
16399
16375
  devsBase: bigint | null;
@@ -16421,11 +16397,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16421
16397
  }[];
16422
16398
  _output_out: {
16423
16399
  plan: {
16424
- codes: string[];
16425
16400
  id: string;
16426
- kind: string;
16427
- relatedTo: "secrecy" | "secrecy_tech";
16428
- descriptorId: string;
16401
+ name: string;
16429
16402
  isCustomPlan: boolean;
16430
16403
  } & {
16431
16404
  descriptor: {
@@ -16472,11 +16445,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16472
16445
  } | null;
16473
16446
  };
16474
16447
  plans: ({
16475
- codes: string[];
16476
16448
  id: string;
16477
- kind: string;
16478
- relatedTo: "secrecy" | "secrecy_tech";
16479
- descriptorId: string;
16449
+ name: string;
16480
16450
  isCustomPlan: boolean;
16481
16451
  } & {
16482
16452
  descriptor: {
@@ -16707,11 +16677,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16707
16677
  };
16708
16678
  _input_in: {
16709
16679
  appId: string;
16710
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
16680
+ planName: string;
16711
16681
  };
16712
16682
  _input_out: {
16713
16683
  appId: string;
16714
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
16684
+ planName: string;
16715
16685
  };
16716
16686
  _output_in: {
16717
16687
  url: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-custom-tech-plan.2",
3
+ "version": "1.33.0-feat-custom-tech-plan.3",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"