@inversifyjs/http-insights 0.5.1 → 0.6.0

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 (166) hide show
  1. package/lib/generated/prisma/browser.d.ts +30 -0
  2. package/lib/generated/prisma/browser.d.ts.map +1 -1
  3. package/lib/generated/prisma/client.d.ts +30 -0
  4. package/lib/generated/prisma/client.d.ts.map +1 -1
  5. package/lib/generated/prisma/commonInputTypes.d.ts +81 -0
  6. package/lib/generated/prisma/commonInputTypes.d.ts.map +1 -1
  7. package/lib/generated/prisma/enums.d.ts +9 -1
  8. package/lib/generated/prisma/enums.d.ts.map +1 -1
  9. package/lib/generated/prisma/enums.js +8 -1
  10. package/lib/generated/prisma/enums.js.map +1 -1
  11. package/lib/generated/prisma/internal/class.d.ts +66 -0
  12. package/lib/generated/prisma/internal/class.d.ts.map +1 -1
  13. package/lib/generated/prisma/internal/class.js +4 -4
  14. package/lib/generated/prisma/internal/class.js.map +1 -1
  15. package/lib/generated/prisma/internal/prismaNamespace.d.ts +533 -1
  16. package/lib/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
  17. package/lib/generated/prisma/internal/prismaNamespace.js +73 -1
  18. package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -1
  19. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +78 -0
  20. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -1
  21. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +73 -1
  22. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -1
  23. package/lib/generated/prisma/models/Controller.d.ts +108 -0
  24. package/lib/generated/prisma/models/Controller.d.ts.map +1 -1
  25. package/lib/generated/prisma/models/Guard.d.ts +112 -0
  26. package/lib/generated/prisma/models/Guard.d.ts.map +1 -1
  27. package/lib/generated/prisma/models/Interceptor.d.ts +108 -0
  28. package/lib/generated/prisma/models/Interceptor.d.ts.map +1 -1
  29. package/lib/generated/prisma/models/Middleware.d.ts +112 -0
  30. package/lib/generated/prisma/models/Middleware.d.ts.map +1 -1
  31. package/lib/generated/prisma/models/Pipe.d.ts +116 -0
  32. package/lib/generated/prisma/models/Pipe.d.ts.map +1 -1
  33. package/lib/generated/prisma/models/Plan.d.ts +1948 -0
  34. package/lib/generated/prisma/models/Plan.d.ts.map +1 -0
  35. package/lib/generated/prisma/models/Plan.js +2 -0
  36. package/lib/generated/prisma/models/Plan.js.map +1 -0
  37. package/lib/generated/prisma/models/PlanBinding.d.ts +1843 -0
  38. package/lib/generated/prisma/models/PlanBinding.d.ts.map +1 -0
  39. package/lib/generated/prisma/models/PlanBinding.js +2 -0
  40. package/lib/generated/prisma/models/PlanBinding.js.map +1 -0
  41. package/lib/generated/prisma/models/PlanBindingDependency.d.ts +1503 -0
  42. package/lib/generated/prisma/models/PlanBindingDependency.d.ts.map +1 -0
  43. package/lib/generated/prisma/models/PlanBindingDependency.js +2 -0
  44. package/lib/generated/prisma/models/PlanBindingDependency.js.map +1 -0
  45. package/lib/generated/prisma/models/PlanService.d.ts +1851 -0
  46. package/lib/generated/prisma/models/PlanService.d.ts.map +1 -0
  47. package/lib/generated/prisma/models/PlanService.js +2 -0
  48. package/lib/generated/prisma/models/PlanService.js.map +1 -0
  49. package/lib/generated/prisma/models/PlanServiceBinding.d.ts +1238 -0
  50. package/lib/generated/prisma/models/PlanServiceBinding.d.ts.map +1 -0
  51. package/lib/generated/prisma/models/PlanServiceBinding.js +2 -0
  52. package/lib/generated/prisma/models/PlanServiceBinding.js.map +1 -0
  53. package/lib/generated/prisma/models/PlanServiceTag.d.ts +1315 -0
  54. package/lib/generated/prisma/models/PlanServiceTag.d.ts.map +1 -0
  55. package/lib/generated/prisma/models/PlanServiceTag.js +2 -0
  56. package/lib/generated/prisma/models/PlanServiceTag.js.map +1 -0
  57. package/lib/generated/prisma/models.d.ts +6 -0
  58. package/lib/generated/prisma/models.d.ts.map +1 -1
  59. package/lib/generated/prisma-migrate/index.d.ts.map +1 -1
  60. package/lib/generated/prisma-migrate/index.js +1 -1
  61. package/lib/generated/prisma-migrate/index.js.map +1 -1
  62. package/lib/insights/adapter/inversify/modules/InsightsContainerModule.d.ts.map +1 -1
  63. package/lib/insights/adapter/inversify/modules/InsightsContainerModule.js +2 -0
  64. package/lib/insights/adapter/inversify/modules/InsightsContainerModule.js.map +1 -1
  65. package/lib/insights/adapter/inversify/services/HttpInsightsProvider.js +1 -1
  66. package/lib/insights/adapter/inversify/services/HttpInsightsProvider.js.map +1 -1
  67. package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.d.ts.map +1 -1
  68. package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.js +94 -0
  69. package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.js.map +1 -1
  70. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.d.ts +167 -1
  71. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.d.ts.map +1 -1
  72. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.js +9 -5
  73. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.js.map +1 -1
  74. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.d.ts +5 -4
  75. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.d.ts.map +1 -1
  76. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.js +14 -2
  77. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.js.map +1 -1
  78. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.d.ts +5 -4
  79. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.d.ts.map +1 -1
  80. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.js +14 -2
  81. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.js.map +1 -1
  82. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.d.ts +5 -4
  83. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.d.ts.map +1 -1
  84. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.js +14 -2
  85. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.js.map +1 -1
  86. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.d.ts +5 -4
  87. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.d.ts.map +1 -1
  88. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.js +14 -2
  89. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.js.map +1 -1
  90. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.d.ts +5 -4
  91. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.d.ts.map +1 -1
  92. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.js +14 -2
  93. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.js.map +1 -1
  94. package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.d.ts +7 -0
  95. package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.d.ts.map +1 -0
  96. package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.js +359 -0
  97. package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.js.map +1 -0
  98. package/lib/insights/adapter/prisma/builders/prismaPlanInclude.d.ts +83 -0
  99. package/lib/insights/adapter/prisma/builders/prismaPlanInclude.d.ts.map +1 -0
  100. package/lib/insights/adapter/prisma/builders/prismaPlanInclude.js +25 -0
  101. package/lib/insights/adapter/prisma/builders/prismaPlanInclude.js.map +1 -0
  102. package/lib/insights/adapter/prisma/calculations/readPlanRows.d.ts +19 -0
  103. package/lib/insights/adapter/prisma/calculations/readPlanRows.d.ts.map +1 -0
  104. package/lib/insights/adapter/prisma/calculations/readPlanRows.js +160 -0
  105. package/lib/insights/adapter/prisma/calculations/readPlanRows.js.map +1 -0
  106. package/lib/insights/domain/calculations/definePlanJson.d.ts +3 -0
  107. package/lib/insights/domain/calculations/definePlanJson.d.ts.map +1 -0
  108. package/lib/insights/domain/calculations/definePlanJson.js +88 -0
  109. package/lib/insights/domain/calculations/definePlanJson.js.map +1 -0
  110. package/lib/insights/domain/models/Controller.d.ts +2 -0
  111. package/lib/insights/domain/models/Controller.d.ts.map +1 -1
  112. package/lib/insights/domain/models/Guard.d.ts +2 -0
  113. package/lib/insights/domain/models/Guard.d.ts.map +1 -1
  114. package/lib/insights/domain/models/Interceptor.d.ts +2 -0
  115. package/lib/insights/domain/models/Interceptor.d.ts.map +1 -1
  116. package/lib/insights/domain/models/Middleware.d.ts +2 -0
  117. package/lib/insights/domain/models/Middleware.d.ts.map +1 -1
  118. package/lib/insights/domain/models/Pipe.d.ts +2 -0
  119. package/lib/insights/domain/models/Pipe.d.ts.map +1 -1
  120. package/lib/insights/domain/models/Plan.d.ts +6 -0
  121. package/lib/insights/domain/models/Plan.d.ts.map +1 -0
  122. package/lib/insights/domain/models/Plan.js +2 -0
  123. package/lib/insights/domain/models/Plan.js.map +1 -0
  124. package/lib/insights/domain/models/PlanBinding.d.ts +39 -0
  125. package/lib/insights/domain/models/PlanBinding.d.ts.map +1 -0
  126. package/lib/insights/domain/models/PlanBinding.js +15 -0
  127. package/lib/insights/domain/models/PlanBinding.js.map +1 -0
  128. package/lib/insights/domain/models/PlanJsonValue.d.ts +6 -0
  129. package/lib/insights/domain/models/PlanJsonValue.d.ts.map +1 -0
  130. package/lib/insights/domain/models/PlanJsonValue.js +2 -0
  131. package/lib/insights/domain/models/PlanJsonValue.js.map +1 -0
  132. package/lib/insights/domain/models/PlanMetadataKey.d.ts +5 -0
  133. package/lib/insights/domain/models/PlanMetadataKey.d.ts.map +1 -0
  134. package/lib/insights/domain/models/PlanMetadataKey.js +2 -0
  135. package/lib/insights/domain/models/PlanMetadataKey.js.map +1 -0
  136. package/lib/insights/domain/models/PlanProperty.d.ts +7 -0
  137. package/lib/insights/domain/models/PlanProperty.d.ts.map +1 -0
  138. package/lib/insights/domain/models/PlanProperty.js +2 -0
  139. package/lib/insights/domain/models/PlanProperty.js.map +1 -0
  140. package/lib/insights/domain/models/PlanService.d.ts +15 -0
  141. package/lib/insights/domain/models/PlanService.d.ts.map +1 -0
  142. package/lib/insights/domain/models/PlanService.js +2 -0
  143. package/lib/insights/domain/models/PlanService.js.map +1 -0
  144. package/lib/insights/domain/models/PlanServiceIdentifier.d.ts +5 -0
  145. package/lib/insights/domain/models/PlanServiceIdentifier.d.ts.map +1 -0
  146. package/lib/insights/domain/models/PlanServiceIdentifier.js +2 -0
  147. package/lib/insights/domain/models/PlanServiceIdentifier.js.map +1 -0
  148. package/lib/insights/domain/models/PlanTag.d.ts +7 -0
  149. package/lib/insights/domain/models/PlanTag.d.ts.map +1 -0
  150. package/lib/insights/domain/models/PlanTag.js +2 -0
  151. package/lib/insights/domain/models/PlanTag.js.map +1 -0
  152. package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.d.ts +4 -0
  153. package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.d.ts.map +1 -0
  154. package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.js +269 -0
  155. package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.js.map +1 -0
  156. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.d.ts +2 -2
  157. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.d.ts.map +1 -1
  158. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.js +3 -3
  159. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.js.map +1 -1
  160. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.d.ts +2 -1
  161. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.d.ts.map +1 -1
  162. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.js +69 -55
  163. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.js.map +1 -1
  164. package/package.json +7 -7
  165. package/prisma/migrations/20261108202000_add_plan/migration.sql +124 -0
  166. package/prisma/schema.prisma +117 -0
@@ -0,0 +1,1948 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model Plan
5
+ *
6
+ */
7
+ export type PlanModel = runtime.Types.Result.DefaultSelection<Prisma.$PlanPayload>;
8
+ export type AggregatePlan = {
9
+ _count: PlanCountAggregateOutputType | null;
10
+ _min: PlanMinAggregateOutputType | null;
11
+ _max: PlanMaxAggregateOutputType | null;
12
+ };
13
+ export type PlanMinAggregateOutputType = {
14
+ id: string | null;
15
+ controller_id: string | null;
16
+ guard_id: string | null;
17
+ interceptor_id: string | null;
18
+ middleware_id: string | null;
19
+ pipe_id: string | null;
20
+ created_at: Date | null;
21
+ updated_at: Date | null;
22
+ };
23
+ export type PlanMaxAggregateOutputType = {
24
+ id: string | null;
25
+ controller_id: string | null;
26
+ guard_id: string | null;
27
+ interceptor_id: string | null;
28
+ middleware_id: string | null;
29
+ pipe_id: string | null;
30
+ created_at: Date | null;
31
+ updated_at: Date | null;
32
+ };
33
+ export type PlanCountAggregateOutputType = {
34
+ id: number;
35
+ controller_id: number;
36
+ guard_id: number;
37
+ interceptor_id: number;
38
+ middleware_id: number;
39
+ pipe_id: number;
40
+ created_at: number;
41
+ updated_at: number;
42
+ _all: number;
43
+ };
44
+ export type PlanMinAggregateInputType = {
45
+ id?: true;
46
+ controller_id?: true;
47
+ guard_id?: true;
48
+ interceptor_id?: true;
49
+ middleware_id?: true;
50
+ pipe_id?: true;
51
+ created_at?: true;
52
+ updated_at?: true;
53
+ };
54
+ export type PlanMaxAggregateInputType = {
55
+ id?: true;
56
+ controller_id?: true;
57
+ guard_id?: true;
58
+ interceptor_id?: true;
59
+ middleware_id?: true;
60
+ pipe_id?: true;
61
+ created_at?: true;
62
+ updated_at?: true;
63
+ };
64
+ export type PlanCountAggregateInputType = {
65
+ id?: true;
66
+ controller_id?: true;
67
+ guard_id?: true;
68
+ interceptor_id?: true;
69
+ middleware_id?: true;
70
+ pipe_id?: true;
71
+ created_at?: true;
72
+ updated_at?: true;
73
+ _all?: true;
74
+ };
75
+ export type PlanAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
76
+ /**
77
+ * Filter which Plan to aggregate.
78
+ */
79
+ where?: Prisma.PlanWhereInput;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
82
+ *
83
+ * Determine the order of Plans to fetch.
84
+ */
85
+ orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[];
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
88
+ *
89
+ * Sets the start position
90
+ */
91
+ cursor?: Prisma.PlanWhereUniqueInput;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
94
+ *
95
+ * Take `±n` Plans from the position of the cursor.
96
+ */
97
+ take?: number;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
100
+ *
101
+ * Skip the first `n` Plans.
102
+ */
103
+ skip?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Count returned Plans
108
+ **/
109
+ _count?: true | PlanCountAggregateInputType;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Select which fields to find the minimum value
114
+ **/
115
+ _min?: PlanMinAggregateInputType;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
+ *
119
+ * Select which fields to find the maximum value
120
+ **/
121
+ _max?: PlanMaxAggregateInputType;
122
+ };
123
+ export type GetPlanAggregateType<T extends PlanAggregateArgs> = {
124
+ [P in keyof T & keyof AggregatePlan]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePlan[P]> : Prisma.GetScalarType<T[P], AggregatePlan[P]>;
125
+ };
126
+ export type PlanGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
127
+ where?: Prisma.PlanWhereInput;
128
+ orderBy?: Prisma.PlanOrderByWithAggregationInput | Prisma.PlanOrderByWithAggregationInput[];
129
+ by: Prisma.PlanScalarFieldEnum[] | Prisma.PlanScalarFieldEnum;
130
+ having?: Prisma.PlanScalarWhereWithAggregatesInput;
131
+ take?: number;
132
+ skip?: number;
133
+ _count?: PlanCountAggregateInputType | true;
134
+ _min?: PlanMinAggregateInputType;
135
+ _max?: PlanMaxAggregateInputType;
136
+ };
137
+ export type PlanGroupByOutputType = {
138
+ id: string;
139
+ controller_id: string | null;
140
+ guard_id: string | null;
141
+ interceptor_id: string | null;
142
+ middleware_id: string | null;
143
+ pipe_id: string | null;
144
+ created_at: Date;
145
+ updated_at: Date;
146
+ _count: PlanCountAggregateOutputType | null;
147
+ _min: PlanMinAggregateOutputType | null;
148
+ _max: PlanMaxAggregateOutputType | null;
149
+ };
150
+ export type GetPlanGroupByPayload<T extends PlanGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PlanGroupByOutputType, T['by']> & {
151
+ [P in ((keyof T) & (keyof PlanGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PlanGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PlanGroupByOutputType[P]>;
152
+ }>>;
153
+ export type PlanWhereInput = {
154
+ AND?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[];
155
+ OR?: Prisma.PlanWhereInput[];
156
+ NOT?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[];
157
+ id?: Prisma.StringFilter<"Plan"> | string;
158
+ controller_id?: Prisma.StringNullableFilter<"Plan"> | string | null;
159
+ guard_id?: Prisma.StringNullableFilter<"Plan"> | string | null;
160
+ interceptor_id?: Prisma.StringNullableFilter<"Plan"> | string | null;
161
+ middleware_id?: Prisma.StringNullableFilter<"Plan"> | string | null;
162
+ pipe_id?: Prisma.StringNullableFilter<"Plan"> | string | null;
163
+ created_at?: Prisma.DateTimeFilter<"Plan"> | Date | string;
164
+ updated_at?: Prisma.DateTimeFilter<"Plan"> | Date | string;
165
+ controller?: Prisma.XOR<Prisma.ControllerNullableScalarRelationFilter, Prisma.ControllerWhereInput> | null;
166
+ guard?: Prisma.XOR<Prisma.GuardNullableScalarRelationFilter, Prisma.GuardWhereInput> | null;
167
+ interceptor?: Prisma.XOR<Prisma.InterceptorNullableScalarRelationFilter, Prisma.InterceptorWhereInput> | null;
168
+ middleware?: Prisma.XOR<Prisma.MiddlewareNullableScalarRelationFilter, Prisma.MiddlewareWhereInput> | null;
169
+ pipe?: Prisma.XOR<Prisma.PipeNullableScalarRelationFilter, Prisma.PipeWhereInput> | null;
170
+ services?: Prisma.PlanServiceListRelationFilter;
171
+ bindings?: Prisma.PlanBindingListRelationFilter;
172
+ };
173
+ export type PlanOrderByWithRelationInput = {
174
+ id?: Prisma.SortOrder;
175
+ controller_id?: Prisma.SortOrderInput | Prisma.SortOrder;
176
+ guard_id?: Prisma.SortOrderInput | Prisma.SortOrder;
177
+ interceptor_id?: Prisma.SortOrderInput | Prisma.SortOrder;
178
+ middleware_id?: Prisma.SortOrderInput | Prisma.SortOrder;
179
+ pipe_id?: Prisma.SortOrderInput | Prisma.SortOrder;
180
+ created_at?: Prisma.SortOrder;
181
+ updated_at?: Prisma.SortOrder;
182
+ controller?: Prisma.ControllerOrderByWithRelationInput;
183
+ guard?: Prisma.GuardOrderByWithRelationInput;
184
+ interceptor?: Prisma.InterceptorOrderByWithRelationInput;
185
+ middleware?: Prisma.MiddlewareOrderByWithRelationInput;
186
+ pipe?: Prisma.PipeOrderByWithRelationInput;
187
+ services?: Prisma.PlanServiceOrderByRelationAggregateInput;
188
+ bindings?: Prisma.PlanBindingOrderByRelationAggregateInput;
189
+ };
190
+ export type PlanWhereUniqueInput = Prisma.AtLeast<{
191
+ id?: string;
192
+ controller_id?: string;
193
+ guard_id?: string;
194
+ interceptor_id?: string;
195
+ middleware_id?: string;
196
+ pipe_id?: string;
197
+ AND?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[];
198
+ OR?: Prisma.PlanWhereInput[];
199
+ NOT?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[];
200
+ created_at?: Prisma.DateTimeFilter<"Plan"> | Date | string;
201
+ updated_at?: Prisma.DateTimeFilter<"Plan"> | Date | string;
202
+ controller?: Prisma.XOR<Prisma.ControllerNullableScalarRelationFilter, Prisma.ControllerWhereInput> | null;
203
+ guard?: Prisma.XOR<Prisma.GuardNullableScalarRelationFilter, Prisma.GuardWhereInput> | null;
204
+ interceptor?: Prisma.XOR<Prisma.InterceptorNullableScalarRelationFilter, Prisma.InterceptorWhereInput> | null;
205
+ middleware?: Prisma.XOR<Prisma.MiddlewareNullableScalarRelationFilter, Prisma.MiddlewareWhereInput> | null;
206
+ pipe?: Prisma.XOR<Prisma.PipeNullableScalarRelationFilter, Prisma.PipeWhereInput> | null;
207
+ services?: Prisma.PlanServiceListRelationFilter;
208
+ bindings?: Prisma.PlanBindingListRelationFilter;
209
+ }, "id" | "controller_id" | "guard_id" | "interceptor_id" | "middleware_id" | "pipe_id">;
210
+ export type PlanOrderByWithAggregationInput = {
211
+ id?: Prisma.SortOrder;
212
+ controller_id?: Prisma.SortOrderInput | Prisma.SortOrder;
213
+ guard_id?: Prisma.SortOrderInput | Prisma.SortOrder;
214
+ interceptor_id?: Prisma.SortOrderInput | Prisma.SortOrder;
215
+ middleware_id?: Prisma.SortOrderInput | Prisma.SortOrder;
216
+ pipe_id?: Prisma.SortOrderInput | Prisma.SortOrder;
217
+ created_at?: Prisma.SortOrder;
218
+ updated_at?: Prisma.SortOrder;
219
+ _count?: Prisma.PlanCountOrderByAggregateInput;
220
+ _max?: Prisma.PlanMaxOrderByAggregateInput;
221
+ _min?: Prisma.PlanMinOrderByAggregateInput;
222
+ };
223
+ export type PlanScalarWhereWithAggregatesInput = {
224
+ AND?: Prisma.PlanScalarWhereWithAggregatesInput | Prisma.PlanScalarWhereWithAggregatesInput[];
225
+ OR?: Prisma.PlanScalarWhereWithAggregatesInput[];
226
+ NOT?: Prisma.PlanScalarWhereWithAggregatesInput | Prisma.PlanScalarWhereWithAggregatesInput[];
227
+ id?: Prisma.StringWithAggregatesFilter<"Plan"> | string;
228
+ controller_id?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null;
229
+ guard_id?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null;
230
+ interceptor_id?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null;
231
+ middleware_id?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null;
232
+ pipe_id?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null;
233
+ created_at?: Prisma.DateTimeWithAggregatesFilter<"Plan"> | Date | string;
234
+ updated_at?: Prisma.DateTimeWithAggregatesFilter<"Plan"> | Date | string;
235
+ };
236
+ export type PlanCreateInput = {
237
+ id: string;
238
+ created_at?: Date | string;
239
+ updated_at?: Date | string;
240
+ controller?: Prisma.ControllerCreateNestedOneWithoutPlanInput;
241
+ guard?: Prisma.GuardCreateNestedOneWithoutPlanInput;
242
+ interceptor?: Prisma.InterceptorCreateNestedOneWithoutPlanInput;
243
+ middleware?: Prisma.MiddlewareCreateNestedOneWithoutPlanInput;
244
+ pipe?: Prisma.PipeCreateNestedOneWithoutPlanInput;
245
+ services?: Prisma.PlanServiceCreateNestedManyWithoutPlanInput;
246
+ bindings?: Prisma.PlanBindingCreateNestedManyWithoutPlanInput;
247
+ };
248
+ export type PlanUncheckedCreateInput = {
249
+ id: string;
250
+ controller_id?: string | null;
251
+ guard_id?: string | null;
252
+ interceptor_id?: string | null;
253
+ middleware_id?: string | null;
254
+ pipe_id?: string | null;
255
+ created_at?: Date | string;
256
+ updated_at?: Date | string;
257
+ services?: Prisma.PlanServiceUncheckedCreateNestedManyWithoutPlanInput;
258
+ bindings?: Prisma.PlanBindingUncheckedCreateNestedManyWithoutPlanInput;
259
+ };
260
+ export type PlanUpdateInput = {
261
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
262
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
263
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
264
+ controller?: Prisma.ControllerUpdateOneWithoutPlanNestedInput;
265
+ guard?: Prisma.GuardUpdateOneWithoutPlanNestedInput;
266
+ interceptor?: Prisma.InterceptorUpdateOneWithoutPlanNestedInput;
267
+ middleware?: Prisma.MiddlewareUpdateOneWithoutPlanNestedInput;
268
+ pipe?: Prisma.PipeUpdateOneWithoutPlanNestedInput;
269
+ services?: Prisma.PlanServiceUpdateManyWithoutPlanNestedInput;
270
+ bindings?: Prisma.PlanBindingUpdateManyWithoutPlanNestedInput;
271
+ };
272
+ export type PlanUncheckedUpdateInput = {
273
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
274
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
275
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
276
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
277
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
278
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
279
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
280
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
281
+ services?: Prisma.PlanServiceUncheckedUpdateManyWithoutPlanNestedInput;
282
+ bindings?: Prisma.PlanBindingUncheckedUpdateManyWithoutPlanNestedInput;
283
+ };
284
+ export type PlanCreateManyInput = {
285
+ id: string;
286
+ controller_id?: string | null;
287
+ guard_id?: string | null;
288
+ interceptor_id?: string | null;
289
+ middleware_id?: string | null;
290
+ pipe_id?: string | null;
291
+ created_at?: Date | string;
292
+ updated_at?: Date | string;
293
+ };
294
+ export type PlanUpdateManyMutationInput = {
295
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
296
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
297
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
298
+ };
299
+ export type PlanUncheckedUpdateManyInput = {
300
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
301
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
302
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
303
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
304
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
305
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
306
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
307
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
308
+ };
309
+ export type PlanNullableScalarRelationFilter = {
310
+ is?: Prisma.PlanWhereInput | null;
311
+ isNot?: Prisma.PlanWhereInput | null;
312
+ };
313
+ export type PlanCountOrderByAggregateInput = {
314
+ id?: Prisma.SortOrder;
315
+ controller_id?: Prisma.SortOrder;
316
+ guard_id?: Prisma.SortOrder;
317
+ interceptor_id?: Prisma.SortOrder;
318
+ middleware_id?: Prisma.SortOrder;
319
+ pipe_id?: Prisma.SortOrder;
320
+ created_at?: Prisma.SortOrder;
321
+ updated_at?: Prisma.SortOrder;
322
+ };
323
+ export type PlanMaxOrderByAggregateInput = {
324
+ id?: Prisma.SortOrder;
325
+ controller_id?: Prisma.SortOrder;
326
+ guard_id?: Prisma.SortOrder;
327
+ interceptor_id?: Prisma.SortOrder;
328
+ middleware_id?: Prisma.SortOrder;
329
+ pipe_id?: Prisma.SortOrder;
330
+ created_at?: Prisma.SortOrder;
331
+ updated_at?: Prisma.SortOrder;
332
+ };
333
+ export type PlanMinOrderByAggregateInput = {
334
+ id?: Prisma.SortOrder;
335
+ controller_id?: Prisma.SortOrder;
336
+ guard_id?: Prisma.SortOrder;
337
+ interceptor_id?: Prisma.SortOrder;
338
+ middleware_id?: Prisma.SortOrder;
339
+ pipe_id?: Prisma.SortOrder;
340
+ created_at?: Prisma.SortOrder;
341
+ updated_at?: Prisma.SortOrder;
342
+ };
343
+ export type PlanScalarRelationFilter = {
344
+ is?: Prisma.PlanWhereInput;
345
+ isNot?: Prisma.PlanWhereInput;
346
+ };
347
+ export type PlanCreateNestedOneWithoutControllerInput = {
348
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutControllerInput, Prisma.PlanUncheckedCreateWithoutControllerInput>;
349
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutControllerInput;
350
+ connect?: Prisma.PlanWhereUniqueInput;
351
+ };
352
+ export type PlanUncheckedCreateNestedOneWithoutControllerInput = {
353
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutControllerInput, Prisma.PlanUncheckedCreateWithoutControllerInput>;
354
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutControllerInput;
355
+ connect?: Prisma.PlanWhereUniqueInput;
356
+ };
357
+ export type PlanUpdateOneWithoutControllerNestedInput = {
358
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutControllerInput, Prisma.PlanUncheckedCreateWithoutControllerInput>;
359
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutControllerInput;
360
+ upsert?: Prisma.PlanUpsertWithoutControllerInput;
361
+ disconnect?: Prisma.PlanWhereInput | boolean;
362
+ delete?: Prisma.PlanWhereInput | boolean;
363
+ connect?: Prisma.PlanWhereUniqueInput;
364
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutControllerInput, Prisma.PlanUpdateWithoutControllerInput>, Prisma.PlanUncheckedUpdateWithoutControllerInput>;
365
+ };
366
+ export type PlanUncheckedUpdateOneWithoutControllerNestedInput = {
367
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutControllerInput, Prisma.PlanUncheckedCreateWithoutControllerInput>;
368
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutControllerInput;
369
+ upsert?: Prisma.PlanUpsertWithoutControllerInput;
370
+ disconnect?: Prisma.PlanWhereInput | boolean;
371
+ delete?: Prisma.PlanWhereInput | boolean;
372
+ connect?: Prisma.PlanWhereUniqueInput;
373
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutControllerInput, Prisma.PlanUpdateWithoutControllerInput>, Prisma.PlanUncheckedUpdateWithoutControllerInput>;
374
+ };
375
+ export type PlanCreateNestedOneWithoutGuardInput = {
376
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutGuardInput, Prisma.PlanUncheckedCreateWithoutGuardInput>;
377
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutGuardInput;
378
+ connect?: Prisma.PlanWhereUniqueInput;
379
+ };
380
+ export type PlanUncheckedCreateNestedOneWithoutGuardInput = {
381
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutGuardInput, Prisma.PlanUncheckedCreateWithoutGuardInput>;
382
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutGuardInput;
383
+ connect?: Prisma.PlanWhereUniqueInput;
384
+ };
385
+ export type PlanUpdateOneWithoutGuardNestedInput = {
386
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutGuardInput, Prisma.PlanUncheckedCreateWithoutGuardInput>;
387
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutGuardInput;
388
+ upsert?: Prisma.PlanUpsertWithoutGuardInput;
389
+ disconnect?: Prisma.PlanWhereInput | boolean;
390
+ delete?: Prisma.PlanWhereInput | boolean;
391
+ connect?: Prisma.PlanWhereUniqueInput;
392
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutGuardInput, Prisma.PlanUpdateWithoutGuardInput>, Prisma.PlanUncheckedUpdateWithoutGuardInput>;
393
+ };
394
+ export type PlanUncheckedUpdateOneWithoutGuardNestedInput = {
395
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutGuardInput, Prisma.PlanUncheckedCreateWithoutGuardInput>;
396
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutGuardInput;
397
+ upsert?: Prisma.PlanUpsertWithoutGuardInput;
398
+ disconnect?: Prisma.PlanWhereInput | boolean;
399
+ delete?: Prisma.PlanWhereInput | boolean;
400
+ connect?: Prisma.PlanWhereUniqueInput;
401
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutGuardInput, Prisma.PlanUpdateWithoutGuardInput>, Prisma.PlanUncheckedUpdateWithoutGuardInput>;
402
+ };
403
+ export type PlanCreateNestedOneWithoutInterceptorInput = {
404
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutInterceptorInput, Prisma.PlanUncheckedCreateWithoutInterceptorInput>;
405
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutInterceptorInput;
406
+ connect?: Prisma.PlanWhereUniqueInput;
407
+ };
408
+ export type PlanUncheckedCreateNestedOneWithoutInterceptorInput = {
409
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutInterceptorInput, Prisma.PlanUncheckedCreateWithoutInterceptorInput>;
410
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutInterceptorInput;
411
+ connect?: Prisma.PlanWhereUniqueInput;
412
+ };
413
+ export type PlanUpdateOneWithoutInterceptorNestedInput = {
414
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutInterceptorInput, Prisma.PlanUncheckedCreateWithoutInterceptorInput>;
415
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutInterceptorInput;
416
+ upsert?: Prisma.PlanUpsertWithoutInterceptorInput;
417
+ disconnect?: Prisma.PlanWhereInput | boolean;
418
+ delete?: Prisma.PlanWhereInput | boolean;
419
+ connect?: Prisma.PlanWhereUniqueInput;
420
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutInterceptorInput, Prisma.PlanUpdateWithoutInterceptorInput>, Prisma.PlanUncheckedUpdateWithoutInterceptorInput>;
421
+ };
422
+ export type PlanUncheckedUpdateOneWithoutInterceptorNestedInput = {
423
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutInterceptorInput, Prisma.PlanUncheckedCreateWithoutInterceptorInput>;
424
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutInterceptorInput;
425
+ upsert?: Prisma.PlanUpsertWithoutInterceptorInput;
426
+ disconnect?: Prisma.PlanWhereInput | boolean;
427
+ delete?: Prisma.PlanWhereInput | boolean;
428
+ connect?: Prisma.PlanWhereUniqueInput;
429
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutInterceptorInput, Prisma.PlanUpdateWithoutInterceptorInput>, Prisma.PlanUncheckedUpdateWithoutInterceptorInput>;
430
+ };
431
+ export type PlanCreateNestedOneWithoutMiddlewareInput = {
432
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutMiddlewareInput, Prisma.PlanUncheckedCreateWithoutMiddlewareInput>;
433
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutMiddlewareInput;
434
+ connect?: Prisma.PlanWhereUniqueInput;
435
+ };
436
+ export type PlanUncheckedCreateNestedOneWithoutMiddlewareInput = {
437
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutMiddlewareInput, Prisma.PlanUncheckedCreateWithoutMiddlewareInput>;
438
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutMiddlewareInput;
439
+ connect?: Prisma.PlanWhereUniqueInput;
440
+ };
441
+ export type PlanUpdateOneWithoutMiddlewareNestedInput = {
442
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutMiddlewareInput, Prisma.PlanUncheckedCreateWithoutMiddlewareInput>;
443
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutMiddlewareInput;
444
+ upsert?: Prisma.PlanUpsertWithoutMiddlewareInput;
445
+ disconnect?: Prisma.PlanWhereInput | boolean;
446
+ delete?: Prisma.PlanWhereInput | boolean;
447
+ connect?: Prisma.PlanWhereUniqueInput;
448
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutMiddlewareInput, Prisma.PlanUpdateWithoutMiddlewareInput>, Prisma.PlanUncheckedUpdateWithoutMiddlewareInput>;
449
+ };
450
+ export type PlanUncheckedUpdateOneWithoutMiddlewareNestedInput = {
451
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutMiddlewareInput, Prisma.PlanUncheckedCreateWithoutMiddlewareInput>;
452
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutMiddlewareInput;
453
+ upsert?: Prisma.PlanUpsertWithoutMiddlewareInput;
454
+ disconnect?: Prisma.PlanWhereInput | boolean;
455
+ delete?: Prisma.PlanWhereInput | boolean;
456
+ connect?: Prisma.PlanWhereUniqueInput;
457
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutMiddlewareInput, Prisma.PlanUpdateWithoutMiddlewareInput>, Prisma.PlanUncheckedUpdateWithoutMiddlewareInput>;
458
+ };
459
+ export type PlanCreateNestedOneWithoutPipeInput = {
460
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutPipeInput, Prisma.PlanUncheckedCreateWithoutPipeInput>;
461
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutPipeInput;
462
+ connect?: Prisma.PlanWhereUniqueInput;
463
+ };
464
+ export type PlanUncheckedCreateNestedOneWithoutPipeInput = {
465
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutPipeInput, Prisma.PlanUncheckedCreateWithoutPipeInput>;
466
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutPipeInput;
467
+ connect?: Prisma.PlanWhereUniqueInput;
468
+ };
469
+ export type PlanUpdateOneWithoutPipeNestedInput = {
470
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutPipeInput, Prisma.PlanUncheckedCreateWithoutPipeInput>;
471
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutPipeInput;
472
+ upsert?: Prisma.PlanUpsertWithoutPipeInput;
473
+ disconnect?: Prisma.PlanWhereInput | boolean;
474
+ delete?: Prisma.PlanWhereInput | boolean;
475
+ connect?: Prisma.PlanWhereUniqueInput;
476
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutPipeInput, Prisma.PlanUpdateWithoutPipeInput>, Prisma.PlanUncheckedUpdateWithoutPipeInput>;
477
+ };
478
+ export type PlanUncheckedUpdateOneWithoutPipeNestedInput = {
479
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutPipeInput, Prisma.PlanUncheckedCreateWithoutPipeInput>;
480
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutPipeInput;
481
+ upsert?: Prisma.PlanUpsertWithoutPipeInput;
482
+ disconnect?: Prisma.PlanWhereInput | boolean;
483
+ delete?: Prisma.PlanWhereInput | boolean;
484
+ connect?: Prisma.PlanWhereUniqueInput;
485
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutPipeInput, Prisma.PlanUpdateWithoutPipeInput>, Prisma.PlanUncheckedUpdateWithoutPipeInput>;
486
+ };
487
+ export type PlanCreateNestedOneWithoutServicesInput = {
488
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutServicesInput, Prisma.PlanUncheckedCreateWithoutServicesInput>;
489
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutServicesInput;
490
+ connect?: Prisma.PlanWhereUniqueInput;
491
+ };
492
+ export type PlanUpdateOneRequiredWithoutServicesNestedInput = {
493
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutServicesInput, Prisma.PlanUncheckedCreateWithoutServicesInput>;
494
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutServicesInput;
495
+ upsert?: Prisma.PlanUpsertWithoutServicesInput;
496
+ connect?: Prisma.PlanWhereUniqueInput;
497
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutServicesInput, Prisma.PlanUpdateWithoutServicesInput>, Prisma.PlanUncheckedUpdateWithoutServicesInput>;
498
+ };
499
+ export type PlanCreateNestedOneWithoutBindingsInput = {
500
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutBindingsInput, Prisma.PlanUncheckedCreateWithoutBindingsInput>;
501
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutBindingsInput;
502
+ connect?: Prisma.PlanWhereUniqueInput;
503
+ };
504
+ export type PlanUpdateOneRequiredWithoutBindingsNestedInput = {
505
+ create?: Prisma.XOR<Prisma.PlanCreateWithoutBindingsInput, Prisma.PlanUncheckedCreateWithoutBindingsInput>;
506
+ connectOrCreate?: Prisma.PlanCreateOrConnectWithoutBindingsInput;
507
+ upsert?: Prisma.PlanUpsertWithoutBindingsInput;
508
+ connect?: Prisma.PlanWhereUniqueInput;
509
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutBindingsInput, Prisma.PlanUpdateWithoutBindingsInput>, Prisma.PlanUncheckedUpdateWithoutBindingsInput>;
510
+ };
511
+ export type PlanCreateWithoutControllerInput = {
512
+ id: string;
513
+ created_at?: Date | string;
514
+ updated_at?: Date | string;
515
+ guard?: Prisma.GuardCreateNestedOneWithoutPlanInput;
516
+ interceptor?: Prisma.InterceptorCreateNestedOneWithoutPlanInput;
517
+ middleware?: Prisma.MiddlewareCreateNestedOneWithoutPlanInput;
518
+ pipe?: Prisma.PipeCreateNestedOneWithoutPlanInput;
519
+ services?: Prisma.PlanServiceCreateNestedManyWithoutPlanInput;
520
+ bindings?: Prisma.PlanBindingCreateNestedManyWithoutPlanInput;
521
+ };
522
+ export type PlanUncheckedCreateWithoutControllerInput = {
523
+ id: string;
524
+ guard_id?: string | null;
525
+ interceptor_id?: string | null;
526
+ middleware_id?: string | null;
527
+ pipe_id?: string | null;
528
+ created_at?: Date | string;
529
+ updated_at?: Date | string;
530
+ services?: Prisma.PlanServiceUncheckedCreateNestedManyWithoutPlanInput;
531
+ bindings?: Prisma.PlanBindingUncheckedCreateNestedManyWithoutPlanInput;
532
+ };
533
+ export type PlanCreateOrConnectWithoutControllerInput = {
534
+ where: Prisma.PlanWhereUniqueInput;
535
+ create: Prisma.XOR<Prisma.PlanCreateWithoutControllerInput, Prisma.PlanUncheckedCreateWithoutControllerInput>;
536
+ };
537
+ export type PlanUpsertWithoutControllerInput = {
538
+ update: Prisma.XOR<Prisma.PlanUpdateWithoutControllerInput, Prisma.PlanUncheckedUpdateWithoutControllerInput>;
539
+ create: Prisma.XOR<Prisma.PlanCreateWithoutControllerInput, Prisma.PlanUncheckedCreateWithoutControllerInput>;
540
+ where?: Prisma.PlanWhereInput;
541
+ };
542
+ export type PlanUpdateToOneWithWhereWithoutControllerInput = {
543
+ where?: Prisma.PlanWhereInput;
544
+ data: Prisma.XOR<Prisma.PlanUpdateWithoutControllerInput, Prisma.PlanUncheckedUpdateWithoutControllerInput>;
545
+ };
546
+ export type PlanUpdateWithoutControllerInput = {
547
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
548
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
549
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
550
+ guard?: Prisma.GuardUpdateOneWithoutPlanNestedInput;
551
+ interceptor?: Prisma.InterceptorUpdateOneWithoutPlanNestedInput;
552
+ middleware?: Prisma.MiddlewareUpdateOneWithoutPlanNestedInput;
553
+ pipe?: Prisma.PipeUpdateOneWithoutPlanNestedInput;
554
+ services?: Prisma.PlanServiceUpdateManyWithoutPlanNestedInput;
555
+ bindings?: Prisma.PlanBindingUpdateManyWithoutPlanNestedInput;
556
+ };
557
+ export type PlanUncheckedUpdateWithoutControllerInput = {
558
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
559
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
560
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
561
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
562
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
563
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
564
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
565
+ services?: Prisma.PlanServiceUncheckedUpdateManyWithoutPlanNestedInput;
566
+ bindings?: Prisma.PlanBindingUncheckedUpdateManyWithoutPlanNestedInput;
567
+ };
568
+ export type PlanCreateWithoutGuardInput = {
569
+ id: string;
570
+ created_at?: Date | string;
571
+ updated_at?: Date | string;
572
+ controller?: Prisma.ControllerCreateNestedOneWithoutPlanInput;
573
+ interceptor?: Prisma.InterceptorCreateNestedOneWithoutPlanInput;
574
+ middleware?: Prisma.MiddlewareCreateNestedOneWithoutPlanInput;
575
+ pipe?: Prisma.PipeCreateNestedOneWithoutPlanInput;
576
+ services?: Prisma.PlanServiceCreateNestedManyWithoutPlanInput;
577
+ bindings?: Prisma.PlanBindingCreateNestedManyWithoutPlanInput;
578
+ };
579
+ export type PlanUncheckedCreateWithoutGuardInput = {
580
+ id: string;
581
+ controller_id?: string | null;
582
+ interceptor_id?: string | null;
583
+ middleware_id?: string | null;
584
+ pipe_id?: string | null;
585
+ created_at?: Date | string;
586
+ updated_at?: Date | string;
587
+ services?: Prisma.PlanServiceUncheckedCreateNestedManyWithoutPlanInput;
588
+ bindings?: Prisma.PlanBindingUncheckedCreateNestedManyWithoutPlanInput;
589
+ };
590
+ export type PlanCreateOrConnectWithoutGuardInput = {
591
+ where: Prisma.PlanWhereUniqueInput;
592
+ create: Prisma.XOR<Prisma.PlanCreateWithoutGuardInput, Prisma.PlanUncheckedCreateWithoutGuardInput>;
593
+ };
594
+ export type PlanUpsertWithoutGuardInput = {
595
+ update: Prisma.XOR<Prisma.PlanUpdateWithoutGuardInput, Prisma.PlanUncheckedUpdateWithoutGuardInput>;
596
+ create: Prisma.XOR<Prisma.PlanCreateWithoutGuardInput, Prisma.PlanUncheckedCreateWithoutGuardInput>;
597
+ where?: Prisma.PlanWhereInput;
598
+ };
599
+ export type PlanUpdateToOneWithWhereWithoutGuardInput = {
600
+ where?: Prisma.PlanWhereInput;
601
+ data: Prisma.XOR<Prisma.PlanUpdateWithoutGuardInput, Prisma.PlanUncheckedUpdateWithoutGuardInput>;
602
+ };
603
+ export type PlanUpdateWithoutGuardInput = {
604
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
605
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
606
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
607
+ controller?: Prisma.ControllerUpdateOneWithoutPlanNestedInput;
608
+ interceptor?: Prisma.InterceptorUpdateOneWithoutPlanNestedInput;
609
+ middleware?: Prisma.MiddlewareUpdateOneWithoutPlanNestedInput;
610
+ pipe?: Prisma.PipeUpdateOneWithoutPlanNestedInput;
611
+ services?: Prisma.PlanServiceUpdateManyWithoutPlanNestedInput;
612
+ bindings?: Prisma.PlanBindingUpdateManyWithoutPlanNestedInput;
613
+ };
614
+ export type PlanUncheckedUpdateWithoutGuardInput = {
615
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
616
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
617
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
618
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
619
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
620
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
621
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
622
+ services?: Prisma.PlanServiceUncheckedUpdateManyWithoutPlanNestedInput;
623
+ bindings?: Prisma.PlanBindingUncheckedUpdateManyWithoutPlanNestedInput;
624
+ };
625
+ export type PlanCreateWithoutInterceptorInput = {
626
+ id: string;
627
+ created_at?: Date | string;
628
+ updated_at?: Date | string;
629
+ controller?: Prisma.ControllerCreateNestedOneWithoutPlanInput;
630
+ guard?: Prisma.GuardCreateNestedOneWithoutPlanInput;
631
+ middleware?: Prisma.MiddlewareCreateNestedOneWithoutPlanInput;
632
+ pipe?: Prisma.PipeCreateNestedOneWithoutPlanInput;
633
+ services?: Prisma.PlanServiceCreateNestedManyWithoutPlanInput;
634
+ bindings?: Prisma.PlanBindingCreateNestedManyWithoutPlanInput;
635
+ };
636
+ export type PlanUncheckedCreateWithoutInterceptorInput = {
637
+ id: string;
638
+ controller_id?: string | null;
639
+ guard_id?: string | null;
640
+ middleware_id?: string | null;
641
+ pipe_id?: string | null;
642
+ created_at?: Date | string;
643
+ updated_at?: Date | string;
644
+ services?: Prisma.PlanServiceUncheckedCreateNestedManyWithoutPlanInput;
645
+ bindings?: Prisma.PlanBindingUncheckedCreateNestedManyWithoutPlanInput;
646
+ };
647
+ export type PlanCreateOrConnectWithoutInterceptorInput = {
648
+ where: Prisma.PlanWhereUniqueInput;
649
+ create: Prisma.XOR<Prisma.PlanCreateWithoutInterceptorInput, Prisma.PlanUncheckedCreateWithoutInterceptorInput>;
650
+ };
651
+ export type PlanUpsertWithoutInterceptorInput = {
652
+ update: Prisma.XOR<Prisma.PlanUpdateWithoutInterceptorInput, Prisma.PlanUncheckedUpdateWithoutInterceptorInput>;
653
+ create: Prisma.XOR<Prisma.PlanCreateWithoutInterceptorInput, Prisma.PlanUncheckedCreateWithoutInterceptorInput>;
654
+ where?: Prisma.PlanWhereInput;
655
+ };
656
+ export type PlanUpdateToOneWithWhereWithoutInterceptorInput = {
657
+ where?: Prisma.PlanWhereInput;
658
+ data: Prisma.XOR<Prisma.PlanUpdateWithoutInterceptorInput, Prisma.PlanUncheckedUpdateWithoutInterceptorInput>;
659
+ };
660
+ export type PlanUpdateWithoutInterceptorInput = {
661
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
662
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
663
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
664
+ controller?: Prisma.ControllerUpdateOneWithoutPlanNestedInput;
665
+ guard?: Prisma.GuardUpdateOneWithoutPlanNestedInput;
666
+ middleware?: Prisma.MiddlewareUpdateOneWithoutPlanNestedInput;
667
+ pipe?: Prisma.PipeUpdateOneWithoutPlanNestedInput;
668
+ services?: Prisma.PlanServiceUpdateManyWithoutPlanNestedInput;
669
+ bindings?: Prisma.PlanBindingUpdateManyWithoutPlanNestedInput;
670
+ };
671
+ export type PlanUncheckedUpdateWithoutInterceptorInput = {
672
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
673
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
674
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
675
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
676
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
677
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
678
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
679
+ services?: Prisma.PlanServiceUncheckedUpdateManyWithoutPlanNestedInput;
680
+ bindings?: Prisma.PlanBindingUncheckedUpdateManyWithoutPlanNestedInput;
681
+ };
682
+ export type PlanCreateWithoutMiddlewareInput = {
683
+ id: string;
684
+ created_at?: Date | string;
685
+ updated_at?: Date | string;
686
+ controller?: Prisma.ControllerCreateNestedOneWithoutPlanInput;
687
+ guard?: Prisma.GuardCreateNestedOneWithoutPlanInput;
688
+ interceptor?: Prisma.InterceptorCreateNestedOneWithoutPlanInput;
689
+ pipe?: Prisma.PipeCreateNestedOneWithoutPlanInput;
690
+ services?: Prisma.PlanServiceCreateNestedManyWithoutPlanInput;
691
+ bindings?: Prisma.PlanBindingCreateNestedManyWithoutPlanInput;
692
+ };
693
+ export type PlanUncheckedCreateWithoutMiddlewareInput = {
694
+ id: string;
695
+ controller_id?: string | null;
696
+ guard_id?: string | null;
697
+ interceptor_id?: string | null;
698
+ pipe_id?: string | null;
699
+ created_at?: Date | string;
700
+ updated_at?: Date | string;
701
+ services?: Prisma.PlanServiceUncheckedCreateNestedManyWithoutPlanInput;
702
+ bindings?: Prisma.PlanBindingUncheckedCreateNestedManyWithoutPlanInput;
703
+ };
704
+ export type PlanCreateOrConnectWithoutMiddlewareInput = {
705
+ where: Prisma.PlanWhereUniqueInput;
706
+ create: Prisma.XOR<Prisma.PlanCreateWithoutMiddlewareInput, Prisma.PlanUncheckedCreateWithoutMiddlewareInput>;
707
+ };
708
+ export type PlanUpsertWithoutMiddlewareInput = {
709
+ update: Prisma.XOR<Prisma.PlanUpdateWithoutMiddlewareInput, Prisma.PlanUncheckedUpdateWithoutMiddlewareInput>;
710
+ create: Prisma.XOR<Prisma.PlanCreateWithoutMiddlewareInput, Prisma.PlanUncheckedCreateWithoutMiddlewareInput>;
711
+ where?: Prisma.PlanWhereInput;
712
+ };
713
+ export type PlanUpdateToOneWithWhereWithoutMiddlewareInput = {
714
+ where?: Prisma.PlanWhereInput;
715
+ data: Prisma.XOR<Prisma.PlanUpdateWithoutMiddlewareInput, Prisma.PlanUncheckedUpdateWithoutMiddlewareInput>;
716
+ };
717
+ export type PlanUpdateWithoutMiddlewareInput = {
718
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
719
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
720
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
721
+ controller?: Prisma.ControllerUpdateOneWithoutPlanNestedInput;
722
+ guard?: Prisma.GuardUpdateOneWithoutPlanNestedInput;
723
+ interceptor?: Prisma.InterceptorUpdateOneWithoutPlanNestedInput;
724
+ pipe?: Prisma.PipeUpdateOneWithoutPlanNestedInput;
725
+ services?: Prisma.PlanServiceUpdateManyWithoutPlanNestedInput;
726
+ bindings?: Prisma.PlanBindingUpdateManyWithoutPlanNestedInput;
727
+ };
728
+ export type PlanUncheckedUpdateWithoutMiddlewareInput = {
729
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
730
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
731
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
732
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
733
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
734
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
735
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
736
+ services?: Prisma.PlanServiceUncheckedUpdateManyWithoutPlanNestedInput;
737
+ bindings?: Prisma.PlanBindingUncheckedUpdateManyWithoutPlanNestedInput;
738
+ };
739
+ export type PlanCreateWithoutPipeInput = {
740
+ id: string;
741
+ created_at?: Date | string;
742
+ updated_at?: Date | string;
743
+ controller?: Prisma.ControllerCreateNestedOneWithoutPlanInput;
744
+ guard?: Prisma.GuardCreateNestedOneWithoutPlanInput;
745
+ interceptor?: Prisma.InterceptorCreateNestedOneWithoutPlanInput;
746
+ middleware?: Prisma.MiddlewareCreateNestedOneWithoutPlanInput;
747
+ services?: Prisma.PlanServiceCreateNestedManyWithoutPlanInput;
748
+ bindings?: Prisma.PlanBindingCreateNestedManyWithoutPlanInput;
749
+ };
750
+ export type PlanUncheckedCreateWithoutPipeInput = {
751
+ id: string;
752
+ controller_id?: string | null;
753
+ guard_id?: string | null;
754
+ interceptor_id?: string | null;
755
+ middleware_id?: string | null;
756
+ created_at?: Date | string;
757
+ updated_at?: Date | string;
758
+ services?: Prisma.PlanServiceUncheckedCreateNestedManyWithoutPlanInput;
759
+ bindings?: Prisma.PlanBindingUncheckedCreateNestedManyWithoutPlanInput;
760
+ };
761
+ export type PlanCreateOrConnectWithoutPipeInput = {
762
+ where: Prisma.PlanWhereUniqueInput;
763
+ create: Prisma.XOR<Prisma.PlanCreateWithoutPipeInput, Prisma.PlanUncheckedCreateWithoutPipeInput>;
764
+ };
765
+ export type PlanUpsertWithoutPipeInput = {
766
+ update: Prisma.XOR<Prisma.PlanUpdateWithoutPipeInput, Prisma.PlanUncheckedUpdateWithoutPipeInput>;
767
+ create: Prisma.XOR<Prisma.PlanCreateWithoutPipeInput, Prisma.PlanUncheckedCreateWithoutPipeInput>;
768
+ where?: Prisma.PlanWhereInput;
769
+ };
770
+ export type PlanUpdateToOneWithWhereWithoutPipeInput = {
771
+ where?: Prisma.PlanWhereInput;
772
+ data: Prisma.XOR<Prisma.PlanUpdateWithoutPipeInput, Prisma.PlanUncheckedUpdateWithoutPipeInput>;
773
+ };
774
+ export type PlanUpdateWithoutPipeInput = {
775
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
776
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
777
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
778
+ controller?: Prisma.ControllerUpdateOneWithoutPlanNestedInput;
779
+ guard?: Prisma.GuardUpdateOneWithoutPlanNestedInput;
780
+ interceptor?: Prisma.InterceptorUpdateOneWithoutPlanNestedInput;
781
+ middleware?: Prisma.MiddlewareUpdateOneWithoutPlanNestedInput;
782
+ services?: Prisma.PlanServiceUpdateManyWithoutPlanNestedInput;
783
+ bindings?: Prisma.PlanBindingUpdateManyWithoutPlanNestedInput;
784
+ };
785
+ export type PlanUncheckedUpdateWithoutPipeInput = {
786
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
787
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
788
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
789
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
790
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
791
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
792
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
793
+ services?: Prisma.PlanServiceUncheckedUpdateManyWithoutPlanNestedInput;
794
+ bindings?: Prisma.PlanBindingUncheckedUpdateManyWithoutPlanNestedInput;
795
+ };
796
+ export type PlanCreateWithoutServicesInput = {
797
+ id: string;
798
+ created_at?: Date | string;
799
+ updated_at?: Date | string;
800
+ controller?: Prisma.ControllerCreateNestedOneWithoutPlanInput;
801
+ guard?: Prisma.GuardCreateNestedOneWithoutPlanInput;
802
+ interceptor?: Prisma.InterceptorCreateNestedOneWithoutPlanInput;
803
+ middleware?: Prisma.MiddlewareCreateNestedOneWithoutPlanInput;
804
+ pipe?: Prisma.PipeCreateNestedOneWithoutPlanInput;
805
+ bindings?: Prisma.PlanBindingCreateNestedManyWithoutPlanInput;
806
+ };
807
+ export type PlanUncheckedCreateWithoutServicesInput = {
808
+ id: string;
809
+ controller_id?: string | null;
810
+ guard_id?: string | null;
811
+ interceptor_id?: string | null;
812
+ middleware_id?: string | null;
813
+ pipe_id?: string | null;
814
+ created_at?: Date | string;
815
+ updated_at?: Date | string;
816
+ bindings?: Prisma.PlanBindingUncheckedCreateNestedManyWithoutPlanInput;
817
+ };
818
+ export type PlanCreateOrConnectWithoutServicesInput = {
819
+ where: Prisma.PlanWhereUniqueInput;
820
+ create: Prisma.XOR<Prisma.PlanCreateWithoutServicesInput, Prisma.PlanUncheckedCreateWithoutServicesInput>;
821
+ };
822
+ export type PlanUpsertWithoutServicesInput = {
823
+ update: Prisma.XOR<Prisma.PlanUpdateWithoutServicesInput, Prisma.PlanUncheckedUpdateWithoutServicesInput>;
824
+ create: Prisma.XOR<Prisma.PlanCreateWithoutServicesInput, Prisma.PlanUncheckedCreateWithoutServicesInput>;
825
+ where?: Prisma.PlanWhereInput;
826
+ };
827
+ export type PlanUpdateToOneWithWhereWithoutServicesInput = {
828
+ where?: Prisma.PlanWhereInput;
829
+ data: Prisma.XOR<Prisma.PlanUpdateWithoutServicesInput, Prisma.PlanUncheckedUpdateWithoutServicesInput>;
830
+ };
831
+ export type PlanUpdateWithoutServicesInput = {
832
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
833
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
834
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
835
+ controller?: Prisma.ControllerUpdateOneWithoutPlanNestedInput;
836
+ guard?: Prisma.GuardUpdateOneWithoutPlanNestedInput;
837
+ interceptor?: Prisma.InterceptorUpdateOneWithoutPlanNestedInput;
838
+ middleware?: Prisma.MiddlewareUpdateOneWithoutPlanNestedInput;
839
+ pipe?: Prisma.PipeUpdateOneWithoutPlanNestedInput;
840
+ bindings?: Prisma.PlanBindingUpdateManyWithoutPlanNestedInput;
841
+ };
842
+ export type PlanUncheckedUpdateWithoutServicesInput = {
843
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
844
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
845
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
846
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
847
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
848
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
849
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
850
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
851
+ bindings?: Prisma.PlanBindingUncheckedUpdateManyWithoutPlanNestedInput;
852
+ };
853
+ export type PlanCreateWithoutBindingsInput = {
854
+ id: string;
855
+ created_at?: Date | string;
856
+ updated_at?: Date | string;
857
+ controller?: Prisma.ControllerCreateNestedOneWithoutPlanInput;
858
+ guard?: Prisma.GuardCreateNestedOneWithoutPlanInput;
859
+ interceptor?: Prisma.InterceptorCreateNestedOneWithoutPlanInput;
860
+ middleware?: Prisma.MiddlewareCreateNestedOneWithoutPlanInput;
861
+ pipe?: Prisma.PipeCreateNestedOneWithoutPlanInput;
862
+ services?: Prisma.PlanServiceCreateNestedManyWithoutPlanInput;
863
+ };
864
+ export type PlanUncheckedCreateWithoutBindingsInput = {
865
+ id: string;
866
+ controller_id?: string | null;
867
+ guard_id?: string | null;
868
+ interceptor_id?: string | null;
869
+ middleware_id?: string | null;
870
+ pipe_id?: string | null;
871
+ created_at?: Date | string;
872
+ updated_at?: Date | string;
873
+ services?: Prisma.PlanServiceUncheckedCreateNestedManyWithoutPlanInput;
874
+ };
875
+ export type PlanCreateOrConnectWithoutBindingsInput = {
876
+ where: Prisma.PlanWhereUniqueInput;
877
+ create: Prisma.XOR<Prisma.PlanCreateWithoutBindingsInput, Prisma.PlanUncheckedCreateWithoutBindingsInput>;
878
+ };
879
+ export type PlanUpsertWithoutBindingsInput = {
880
+ update: Prisma.XOR<Prisma.PlanUpdateWithoutBindingsInput, Prisma.PlanUncheckedUpdateWithoutBindingsInput>;
881
+ create: Prisma.XOR<Prisma.PlanCreateWithoutBindingsInput, Prisma.PlanUncheckedCreateWithoutBindingsInput>;
882
+ where?: Prisma.PlanWhereInput;
883
+ };
884
+ export type PlanUpdateToOneWithWhereWithoutBindingsInput = {
885
+ where?: Prisma.PlanWhereInput;
886
+ data: Prisma.XOR<Prisma.PlanUpdateWithoutBindingsInput, Prisma.PlanUncheckedUpdateWithoutBindingsInput>;
887
+ };
888
+ export type PlanUpdateWithoutBindingsInput = {
889
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
890
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
891
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
892
+ controller?: Prisma.ControllerUpdateOneWithoutPlanNestedInput;
893
+ guard?: Prisma.GuardUpdateOneWithoutPlanNestedInput;
894
+ interceptor?: Prisma.InterceptorUpdateOneWithoutPlanNestedInput;
895
+ middleware?: Prisma.MiddlewareUpdateOneWithoutPlanNestedInput;
896
+ pipe?: Prisma.PipeUpdateOneWithoutPlanNestedInput;
897
+ services?: Prisma.PlanServiceUpdateManyWithoutPlanNestedInput;
898
+ };
899
+ export type PlanUncheckedUpdateWithoutBindingsInput = {
900
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
901
+ controller_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
902
+ guard_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
903
+ interceptor_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
904
+ middleware_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
905
+ pipe_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
906
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
907
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
908
+ services?: Prisma.PlanServiceUncheckedUpdateManyWithoutPlanNestedInput;
909
+ };
910
+ /**
911
+ * Count Type PlanCountOutputType
912
+ */
913
+ export type PlanCountOutputType = {
914
+ services: number;
915
+ bindings: number;
916
+ };
917
+ export type PlanCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
918
+ services?: boolean | PlanCountOutputTypeCountServicesArgs;
919
+ bindings?: boolean | PlanCountOutputTypeCountBindingsArgs;
920
+ };
921
+ /**
922
+ * PlanCountOutputType without action
923
+ */
924
+ export type PlanCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
925
+ /**
926
+ * Select specific fields to fetch from the PlanCountOutputType
927
+ */
928
+ select?: Prisma.PlanCountOutputTypeSelect<ExtArgs> | null;
929
+ };
930
+ /**
931
+ * PlanCountOutputType without action
932
+ */
933
+ export type PlanCountOutputTypeCountServicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
934
+ where?: Prisma.PlanServiceWhereInput;
935
+ };
936
+ /**
937
+ * PlanCountOutputType without action
938
+ */
939
+ export type PlanCountOutputTypeCountBindingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
940
+ where?: Prisma.PlanBindingWhereInput;
941
+ };
942
+ export type PlanSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
943
+ id?: boolean;
944
+ controller_id?: boolean;
945
+ guard_id?: boolean;
946
+ interceptor_id?: boolean;
947
+ middleware_id?: boolean;
948
+ pipe_id?: boolean;
949
+ created_at?: boolean;
950
+ updated_at?: boolean;
951
+ controller?: boolean | Prisma.Plan$controllerArgs<ExtArgs>;
952
+ guard?: boolean | Prisma.Plan$guardArgs<ExtArgs>;
953
+ interceptor?: boolean | Prisma.Plan$interceptorArgs<ExtArgs>;
954
+ middleware?: boolean | Prisma.Plan$middlewareArgs<ExtArgs>;
955
+ pipe?: boolean | Prisma.Plan$pipeArgs<ExtArgs>;
956
+ services?: boolean | Prisma.Plan$servicesArgs<ExtArgs>;
957
+ bindings?: boolean | Prisma.Plan$bindingsArgs<ExtArgs>;
958
+ _count?: boolean | Prisma.PlanCountOutputTypeDefaultArgs<ExtArgs>;
959
+ }, ExtArgs["result"]["plan"]>;
960
+ export type PlanSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
961
+ id?: boolean;
962
+ controller_id?: boolean;
963
+ guard_id?: boolean;
964
+ interceptor_id?: boolean;
965
+ middleware_id?: boolean;
966
+ pipe_id?: boolean;
967
+ created_at?: boolean;
968
+ updated_at?: boolean;
969
+ controller?: boolean | Prisma.Plan$controllerArgs<ExtArgs>;
970
+ guard?: boolean | Prisma.Plan$guardArgs<ExtArgs>;
971
+ interceptor?: boolean | Prisma.Plan$interceptorArgs<ExtArgs>;
972
+ middleware?: boolean | Prisma.Plan$middlewareArgs<ExtArgs>;
973
+ pipe?: boolean | Prisma.Plan$pipeArgs<ExtArgs>;
974
+ }, ExtArgs["result"]["plan"]>;
975
+ export type PlanSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
976
+ id?: boolean;
977
+ controller_id?: boolean;
978
+ guard_id?: boolean;
979
+ interceptor_id?: boolean;
980
+ middleware_id?: boolean;
981
+ pipe_id?: boolean;
982
+ created_at?: boolean;
983
+ updated_at?: boolean;
984
+ controller?: boolean | Prisma.Plan$controllerArgs<ExtArgs>;
985
+ guard?: boolean | Prisma.Plan$guardArgs<ExtArgs>;
986
+ interceptor?: boolean | Prisma.Plan$interceptorArgs<ExtArgs>;
987
+ middleware?: boolean | Prisma.Plan$middlewareArgs<ExtArgs>;
988
+ pipe?: boolean | Prisma.Plan$pipeArgs<ExtArgs>;
989
+ }, ExtArgs["result"]["plan"]>;
990
+ export type PlanSelectScalar = {
991
+ id?: boolean;
992
+ controller_id?: boolean;
993
+ guard_id?: boolean;
994
+ interceptor_id?: boolean;
995
+ middleware_id?: boolean;
996
+ pipe_id?: boolean;
997
+ created_at?: boolean;
998
+ updated_at?: boolean;
999
+ };
1000
+ export type PlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "controller_id" | "guard_id" | "interceptor_id" | "middleware_id" | "pipe_id" | "created_at" | "updated_at", ExtArgs["result"]["plan"]>;
1001
+ export type PlanInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1002
+ controller?: boolean | Prisma.Plan$controllerArgs<ExtArgs>;
1003
+ guard?: boolean | Prisma.Plan$guardArgs<ExtArgs>;
1004
+ interceptor?: boolean | Prisma.Plan$interceptorArgs<ExtArgs>;
1005
+ middleware?: boolean | Prisma.Plan$middlewareArgs<ExtArgs>;
1006
+ pipe?: boolean | Prisma.Plan$pipeArgs<ExtArgs>;
1007
+ services?: boolean | Prisma.Plan$servicesArgs<ExtArgs>;
1008
+ bindings?: boolean | Prisma.Plan$bindingsArgs<ExtArgs>;
1009
+ _count?: boolean | Prisma.PlanCountOutputTypeDefaultArgs<ExtArgs>;
1010
+ };
1011
+ export type PlanIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1012
+ controller?: boolean | Prisma.Plan$controllerArgs<ExtArgs>;
1013
+ guard?: boolean | Prisma.Plan$guardArgs<ExtArgs>;
1014
+ interceptor?: boolean | Prisma.Plan$interceptorArgs<ExtArgs>;
1015
+ middleware?: boolean | Prisma.Plan$middlewareArgs<ExtArgs>;
1016
+ pipe?: boolean | Prisma.Plan$pipeArgs<ExtArgs>;
1017
+ };
1018
+ export type PlanIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1019
+ controller?: boolean | Prisma.Plan$controllerArgs<ExtArgs>;
1020
+ guard?: boolean | Prisma.Plan$guardArgs<ExtArgs>;
1021
+ interceptor?: boolean | Prisma.Plan$interceptorArgs<ExtArgs>;
1022
+ middleware?: boolean | Prisma.Plan$middlewareArgs<ExtArgs>;
1023
+ pipe?: boolean | Prisma.Plan$pipeArgs<ExtArgs>;
1024
+ };
1025
+ export type $PlanPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1026
+ name: "Plan";
1027
+ objects: {
1028
+ controller: Prisma.$ControllerPayload<ExtArgs> | null;
1029
+ guard: Prisma.$GuardPayload<ExtArgs> | null;
1030
+ interceptor: Prisma.$InterceptorPayload<ExtArgs> | null;
1031
+ middleware: Prisma.$MiddlewarePayload<ExtArgs> | null;
1032
+ pipe: Prisma.$PipePayload<ExtArgs> | null;
1033
+ services: Prisma.$PlanServicePayload<ExtArgs>[];
1034
+ bindings: Prisma.$PlanBindingPayload<ExtArgs>[];
1035
+ };
1036
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1037
+ id: string;
1038
+ controller_id: string | null;
1039
+ guard_id: string | null;
1040
+ interceptor_id: string | null;
1041
+ middleware_id: string | null;
1042
+ pipe_id: string | null;
1043
+ created_at: Date;
1044
+ updated_at: Date;
1045
+ }, ExtArgs["result"]["plan"]>;
1046
+ composites: {};
1047
+ };
1048
+ export type PlanGetPayload<S extends boolean | null | undefined | PlanDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PlanPayload, S>;
1049
+ export type PlanCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PlanFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1050
+ select?: PlanCountAggregateInputType | true;
1051
+ };
1052
+ export interface PlanDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1053
+ [K: symbol]: {
1054
+ types: Prisma.TypeMap<ExtArgs>['model']['Plan'];
1055
+ meta: {
1056
+ name: 'Plan';
1057
+ };
1058
+ };
1059
+ /**
1060
+ * Find zero or one Plan that matches the filter.
1061
+ * @param {PlanFindUniqueArgs} args - Arguments to find a Plan
1062
+ * @example
1063
+ * // Get one Plan
1064
+ * const plan = await prisma.plan.findUnique({
1065
+ * where: {
1066
+ * // ... provide filter here
1067
+ * }
1068
+ * })
1069
+ */
1070
+ findUnique<T extends PlanFindUniqueArgs>(args: Prisma.SelectSubset<T, PlanFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1071
+ /**
1072
+ * Find one Plan that matches the filter or throw an error with `error.code='P2025'`
1073
+ * if no matches were found.
1074
+ * @param {PlanFindUniqueOrThrowArgs} args - Arguments to find a Plan
1075
+ * @example
1076
+ * // Get one Plan
1077
+ * const plan = await prisma.plan.findUniqueOrThrow({
1078
+ * where: {
1079
+ * // ... provide filter here
1080
+ * }
1081
+ * })
1082
+ */
1083
+ findUniqueOrThrow<T extends PlanFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PlanFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1084
+ /**
1085
+ * Find the first Plan that matches the filter.
1086
+ * Note, that providing `undefined` is treated as the value not being there.
1087
+ * Read more here: https://pris.ly/d/null-undefined
1088
+ * @param {PlanFindFirstArgs} args - Arguments to find a Plan
1089
+ * @example
1090
+ * // Get one Plan
1091
+ * const plan = await prisma.plan.findFirst({
1092
+ * where: {
1093
+ * // ... provide filter here
1094
+ * }
1095
+ * })
1096
+ */
1097
+ findFirst<T extends PlanFindFirstArgs>(args?: Prisma.SelectSubset<T, PlanFindFirstArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1098
+ /**
1099
+ * Find the first Plan that matches the filter or
1100
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1101
+ * Note, that providing `undefined` is treated as the value not being there.
1102
+ * Read more here: https://pris.ly/d/null-undefined
1103
+ * @param {PlanFindFirstOrThrowArgs} args - Arguments to find a Plan
1104
+ * @example
1105
+ * // Get one Plan
1106
+ * const plan = await prisma.plan.findFirstOrThrow({
1107
+ * where: {
1108
+ * // ... provide filter here
1109
+ * }
1110
+ * })
1111
+ */
1112
+ findFirstOrThrow<T extends PlanFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PlanFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1113
+ /**
1114
+ * Find zero or more Plans that matches the filter.
1115
+ * Note, that providing `undefined` is treated as the value not being there.
1116
+ * Read more here: https://pris.ly/d/null-undefined
1117
+ * @param {PlanFindManyArgs} args - Arguments to filter and select certain fields only.
1118
+ * @example
1119
+ * // Get all Plans
1120
+ * const plans = await prisma.plan.findMany()
1121
+ *
1122
+ * // Get first 10 Plans
1123
+ * const plans = await prisma.plan.findMany({ take: 10 })
1124
+ *
1125
+ * // Only select the `id`
1126
+ * const planWithIdOnly = await prisma.plan.findMany({ select: { id: true } })
1127
+ *
1128
+ */
1129
+ findMany<T extends PlanFindManyArgs>(args?: Prisma.SelectSubset<T, PlanFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1130
+ /**
1131
+ * Create a Plan.
1132
+ * @param {PlanCreateArgs} args - Arguments to create a Plan.
1133
+ * @example
1134
+ * // Create one Plan
1135
+ * const Plan = await prisma.plan.create({
1136
+ * data: {
1137
+ * // ... data to create a Plan
1138
+ * }
1139
+ * })
1140
+ *
1141
+ */
1142
+ create<T extends PlanCreateArgs>(args: Prisma.SelectSubset<T, PlanCreateArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1143
+ /**
1144
+ * Create many Plans.
1145
+ * @param {PlanCreateManyArgs} args - Arguments to create many Plans.
1146
+ * @example
1147
+ * // Create many Plans
1148
+ * const plan = await prisma.plan.createMany({
1149
+ * data: [
1150
+ * // ... provide data here
1151
+ * ]
1152
+ * })
1153
+ *
1154
+ */
1155
+ createMany<T extends PlanCreateManyArgs>(args?: Prisma.SelectSubset<T, PlanCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1156
+ /**
1157
+ * Create many Plans and returns the data saved in the database.
1158
+ * @param {PlanCreateManyAndReturnArgs} args - Arguments to create many Plans.
1159
+ * @example
1160
+ * // Create many Plans
1161
+ * const plan = await prisma.plan.createManyAndReturn({
1162
+ * data: [
1163
+ * // ... provide data here
1164
+ * ]
1165
+ * })
1166
+ *
1167
+ * // Create many Plans and only return the `id`
1168
+ * const planWithIdOnly = await prisma.plan.createManyAndReturn({
1169
+ * select: { id: true },
1170
+ * data: [
1171
+ * // ... provide data here
1172
+ * ]
1173
+ * })
1174
+ * Note, that providing `undefined` is treated as the value not being there.
1175
+ * Read more here: https://pris.ly/d/null-undefined
1176
+ *
1177
+ */
1178
+ createManyAndReturn<T extends PlanCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PlanCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1179
+ /**
1180
+ * Delete a Plan.
1181
+ * @param {PlanDeleteArgs} args - Arguments to delete one Plan.
1182
+ * @example
1183
+ * // Delete one Plan
1184
+ * const Plan = await prisma.plan.delete({
1185
+ * where: {
1186
+ * // ... filter to delete one Plan
1187
+ * }
1188
+ * })
1189
+ *
1190
+ */
1191
+ delete<T extends PlanDeleteArgs>(args: Prisma.SelectSubset<T, PlanDeleteArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1192
+ /**
1193
+ * Update one Plan.
1194
+ * @param {PlanUpdateArgs} args - Arguments to update one Plan.
1195
+ * @example
1196
+ * // Update one Plan
1197
+ * const plan = await prisma.plan.update({
1198
+ * where: {
1199
+ * // ... provide filter here
1200
+ * },
1201
+ * data: {
1202
+ * // ... provide data here
1203
+ * }
1204
+ * })
1205
+ *
1206
+ */
1207
+ update<T extends PlanUpdateArgs>(args: Prisma.SelectSubset<T, PlanUpdateArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1208
+ /**
1209
+ * Delete zero or more Plans.
1210
+ * @param {PlanDeleteManyArgs} args - Arguments to filter Plans to delete.
1211
+ * @example
1212
+ * // Delete a few Plans
1213
+ * const { count } = await prisma.plan.deleteMany({
1214
+ * where: {
1215
+ * // ... provide filter here
1216
+ * }
1217
+ * })
1218
+ *
1219
+ */
1220
+ deleteMany<T extends PlanDeleteManyArgs>(args?: Prisma.SelectSubset<T, PlanDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1221
+ /**
1222
+ * Update zero or more Plans.
1223
+ * Note, that providing `undefined` is treated as the value not being there.
1224
+ * Read more here: https://pris.ly/d/null-undefined
1225
+ * @param {PlanUpdateManyArgs} args - Arguments to update one or more rows.
1226
+ * @example
1227
+ * // Update many Plans
1228
+ * const plan = await prisma.plan.updateMany({
1229
+ * where: {
1230
+ * // ... provide filter here
1231
+ * },
1232
+ * data: {
1233
+ * // ... provide data here
1234
+ * }
1235
+ * })
1236
+ *
1237
+ */
1238
+ updateMany<T extends PlanUpdateManyArgs>(args: Prisma.SelectSubset<T, PlanUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1239
+ /**
1240
+ * Update zero or more Plans and returns the data updated in the database.
1241
+ * @param {PlanUpdateManyAndReturnArgs} args - Arguments to update many Plans.
1242
+ * @example
1243
+ * // Update many Plans
1244
+ * const plan = await prisma.plan.updateManyAndReturn({
1245
+ * where: {
1246
+ * // ... provide filter here
1247
+ * },
1248
+ * data: [
1249
+ * // ... provide data here
1250
+ * ]
1251
+ * })
1252
+ *
1253
+ * // Update zero or more Plans and only return the `id`
1254
+ * const planWithIdOnly = await prisma.plan.updateManyAndReturn({
1255
+ * select: { id: true },
1256
+ * where: {
1257
+ * // ... provide filter here
1258
+ * },
1259
+ * data: [
1260
+ * // ... provide data here
1261
+ * ]
1262
+ * })
1263
+ * Note, that providing `undefined` is treated as the value not being there.
1264
+ * Read more here: https://pris.ly/d/null-undefined
1265
+ *
1266
+ */
1267
+ updateManyAndReturn<T extends PlanUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PlanUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1268
+ /**
1269
+ * Create or update one Plan.
1270
+ * @param {PlanUpsertArgs} args - Arguments to update or create a Plan.
1271
+ * @example
1272
+ * // Update or create a Plan
1273
+ * const plan = await prisma.plan.upsert({
1274
+ * create: {
1275
+ * // ... data to create a Plan
1276
+ * },
1277
+ * update: {
1278
+ * // ... in case it already exists, update
1279
+ * },
1280
+ * where: {
1281
+ * // ... the filter for the Plan we want to update
1282
+ * }
1283
+ * })
1284
+ */
1285
+ upsert<T extends PlanUpsertArgs>(args: Prisma.SelectSubset<T, PlanUpsertArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1286
+ /**
1287
+ * Count the number of Plans.
1288
+ * Note, that providing `undefined` is treated as the value not being there.
1289
+ * Read more here: https://pris.ly/d/null-undefined
1290
+ * @param {PlanCountArgs} args - Arguments to filter Plans to count.
1291
+ * @example
1292
+ * // Count the number of Plans
1293
+ * const count = await prisma.plan.count({
1294
+ * where: {
1295
+ * // ... the filter for the Plans we want to count
1296
+ * }
1297
+ * })
1298
+ **/
1299
+ count<T extends PlanCountArgs>(args?: Prisma.Subset<T, PlanCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PlanCountAggregateOutputType> : number>;
1300
+ /**
1301
+ * Allows you to perform aggregations operations on a Plan.
1302
+ * Note, that providing `undefined` is treated as the value not being there.
1303
+ * Read more here: https://pris.ly/d/null-undefined
1304
+ * @param {PlanAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1305
+ * @example
1306
+ * // Ordered by age ascending
1307
+ * // Where email contains prisma.io
1308
+ * // Limited to the 10 users
1309
+ * const aggregations = await prisma.user.aggregate({
1310
+ * _avg: {
1311
+ * age: true,
1312
+ * },
1313
+ * where: {
1314
+ * email: {
1315
+ * contains: "prisma.io",
1316
+ * },
1317
+ * },
1318
+ * orderBy: {
1319
+ * age: "asc",
1320
+ * },
1321
+ * take: 10,
1322
+ * })
1323
+ **/
1324
+ aggregate<T extends PlanAggregateArgs>(args: Prisma.Subset<T, PlanAggregateArgs>): Prisma.PrismaPromise<GetPlanAggregateType<T>>;
1325
+ /**
1326
+ * Group by Plan.
1327
+ * Note, that providing `undefined` is treated as the value not being there.
1328
+ * Read more here: https://pris.ly/d/null-undefined
1329
+ * @param {PlanGroupByArgs} args - Group by arguments.
1330
+ * @example
1331
+ * // Group by city, order by createdAt, get count
1332
+ * const result = await prisma.user.groupBy({
1333
+ * by: ['city', 'createdAt'],
1334
+ * orderBy: {
1335
+ * createdAt: true
1336
+ * },
1337
+ * _count: {
1338
+ * _all: true
1339
+ * },
1340
+ * })
1341
+ *
1342
+ **/
1343
+ groupBy<T extends PlanGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1344
+ orderBy: PlanGroupByArgs['orderBy'];
1345
+ } : {
1346
+ orderBy?: PlanGroupByArgs['orderBy'];
1347
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
1348
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1349
+ Error,
1350
+ 'Field ',
1351
+ P,
1352
+ ` in "having" needs to be provided in "by"`
1353
+ ];
1354
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1355
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1356
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1357
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1358
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1359
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1360
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, PlanGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPlanGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1361
+ /**
1362
+ * Fields of the Plan model
1363
+ */
1364
+ readonly fields: PlanFieldRefs;
1365
+ }
1366
+ /**
1367
+ * The delegate class that acts as a "Promise-like" for Plan.
1368
+ * Why is this prefixed with `Prisma__`?
1369
+ * Because we want to prevent naming conflicts as mentioned in
1370
+ * https://github.com/prisma/prisma-client-js/issues/707
1371
+ */
1372
+ export interface Prisma__PlanClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1373
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1374
+ controller<T extends Prisma.Plan$controllerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$controllerArgs<ExtArgs>>): Prisma.Prisma__ControllerClient<runtime.Types.Result.GetResult<Prisma.$ControllerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1375
+ guard<T extends Prisma.Plan$guardArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$guardArgs<ExtArgs>>): Prisma.Prisma__GuardClient<runtime.Types.Result.GetResult<Prisma.$GuardPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1376
+ interceptor<T extends Prisma.Plan$interceptorArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$interceptorArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1377
+ middleware<T extends Prisma.Plan$middlewareArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$middlewareArgs<ExtArgs>>): Prisma.Prisma__MiddlewareClient<runtime.Types.Result.GetResult<Prisma.$MiddlewarePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1378
+ pipe<T extends Prisma.Plan$pipeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$pipeArgs<ExtArgs>>): Prisma.Prisma__PipeClient<runtime.Types.Result.GetResult<Prisma.$PipePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1379
+ services<T extends Prisma.Plan$servicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$servicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanServicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1380
+ bindings<T extends Prisma.Plan$bindingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$bindingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanBindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1381
+ /**
1382
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1383
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1384
+ * @param onrejected The callback to execute when the Promise is rejected.
1385
+ * @returns A Promise for the completion of which ever callback is executed.
1386
+ */
1387
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
1388
+ /**
1389
+ * Attaches a callback for only the rejection of the Promise.
1390
+ * @param onrejected The callback to execute when the Promise is rejected.
1391
+ * @returns A Promise for the completion of the callback.
1392
+ */
1393
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1394
+ /**
1395
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1396
+ * resolved value cannot be modified from the callback.
1397
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1398
+ * @returns A Promise for the completion of the callback.
1399
+ */
1400
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1401
+ }
1402
+ /**
1403
+ * Fields of the Plan model
1404
+ */
1405
+ export interface PlanFieldRefs {
1406
+ readonly id: Prisma.FieldRef<"Plan", 'String'>;
1407
+ readonly controller_id: Prisma.FieldRef<"Plan", 'String'>;
1408
+ readonly guard_id: Prisma.FieldRef<"Plan", 'String'>;
1409
+ readonly interceptor_id: Prisma.FieldRef<"Plan", 'String'>;
1410
+ readonly middleware_id: Prisma.FieldRef<"Plan", 'String'>;
1411
+ readonly pipe_id: Prisma.FieldRef<"Plan", 'String'>;
1412
+ readonly created_at: Prisma.FieldRef<"Plan", 'DateTime'>;
1413
+ readonly updated_at: Prisma.FieldRef<"Plan", 'DateTime'>;
1414
+ }
1415
+ /**
1416
+ * Plan findUnique
1417
+ */
1418
+ export type PlanFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1419
+ /**
1420
+ * Select specific fields to fetch from the Plan
1421
+ */
1422
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1423
+ /**
1424
+ * Omit specific fields from the Plan
1425
+ */
1426
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1427
+ /**
1428
+ * Choose, which related nodes to fetch as well
1429
+ */
1430
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1431
+ /**
1432
+ * Filter, which Plan to fetch.
1433
+ */
1434
+ where: Prisma.PlanWhereUniqueInput;
1435
+ };
1436
+ /**
1437
+ * Plan findUniqueOrThrow
1438
+ */
1439
+ export type PlanFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1440
+ /**
1441
+ * Select specific fields to fetch from the Plan
1442
+ */
1443
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1444
+ /**
1445
+ * Omit specific fields from the Plan
1446
+ */
1447
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1448
+ /**
1449
+ * Choose, which related nodes to fetch as well
1450
+ */
1451
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1452
+ /**
1453
+ * Filter, which Plan to fetch.
1454
+ */
1455
+ where: Prisma.PlanWhereUniqueInput;
1456
+ };
1457
+ /**
1458
+ * Plan findFirst
1459
+ */
1460
+ export type PlanFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1461
+ /**
1462
+ * Select specific fields to fetch from the Plan
1463
+ */
1464
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1465
+ /**
1466
+ * Omit specific fields from the Plan
1467
+ */
1468
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1469
+ /**
1470
+ * Choose, which related nodes to fetch as well
1471
+ */
1472
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1473
+ /**
1474
+ * Filter, which Plan to fetch.
1475
+ */
1476
+ where?: Prisma.PlanWhereInput;
1477
+ /**
1478
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1479
+ *
1480
+ * Determine the order of Plans to fetch.
1481
+ */
1482
+ orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[];
1483
+ /**
1484
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1485
+ *
1486
+ * Sets the position for searching for Plans.
1487
+ */
1488
+ cursor?: Prisma.PlanWhereUniqueInput;
1489
+ /**
1490
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1491
+ *
1492
+ * Take `±n` Plans from the position of the cursor.
1493
+ */
1494
+ take?: number;
1495
+ /**
1496
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1497
+ *
1498
+ * Skip the first `n` Plans.
1499
+ */
1500
+ skip?: number;
1501
+ /**
1502
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1503
+ *
1504
+ * Filter by unique combinations of Plans.
1505
+ */
1506
+ distinct?: Prisma.PlanScalarFieldEnum | Prisma.PlanScalarFieldEnum[];
1507
+ };
1508
+ /**
1509
+ * Plan findFirstOrThrow
1510
+ */
1511
+ export type PlanFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1512
+ /**
1513
+ * Select specific fields to fetch from the Plan
1514
+ */
1515
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1516
+ /**
1517
+ * Omit specific fields from the Plan
1518
+ */
1519
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1520
+ /**
1521
+ * Choose, which related nodes to fetch as well
1522
+ */
1523
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1524
+ /**
1525
+ * Filter, which Plan to fetch.
1526
+ */
1527
+ where?: Prisma.PlanWhereInput;
1528
+ /**
1529
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1530
+ *
1531
+ * Determine the order of Plans to fetch.
1532
+ */
1533
+ orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[];
1534
+ /**
1535
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1536
+ *
1537
+ * Sets the position for searching for Plans.
1538
+ */
1539
+ cursor?: Prisma.PlanWhereUniqueInput;
1540
+ /**
1541
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1542
+ *
1543
+ * Take `±n` Plans from the position of the cursor.
1544
+ */
1545
+ take?: number;
1546
+ /**
1547
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1548
+ *
1549
+ * Skip the first `n` Plans.
1550
+ */
1551
+ skip?: number;
1552
+ /**
1553
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1554
+ *
1555
+ * Filter by unique combinations of Plans.
1556
+ */
1557
+ distinct?: Prisma.PlanScalarFieldEnum | Prisma.PlanScalarFieldEnum[];
1558
+ };
1559
+ /**
1560
+ * Plan findMany
1561
+ */
1562
+ export type PlanFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1563
+ /**
1564
+ * Select specific fields to fetch from the Plan
1565
+ */
1566
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1567
+ /**
1568
+ * Omit specific fields from the Plan
1569
+ */
1570
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1571
+ /**
1572
+ * Choose, which related nodes to fetch as well
1573
+ */
1574
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1575
+ /**
1576
+ * Filter, which Plans to fetch.
1577
+ */
1578
+ where?: Prisma.PlanWhereInput;
1579
+ /**
1580
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1581
+ *
1582
+ * Determine the order of Plans to fetch.
1583
+ */
1584
+ orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[];
1585
+ /**
1586
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1587
+ *
1588
+ * Sets the position for listing Plans.
1589
+ */
1590
+ cursor?: Prisma.PlanWhereUniqueInput;
1591
+ /**
1592
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1593
+ *
1594
+ * Take `±n` Plans from the position of the cursor.
1595
+ */
1596
+ take?: number;
1597
+ /**
1598
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1599
+ *
1600
+ * Skip the first `n` Plans.
1601
+ */
1602
+ skip?: number;
1603
+ /**
1604
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1605
+ *
1606
+ * Filter by unique combinations of Plans.
1607
+ */
1608
+ distinct?: Prisma.PlanScalarFieldEnum | Prisma.PlanScalarFieldEnum[];
1609
+ };
1610
+ /**
1611
+ * Plan create
1612
+ */
1613
+ export type PlanCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1614
+ /**
1615
+ * Select specific fields to fetch from the Plan
1616
+ */
1617
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1618
+ /**
1619
+ * Omit specific fields from the Plan
1620
+ */
1621
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1622
+ /**
1623
+ * Choose, which related nodes to fetch as well
1624
+ */
1625
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1626
+ /**
1627
+ * The data needed to create a Plan.
1628
+ */
1629
+ data: Prisma.XOR<Prisma.PlanCreateInput, Prisma.PlanUncheckedCreateInput>;
1630
+ };
1631
+ /**
1632
+ * Plan createMany
1633
+ */
1634
+ export type PlanCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1635
+ /**
1636
+ * The data used to create many Plans.
1637
+ */
1638
+ data: Prisma.PlanCreateManyInput | Prisma.PlanCreateManyInput[];
1639
+ };
1640
+ /**
1641
+ * Plan createManyAndReturn
1642
+ */
1643
+ export type PlanCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1644
+ /**
1645
+ * Select specific fields to fetch from the Plan
1646
+ */
1647
+ select?: Prisma.PlanSelectCreateManyAndReturn<ExtArgs> | null;
1648
+ /**
1649
+ * Omit specific fields from the Plan
1650
+ */
1651
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1652
+ /**
1653
+ * The data used to create many Plans.
1654
+ */
1655
+ data: Prisma.PlanCreateManyInput | Prisma.PlanCreateManyInput[];
1656
+ /**
1657
+ * Choose, which related nodes to fetch as well
1658
+ */
1659
+ include?: Prisma.PlanIncludeCreateManyAndReturn<ExtArgs> | null;
1660
+ };
1661
+ /**
1662
+ * Plan update
1663
+ */
1664
+ export type PlanUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1665
+ /**
1666
+ * Select specific fields to fetch from the Plan
1667
+ */
1668
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1669
+ /**
1670
+ * Omit specific fields from the Plan
1671
+ */
1672
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1673
+ /**
1674
+ * Choose, which related nodes to fetch as well
1675
+ */
1676
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1677
+ /**
1678
+ * The data needed to update a Plan.
1679
+ */
1680
+ data: Prisma.XOR<Prisma.PlanUpdateInput, Prisma.PlanUncheckedUpdateInput>;
1681
+ /**
1682
+ * Choose, which Plan to update.
1683
+ */
1684
+ where: Prisma.PlanWhereUniqueInput;
1685
+ };
1686
+ /**
1687
+ * Plan updateMany
1688
+ */
1689
+ export type PlanUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1690
+ /**
1691
+ * The data used to update Plans.
1692
+ */
1693
+ data: Prisma.XOR<Prisma.PlanUpdateManyMutationInput, Prisma.PlanUncheckedUpdateManyInput>;
1694
+ /**
1695
+ * Filter which Plans to update
1696
+ */
1697
+ where?: Prisma.PlanWhereInput;
1698
+ /**
1699
+ * Limit how many Plans to update.
1700
+ */
1701
+ limit?: number;
1702
+ };
1703
+ /**
1704
+ * Plan updateManyAndReturn
1705
+ */
1706
+ export type PlanUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1707
+ /**
1708
+ * Select specific fields to fetch from the Plan
1709
+ */
1710
+ select?: Prisma.PlanSelectUpdateManyAndReturn<ExtArgs> | null;
1711
+ /**
1712
+ * Omit specific fields from the Plan
1713
+ */
1714
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1715
+ /**
1716
+ * The data used to update Plans.
1717
+ */
1718
+ data: Prisma.XOR<Prisma.PlanUpdateManyMutationInput, Prisma.PlanUncheckedUpdateManyInput>;
1719
+ /**
1720
+ * Filter which Plans to update
1721
+ */
1722
+ where?: Prisma.PlanWhereInput;
1723
+ /**
1724
+ * Limit how many Plans to update.
1725
+ */
1726
+ limit?: number;
1727
+ /**
1728
+ * Choose, which related nodes to fetch as well
1729
+ */
1730
+ include?: Prisma.PlanIncludeUpdateManyAndReturn<ExtArgs> | null;
1731
+ };
1732
+ /**
1733
+ * Plan upsert
1734
+ */
1735
+ export type PlanUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1736
+ /**
1737
+ * Select specific fields to fetch from the Plan
1738
+ */
1739
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1740
+ /**
1741
+ * Omit specific fields from the Plan
1742
+ */
1743
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1744
+ /**
1745
+ * Choose, which related nodes to fetch as well
1746
+ */
1747
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1748
+ /**
1749
+ * The filter to search for the Plan to update in case it exists.
1750
+ */
1751
+ where: Prisma.PlanWhereUniqueInput;
1752
+ /**
1753
+ * In case the Plan found by the `where` argument doesn't exist, create a new Plan with this data.
1754
+ */
1755
+ create: Prisma.XOR<Prisma.PlanCreateInput, Prisma.PlanUncheckedCreateInput>;
1756
+ /**
1757
+ * In case the Plan was found with the provided `where` argument, update it with this data.
1758
+ */
1759
+ update: Prisma.XOR<Prisma.PlanUpdateInput, Prisma.PlanUncheckedUpdateInput>;
1760
+ };
1761
+ /**
1762
+ * Plan delete
1763
+ */
1764
+ export type PlanDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1765
+ /**
1766
+ * Select specific fields to fetch from the Plan
1767
+ */
1768
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1769
+ /**
1770
+ * Omit specific fields from the Plan
1771
+ */
1772
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1773
+ /**
1774
+ * Choose, which related nodes to fetch as well
1775
+ */
1776
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1777
+ /**
1778
+ * Filter which Plan to delete.
1779
+ */
1780
+ where: Prisma.PlanWhereUniqueInput;
1781
+ };
1782
+ /**
1783
+ * Plan deleteMany
1784
+ */
1785
+ export type PlanDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1786
+ /**
1787
+ * Filter which Plans to delete
1788
+ */
1789
+ where?: Prisma.PlanWhereInput;
1790
+ /**
1791
+ * Limit how many Plans to delete.
1792
+ */
1793
+ limit?: number;
1794
+ };
1795
+ /**
1796
+ * Plan.controller
1797
+ */
1798
+ export type Plan$controllerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1799
+ /**
1800
+ * Select specific fields to fetch from the Controller
1801
+ */
1802
+ select?: Prisma.ControllerSelect<ExtArgs> | null;
1803
+ /**
1804
+ * Omit specific fields from the Controller
1805
+ */
1806
+ omit?: Prisma.ControllerOmit<ExtArgs> | null;
1807
+ /**
1808
+ * Choose, which related nodes to fetch as well
1809
+ */
1810
+ include?: Prisma.ControllerInclude<ExtArgs> | null;
1811
+ where?: Prisma.ControllerWhereInput;
1812
+ };
1813
+ /**
1814
+ * Plan.guard
1815
+ */
1816
+ export type Plan$guardArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1817
+ /**
1818
+ * Select specific fields to fetch from the Guard
1819
+ */
1820
+ select?: Prisma.GuardSelect<ExtArgs> | null;
1821
+ /**
1822
+ * Omit specific fields from the Guard
1823
+ */
1824
+ omit?: Prisma.GuardOmit<ExtArgs> | null;
1825
+ /**
1826
+ * Choose, which related nodes to fetch as well
1827
+ */
1828
+ include?: Prisma.GuardInclude<ExtArgs> | null;
1829
+ where?: Prisma.GuardWhereInput;
1830
+ };
1831
+ /**
1832
+ * Plan.interceptor
1833
+ */
1834
+ export type Plan$interceptorArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1835
+ /**
1836
+ * Select specific fields to fetch from the Interceptor
1837
+ */
1838
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
1839
+ /**
1840
+ * Omit specific fields from the Interceptor
1841
+ */
1842
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1843
+ /**
1844
+ * Choose, which related nodes to fetch as well
1845
+ */
1846
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
1847
+ where?: Prisma.InterceptorWhereInput;
1848
+ };
1849
+ /**
1850
+ * Plan.middleware
1851
+ */
1852
+ export type Plan$middlewareArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1853
+ /**
1854
+ * Select specific fields to fetch from the Middleware
1855
+ */
1856
+ select?: Prisma.MiddlewareSelect<ExtArgs> | null;
1857
+ /**
1858
+ * Omit specific fields from the Middleware
1859
+ */
1860
+ omit?: Prisma.MiddlewareOmit<ExtArgs> | null;
1861
+ /**
1862
+ * Choose, which related nodes to fetch as well
1863
+ */
1864
+ include?: Prisma.MiddlewareInclude<ExtArgs> | null;
1865
+ where?: Prisma.MiddlewareWhereInput;
1866
+ };
1867
+ /**
1868
+ * Plan.pipe
1869
+ */
1870
+ export type Plan$pipeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1871
+ /**
1872
+ * Select specific fields to fetch from the Pipe
1873
+ */
1874
+ select?: Prisma.PipeSelect<ExtArgs> | null;
1875
+ /**
1876
+ * Omit specific fields from the Pipe
1877
+ */
1878
+ omit?: Prisma.PipeOmit<ExtArgs> | null;
1879
+ /**
1880
+ * Choose, which related nodes to fetch as well
1881
+ */
1882
+ include?: Prisma.PipeInclude<ExtArgs> | null;
1883
+ where?: Prisma.PipeWhereInput;
1884
+ };
1885
+ /**
1886
+ * Plan.services
1887
+ */
1888
+ export type Plan$servicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1889
+ /**
1890
+ * Select specific fields to fetch from the PlanService
1891
+ */
1892
+ select?: Prisma.PlanServiceSelect<ExtArgs> | null;
1893
+ /**
1894
+ * Omit specific fields from the PlanService
1895
+ */
1896
+ omit?: Prisma.PlanServiceOmit<ExtArgs> | null;
1897
+ /**
1898
+ * Choose, which related nodes to fetch as well
1899
+ */
1900
+ include?: Prisma.PlanServiceInclude<ExtArgs> | null;
1901
+ where?: Prisma.PlanServiceWhereInput;
1902
+ orderBy?: Prisma.PlanServiceOrderByWithRelationInput | Prisma.PlanServiceOrderByWithRelationInput[];
1903
+ cursor?: Prisma.PlanServiceWhereUniqueInput;
1904
+ take?: number;
1905
+ skip?: number;
1906
+ distinct?: Prisma.PlanServiceScalarFieldEnum | Prisma.PlanServiceScalarFieldEnum[];
1907
+ };
1908
+ /**
1909
+ * Plan.bindings
1910
+ */
1911
+ export type Plan$bindingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1912
+ /**
1913
+ * Select specific fields to fetch from the PlanBinding
1914
+ */
1915
+ select?: Prisma.PlanBindingSelect<ExtArgs> | null;
1916
+ /**
1917
+ * Omit specific fields from the PlanBinding
1918
+ */
1919
+ omit?: Prisma.PlanBindingOmit<ExtArgs> | null;
1920
+ /**
1921
+ * Choose, which related nodes to fetch as well
1922
+ */
1923
+ include?: Prisma.PlanBindingInclude<ExtArgs> | null;
1924
+ where?: Prisma.PlanBindingWhereInput;
1925
+ orderBy?: Prisma.PlanBindingOrderByWithRelationInput | Prisma.PlanBindingOrderByWithRelationInput[];
1926
+ cursor?: Prisma.PlanBindingWhereUniqueInput;
1927
+ take?: number;
1928
+ skip?: number;
1929
+ distinct?: Prisma.PlanBindingScalarFieldEnum | Prisma.PlanBindingScalarFieldEnum[];
1930
+ };
1931
+ /**
1932
+ * Plan without action
1933
+ */
1934
+ export type PlanDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1935
+ /**
1936
+ * Select specific fields to fetch from the Plan
1937
+ */
1938
+ select?: Prisma.PlanSelect<ExtArgs> | null;
1939
+ /**
1940
+ * Omit specific fields from the Plan
1941
+ */
1942
+ omit?: Prisma.PlanOmit<ExtArgs> | null;
1943
+ /**
1944
+ * Choose, which related nodes to fetch as well
1945
+ */
1946
+ include?: Prisma.PlanInclude<ExtArgs> | null;
1947
+ };
1948
+ //# sourceMappingURL=Plan.d.ts.map