@inversifyjs/http-insights 0.5.0 → 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,1315 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model PlanServiceTag
5
+ *
6
+ */
7
+ export type PlanServiceTagModel = runtime.Types.Result.DefaultSelection<Prisma.$PlanServiceTagPayload>;
8
+ export type AggregatePlanServiceTag = {
9
+ _count: PlanServiceTagCountAggregateOutputType | null;
10
+ _avg: PlanServiceTagAvgAggregateOutputType | null;
11
+ _sum: PlanServiceTagSumAggregateOutputType | null;
12
+ _min: PlanServiceTagMinAggregateOutputType | null;
13
+ _max: PlanServiceTagMaxAggregateOutputType | null;
14
+ };
15
+ export type PlanServiceTagAvgAggregateOutputType = {
16
+ position: number | null;
17
+ };
18
+ export type PlanServiceTagSumAggregateOutputType = {
19
+ position: number | null;
20
+ };
21
+ export type PlanServiceTagMinAggregateOutputType = {
22
+ id: string | null;
23
+ service_id: string | null;
24
+ position: number | null;
25
+ key_kind: string | null;
26
+ key_value: string | null;
27
+ created_at: Date | null;
28
+ updated_at: Date | null;
29
+ };
30
+ export type PlanServiceTagMaxAggregateOutputType = {
31
+ id: string | null;
32
+ service_id: string | null;
33
+ position: number | null;
34
+ key_kind: string | null;
35
+ key_value: string | null;
36
+ created_at: Date | null;
37
+ updated_at: Date | null;
38
+ };
39
+ export type PlanServiceTagCountAggregateOutputType = {
40
+ id: number;
41
+ service_id: number;
42
+ position: number;
43
+ key_kind: number;
44
+ key_value: number;
45
+ value: number;
46
+ created_at: number;
47
+ updated_at: number;
48
+ _all: number;
49
+ };
50
+ export type PlanServiceTagAvgAggregateInputType = {
51
+ position?: true;
52
+ };
53
+ export type PlanServiceTagSumAggregateInputType = {
54
+ position?: true;
55
+ };
56
+ export type PlanServiceTagMinAggregateInputType = {
57
+ id?: true;
58
+ service_id?: true;
59
+ position?: true;
60
+ key_kind?: true;
61
+ key_value?: true;
62
+ created_at?: true;
63
+ updated_at?: true;
64
+ };
65
+ export type PlanServiceTagMaxAggregateInputType = {
66
+ id?: true;
67
+ service_id?: true;
68
+ position?: true;
69
+ key_kind?: true;
70
+ key_value?: true;
71
+ created_at?: true;
72
+ updated_at?: true;
73
+ };
74
+ export type PlanServiceTagCountAggregateInputType = {
75
+ id?: true;
76
+ service_id?: true;
77
+ position?: true;
78
+ key_kind?: true;
79
+ key_value?: true;
80
+ value?: true;
81
+ created_at?: true;
82
+ updated_at?: true;
83
+ _all?: true;
84
+ };
85
+ export type PlanServiceTagAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
86
+ /**
87
+ * Filter which PlanServiceTag to aggregate.
88
+ */
89
+ where?: Prisma.PlanServiceTagWhereInput;
90
+ /**
91
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
92
+ *
93
+ * Determine the order of PlanServiceTags to fetch.
94
+ */
95
+ orderBy?: Prisma.PlanServiceTagOrderByWithRelationInput | Prisma.PlanServiceTagOrderByWithRelationInput[];
96
+ /**
97
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
98
+ *
99
+ * Sets the start position
100
+ */
101
+ cursor?: Prisma.PlanServiceTagWhereUniqueInput;
102
+ /**
103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
104
+ *
105
+ * Take `±n` PlanServiceTags from the position of the cursor.
106
+ */
107
+ take?: number;
108
+ /**
109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
110
+ *
111
+ * Skip the first `n` PlanServiceTags.
112
+ */
113
+ skip?: number;
114
+ /**
115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
116
+ *
117
+ * Count returned PlanServiceTags
118
+ **/
119
+ _count?: true | PlanServiceTagCountAggregateInputType;
120
+ /**
121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
122
+ *
123
+ * Select which fields to average
124
+ **/
125
+ _avg?: PlanServiceTagAvgAggregateInputType;
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
128
+ *
129
+ * Select which fields to sum
130
+ **/
131
+ _sum?: PlanServiceTagSumAggregateInputType;
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
134
+ *
135
+ * Select which fields to find the minimum value
136
+ **/
137
+ _min?: PlanServiceTagMinAggregateInputType;
138
+ /**
139
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
140
+ *
141
+ * Select which fields to find the maximum value
142
+ **/
143
+ _max?: PlanServiceTagMaxAggregateInputType;
144
+ };
145
+ export type GetPlanServiceTagAggregateType<T extends PlanServiceTagAggregateArgs> = {
146
+ [P in keyof T & keyof AggregatePlanServiceTag]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePlanServiceTag[P]> : Prisma.GetScalarType<T[P], AggregatePlanServiceTag[P]>;
147
+ };
148
+ export type PlanServiceTagGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
149
+ where?: Prisma.PlanServiceTagWhereInput;
150
+ orderBy?: Prisma.PlanServiceTagOrderByWithAggregationInput | Prisma.PlanServiceTagOrderByWithAggregationInput[];
151
+ by: Prisma.PlanServiceTagScalarFieldEnum[] | Prisma.PlanServiceTagScalarFieldEnum;
152
+ having?: Prisma.PlanServiceTagScalarWhereWithAggregatesInput;
153
+ take?: number;
154
+ skip?: number;
155
+ _count?: PlanServiceTagCountAggregateInputType | true;
156
+ _avg?: PlanServiceTagAvgAggregateInputType;
157
+ _sum?: PlanServiceTagSumAggregateInputType;
158
+ _min?: PlanServiceTagMinAggregateInputType;
159
+ _max?: PlanServiceTagMaxAggregateInputType;
160
+ };
161
+ export type PlanServiceTagGroupByOutputType = {
162
+ id: string;
163
+ service_id: string;
164
+ position: number;
165
+ key_kind: string;
166
+ key_value: string;
167
+ value: runtime.JsonValue;
168
+ created_at: Date;
169
+ updated_at: Date;
170
+ _count: PlanServiceTagCountAggregateOutputType | null;
171
+ _avg: PlanServiceTagAvgAggregateOutputType | null;
172
+ _sum: PlanServiceTagSumAggregateOutputType | null;
173
+ _min: PlanServiceTagMinAggregateOutputType | null;
174
+ _max: PlanServiceTagMaxAggregateOutputType | null;
175
+ };
176
+ export type GetPlanServiceTagGroupByPayload<T extends PlanServiceTagGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PlanServiceTagGroupByOutputType, T['by']> & {
177
+ [P in ((keyof T) & (keyof PlanServiceTagGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PlanServiceTagGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PlanServiceTagGroupByOutputType[P]>;
178
+ }>>;
179
+ export type PlanServiceTagWhereInput = {
180
+ AND?: Prisma.PlanServiceTagWhereInput | Prisma.PlanServiceTagWhereInput[];
181
+ OR?: Prisma.PlanServiceTagWhereInput[];
182
+ NOT?: Prisma.PlanServiceTagWhereInput | Prisma.PlanServiceTagWhereInput[];
183
+ id?: Prisma.StringFilter<"PlanServiceTag"> | string;
184
+ service_id?: Prisma.StringFilter<"PlanServiceTag"> | string;
185
+ position?: Prisma.IntFilter<"PlanServiceTag"> | number;
186
+ key_kind?: Prisma.StringFilter<"PlanServiceTag"> | string;
187
+ key_value?: Prisma.StringFilter<"PlanServiceTag"> | string;
188
+ value?: Prisma.JsonFilter<"PlanServiceTag">;
189
+ created_at?: Prisma.DateTimeFilter<"PlanServiceTag"> | Date | string;
190
+ updated_at?: Prisma.DateTimeFilter<"PlanServiceTag"> | Date | string;
191
+ service?: Prisma.XOR<Prisma.PlanServiceScalarRelationFilter, Prisma.PlanServiceWhereInput>;
192
+ };
193
+ export type PlanServiceTagOrderByWithRelationInput = {
194
+ id?: Prisma.SortOrder;
195
+ service_id?: Prisma.SortOrder;
196
+ position?: Prisma.SortOrder;
197
+ key_kind?: Prisma.SortOrder;
198
+ key_value?: Prisma.SortOrder;
199
+ value?: Prisma.SortOrder;
200
+ created_at?: Prisma.SortOrder;
201
+ updated_at?: Prisma.SortOrder;
202
+ service?: Prisma.PlanServiceOrderByWithRelationInput;
203
+ };
204
+ export type PlanServiceTagWhereUniqueInput = Prisma.AtLeast<{
205
+ id?: string;
206
+ service_id_position?: Prisma.PlanServiceTagService_idPositionCompoundUniqueInput;
207
+ AND?: Prisma.PlanServiceTagWhereInput | Prisma.PlanServiceTagWhereInput[];
208
+ OR?: Prisma.PlanServiceTagWhereInput[];
209
+ NOT?: Prisma.PlanServiceTagWhereInput | Prisma.PlanServiceTagWhereInput[];
210
+ service_id?: Prisma.StringFilter<"PlanServiceTag"> | string;
211
+ position?: Prisma.IntFilter<"PlanServiceTag"> | number;
212
+ key_kind?: Prisma.StringFilter<"PlanServiceTag"> | string;
213
+ key_value?: Prisma.StringFilter<"PlanServiceTag"> | string;
214
+ value?: Prisma.JsonFilter<"PlanServiceTag">;
215
+ created_at?: Prisma.DateTimeFilter<"PlanServiceTag"> | Date | string;
216
+ updated_at?: Prisma.DateTimeFilter<"PlanServiceTag"> | Date | string;
217
+ service?: Prisma.XOR<Prisma.PlanServiceScalarRelationFilter, Prisma.PlanServiceWhereInput>;
218
+ }, "id" | "service_id_position">;
219
+ export type PlanServiceTagOrderByWithAggregationInput = {
220
+ id?: Prisma.SortOrder;
221
+ service_id?: Prisma.SortOrder;
222
+ position?: Prisma.SortOrder;
223
+ key_kind?: Prisma.SortOrder;
224
+ key_value?: Prisma.SortOrder;
225
+ value?: Prisma.SortOrder;
226
+ created_at?: Prisma.SortOrder;
227
+ updated_at?: Prisma.SortOrder;
228
+ _count?: Prisma.PlanServiceTagCountOrderByAggregateInput;
229
+ _avg?: Prisma.PlanServiceTagAvgOrderByAggregateInput;
230
+ _max?: Prisma.PlanServiceTagMaxOrderByAggregateInput;
231
+ _min?: Prisma.PlanServiceTagMinOrderByAggregateInput;
232
+ _sum?: Prisma.PlanServiceTagSumOrderByAggregateInput;
233
+ };
234
+ export type PlanServiceTagScalarWhereWithAggregatesInput = {
235
+ AND?: Prisma.PlanServiceTagScalarWhereWithAggregatesInput | Prisma.PlanServiceTagScalarWhereWithAggregatesInput[];
236
+ OR?: Prisma.PlanServiceTagScalarWhereWithAggregatesInput[];
237
+ NOT?: Prisma.PlanServiceTagScalarWhereWithAggregatesInput | Prisma.PlanServiceTagScalarWhereWithAggregatesInput[];
238
+ id?: Prisma.StringWithAggregatesFilter<"PlanServiceTag"> | string;
239
+ service_id?: Prisma.StringWithAggregatesFilter<"PlanServiceTag"> | string;
240
+ position?: Prisma.IntWithAggregatesFilter<"PlanServiceTag"> | number;
241
+ key_kind?: Prisma.StringWithAggregatesFilter<"PlanServiceTag"> | string;
242
+ key_value?: Prisma.StringWithAggregatesFilter<"PlanServiceTag"> | string;
243
+ value?: Prisma.JsonWithAggregatesFilter<"PlanServiceTag">;
244
+ created_at?: Prisma.DateTimeWithAggregatesFilter<"PlanServiceTag"> | Date | string;
245
+ updated_at?: Prisma.DateTimeWithAggregatesFilter<"PlanServiceTag"> | Date | string;
246
+ };
247
+ export type PlanServiceTagCreateInput = {
248
+ id: string;
249
+ position: number;
250
+ key_kind: string;
251
+ key_value: string;
252
+ value: Prisma.JsonNullValueInput | runtime.InputJsonValue;
253
+ created_at?: Date | string;
254
+ updated_at?: Date | string;
255
+ service: Prisma.PlanServiceCreateNestedOneWithoutTagsInput;
256
+ };
257
+ export type PlanServiceTagUncheckedCreateInput = {
258
+ id: string;
259
+ service_id: string;
260
+ position: number;
261
+ key_kind: string;
262
+ key_value: string;
263
+ value: Prisma.JsonNullValueInput | runtime.InputJsonValue;
264
+ created_at?: Date | string;
265
+ updated_at?: Date | string;
266
+ };
267
+ export type PlanServiceTagUpdateInput = {
268
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
269
+ position?: Prisma.IntFieldUpdateOperationsInput | number;
270
+ key_kind?: Prisma.StringFieldUpdateOperationsInput | string;
271
+ key_value?: Prisma.StringFieldUpdateOperationsInput | string;
272
+ value?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
273
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
274
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
275
+ service?: Prisma.PlanServiceUpdateOneRequiredWithoutTagsNestedInput;
276
+ };
277
+ export type PlanServiceTagUncheckedUpdateInput = {
278
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
279
+ service_id?: Prisma.StringFieldUpdateOperationsInput | string;
280
+ position?: Prisma.IntFieldUpdateOperationsInput | number;
281
+ key_kind?: Prisma.StringFieldUpdateOperationsInput | string;
282
+ key_value?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ value?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
284
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
285
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
286
+ };
287
+ export type PlanServiceTagCreateManyInput = {
288
+ id: string;
289
+ service_id: string;
290
+ position: number;
291
+ key_kind: string;
292
+ key_value: string;
293
+ value: Prisma.JsonNullValueInput | runtime.InputJsonValue;
294
+ created_at?: Date | string;
295
+ updated_at?: Date | string;
296
+ };
297
+ export type PlanServiceTagUpdateManyMutationInput = {
298
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
299
+ position?: Prisma.IntFieldUpdateOperationsInput | number;
300
+ key_kind?: Prisma.StringFieldUpdateOperationsInput | string;
301
+ key_value?: Prisma.StringFieldUpdateOperationsInput | string;
302
+ value?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
303
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
304
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
305
+ };
306
+ export type PlanServiceTagUncheckedUpdateManyInput = {
307
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
308
+ service_id?: Prisma.StringFieldUpdateOperationsInput | string;
309
+ position?: Prisma.IntFieldUpdateOperationsInput | number;
310
+ key_kind?: Prisma.StringFieldUpdateOperationsInput | string;
311
+ key_value?: Prisma.StringFieldUpdateOperationsInput | string;
312
+ value?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
313
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
314
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
315
+ };
316
+ export type PlanServiceTagListRelationFilter = {
317
+ every?: Prisma.PlanServiceTagWhereInput;
318
+ some?: Prisma.PlanServiceTagWhereInput;
319
+ none?: Prisma.PlanServiceTagWhereInput;
320
+ };
321
+ export type PlanServiceTagOrderByRelationAggregateInput = {
322
+ _count?: Prisma.SortOrder;
323
+ };
324
+ export type PlanServiceTagService_idPositionCompoundUniqueInput = {
325
+ service_id: string;
326
+ position: number;
327
+ };
328
+ export type PlanServiceTagCountOrderByAggregateInput = {
329
+ id?: Prisma.SortOrder;
330
+ service_id?: Prisma.SortOrder;
331
+ position?: Prisma.SortOrder;
332
+ key_kind?: Prisma.SortOrder;
333
+ key_value?: Prisma.SortOrder;
334
+ value?: Prisma.SortOrder;
335
+ created_at?: Prisma.SortOrder;
336
+ updated_at?: Prisma.SortOrder;
337
+ };
338
+ export type PlanServiceTagAvgOrderByAggregateInput = {
339
+ position?: Prisma.SortOrder;
340
+ };
341
+ export type PlanServiceTagMaxOrderByAggregateInput = {
342
+ id?: Prisma.SortOrder;
343
+ service_id?: Prisma.SortOrder;
344
+ position?: Prisma.SortOrder;
345
+ key_kind?: Prisma.SortOrder;
346
+ key_value?: Prisma.SortOrder;
347
+ created_at?: Prisma.SortOrder;
348
+ updated_at?: Prisma.SortOrder;
349
+ };
350
+ export type PlanServiceTagMinOrderByAggregateInput = {
351
+ id?: Prisma.SortOrder;
352
+ service_id?: Prisma.SortOrder;
353
+ position?: Prisma.SortOrder;
354
+ key_kind?: Prisma.SortOrder;
355
+ key_value?: Prisma.SortOrder;
356
+ created_at?: Prisma.SortOrder;
357
+ updated_at?: Prisma.SortOrder;
358
+ };
359
+ export type PlanServiceTagSumOrderByAggregateInput = {
360
+ position?: Prisma.SortOrder;
361
+ };
362
+ export type PlanServiceTagCreateNestedManyWithoutServiceInput = {
363
+ create?: Prisma.XOR<Prisma.PlanServiceTagCreateWithoutServiceInput, Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput> | Prisma.PlanServiceTagCreateWithoutServiceInput[] | Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput[];
364
+ connectOrCreate?: Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput | Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput[];
365
+ createMany?: Prisma.PlanServiceTagCreateManyServiceInputEnvelope;
366
+ connect?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
367
+ };
368
+ export type PlanServiceTagUncheckedCreateNestedManyWithoutServiceInput = {
369
+ create?: Prisma.XOR<Prisma.PlanServiceTagCreateWithoutServiceInput, Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput> | Prisma.PlanServiceTagCreateWithoutServiceInput[] | Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput[];
370
+ connectOrCreate?: Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput | Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput[];
371
+ createMany?: Prisma.PlanServiceTagCreateManyServiceInputEnvelope;
372
+ connect?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
373
+ };
374
+ export type PlanServiceTagUpdateManyWithoutServiceNestedInput = {
375
+ create?: Prisma.XOR<Prisma.PlanServiceTagCreateWithoutServiceInput, Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput> | Prisma.PlanServiceTagCreateWithoutServiceInput[] | Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput[];
376
+ connectOrCreate?: Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput | Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput[];
377
+ upsert?: Prisma.PlanServiceTagUpsertWithWhereUniqueWithoutServiceInput | Prisma.PlanServiceTagUpsertWithWhereUniqueWithoutServiceInput[];
378
+ createMany?: Prisma.PlanServiceTagCreateManyServiceInputEnvelope;
379
+ set?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
380
+ disconnect?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
381
+ delete?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
382
+ connect?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
383
+ update?: Prisma.PlanServiceTagUpdateWithWhereUniqueWithoutServiceInput | Prisma.PlanServiceTagUpdateWithWhereUniqueWithoutServiceInput[];
384
+ updateMany?: Prisma.PlanServiceTagUpdateManyWithWhereWithoutServiceInput | Prisma.PlanServiceTagUpdateManyWithWhereWithoutServiceInput[];
385
+ deleteMany?: Prisma.PlanServiceTagScalarWhereInput | Prisma.PlanServiceTagScalarWhereInput[];
386
+ };
387
+ export type PlanServiceTagUncheckedUpdateManyWithoutServiceNestedInput = {
388
+ create?: Prisma.XOR<Prisma.PlanServiceTagCreateWithoutServiceInput, Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput> | Prisma.PlanServiceTagCreateWithoutServiceInput[] | Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput[];
389
+ connectOrCreate?: Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput | Prisma.PlanServiceTagCreateOrConnectWithoutServiceInput[];
390
+ upsert?: Prisma.PlanServiceTagUpsertWithWhereUniqueWithoutServiceInput | Prisma.PlanServiceTagUpsertWithWhereUniqueWithoutServiceInput[];
391
+ createMany?: Prisma.PlanServiceTagCreateManyServiceInputEnvelope;
392
+ set?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
393
+ disconnect?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
394
+ delete?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
395
+ connect?: Prisma.PlanServiceTagWhereUniqueInput | Prisma.PlanServiceTagWhereUniqueInput[];
396
+ update?: Prisma.PlanServiceTagUpdateWithWhereUniqueWithoutServiceInput | Prisma.PlanServiceTagUpdateWithWhereUniqueWithoutServiceInput[];
397
+ updateMany?: Prisma.PlanServiceTagUpdateManyWithWhereWithoutServiceInput | Prisma.PlanServiceTagUpdateManyWithWhereWithoutServiceInput[];
398
+ deleteMany?: Prisma.PlanServiceTagScalarWhereInput | Prisma.PlanServiceTagScalarWhereInput[];
399
+ };
400
+ export type PlanServiceTagCreateWithoutServiceInput = {
401
+ id: string;
402
+ position: number;
403
+ key_kind: string;
404
+ key_value: string;
405
+ value: Prisma.JsonNullValueInput | runtime.InputJsonValue;
406
+ created_at?: Date | string;
407
+ updated_at?: Date | string;
408
+ };
409
+ export type PlanServiceTagUncheckedCreateWithoutServiceInput = {
410
+ id: string;
411
+ position: number;
412
+ key_kind: string;
413
+ key_value: string;
414
+ value: Prisma.JsonNullValueInput | runtime.InputJsonValue;
415
+ created_at?: Date | string;
416
+ updated_at?: Date | string;
417
+ };
418
+ export type PlanServiceTagCreateOrConnectWithoutServiceInput = {
419
+ where: Prisma.PlanServiceTagWhereUniqueInput;
420
+ create: Prisma.XOR<Prisma.PlanServiceTagCreateWithoutServiceInput, Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput>;
421
+ };
422
+ export type PlanServiceTagCreateManyServiceInputEnvelope = {
423
+ data: Prisma.PlanServiceTagCreateManyServiceInput | Prisma.PlanServiceTagCreateManyServiceInput[];
424
+ };
425
+ export type PlanServiceTagUpsertWithWhereUniqueWithoutServiceInput = {
426
+ where: Prisma.PlanServiceTagWhereUniqueInput;
427
+ update: Prisma.XOR<Prisma.PlanServiceTagUpdateWithoutServiceInput, Prisma.PlanServiceTagUncheckedUpdateWithoutServiceInput>;
428
+ create: Prisma.XOR<Prisma.PlanServiceTagCreateWithoutServiceInput, Prisma.PlanServiceTagUncheckedCreateWithoutServiceInput>;
429
+ };
430
+ export type PlanServiceTagUpdateWithWhereUniqueWithoutServiceInput = {
431
+ where: Prisma.PlanServiceTagWhereUniqueInput;
432
+ data: Prisma.XOR<Prisma.PlanServiceTagUpdateWithoutServiceInput, Prisma.PlanServiceTagUncheckedUpdateWithoutServiceInput>;
433
+ };
434
+ export type PlanServiceTagUpdateManyWithWhereWithoutServiceInput = {
435
+ where: Prisma.PlanServiceTagScalarWhereInput;
436
+ data: Prisma.XOR<Prisma.PlanServiceTagUpdateManyMutationInput, Prisma.PlanServiceTagUncheckedUpdateManyWithoutServiceInput>;
437
+ };
438
+ export type PlanServiceTagScalarWhereInput = {
439
+ AND?: Prisma.PlanServiceTagScalarWhereInput | Prisma.PlanServiceTagScalarWhereInput[];
440
+ OR?: Prisma.PlanServiceTagScalarWhereInput[];
441
+ NOT?: Prisma.PlanServiceTagScalarWhereInput | Prisma.PlanServiceTagScalarWhereInput[];
442
+ id?: Prisma.StringFilter<"PlanServiceTag"> | string;
443
+ service_id?: Prisma.StringFilter<"PlanServiceTag"> | string;
444
+ position?: Prisma.IntFilter<"PlanServiceTag"> | number;
445
+ key_kind?: Prisma.StringFilter<"PlanServiceTag"> | string;
446
+ key_value?: Prisma.StringFilter<"PlanServiceTag"> | string;
447
+ value?: Prisma.JsonFilter<"PlanServiceTag">;
448
+ created_at?: Prisma.DateTimeFilter<"PlanServiceTag"> | Date | string;
449
+ updated_at?: Prisma.DateTimeFilter<"PlanServiceTag"> | Date | string;
450
+ };
451
+ export type PlanServiceTagCreateManyServiceInput = {
452
+ id: string;
453
+ position: number;
454
+ key_kind: string;
455
+ key_value: string;
456
+ value: Prisma.JsonNullValueInput | runtime.InputJsonValue;
457
+ created_at?: Date | string;
458
+ updated_at?: Date | string;
459
+ };
460
+ export type PlanServiceTagUpdateWithoutServiceInput = {
461
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
462
+ position?: Prisma.IntFieldUpdateOperationsInput | number;
463
+ key_kind?: Prisma.StringFieldUpdateOperationsInput | string;
464
+ key_value?: Prisma.StringFieldUpdateOperationsInput | string;
465
+ value?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
466
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
467
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
468
+ };
469
+ export type PlanServiceTagUncheckedUpdateWithoutServiceInput = {
470
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
471
+ position?: Prisma.IntFieldUpdateOperationsInput | number;
472
+ key_kind?: Prisma.StringFieldUpdateOperationsInput | string;
473
+ key_value?: Prisma.StringFieldUpdateOperationsInput | string;
474
+ value?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
475
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
476
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
477
+ };
478
+ export type PlanServiceTagUncheckedUpdateManyWithoutServiceInput = {
479
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
480
+ position?: Prisma.IntFieldUpdateOperationsInput | number;
481
+ key_kind?: Prisma.StringFieldUpdateOperationsInput | string;
482
+ key_value?: Prisma.StringFieldUpdateOperationsInput | string;
483
+ value?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
484
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
485
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
486
+ };
487
+ export type PlanServiceTagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
488
+ id?: boolean;
489
+ service_id?: boolean;
490
+ position?: boolean;
491
+ key_kind?: boolean;
492
+ key_value?: boolean;
493
+ value?: boolean;
494
+ created_at?: boolean;
495
+ updated_at?: boolean;
496
+ service?: boolean | Prisma.PlanServiceDefaultArgs<ExtArgs>;
497
+ }, ExtArgs["result"]["planServiceTag"]>;
498
+ export type PlanServiceTagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
499
+ id?: boolean;
500
+ service_id?: boolean;
501
+ position?: boolean;
502
+ key_kind?: boolean;
503
+ key_value?: boolean;
504
+ value?: boolean;
505
+ created_at?: boolean;
506
+ updated_at?: boolean;
507
+ service?: boolean | Prisma.PlanServiceDefaultArgs<ExtArgs>;
508
+ }, ExtArgs["result"]["planServiceTag"]>;
509
+ export type PlanServiceTagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
510
+ id?: boolean;
511
+ service_id?: boolean;
512
+ position?: boolean;
513
+ key_kind?: boolean;
514
+ key_value?: boolean;
515
+ value?: boolean;
516
+ created_at?: boolean;
517
+ updated_at?: boolean;
518
+ service?: boolean | Prisma.PlanServiceDefaultArgs<ExtArgs>;
519
+ }, ExtArgs["result"]["planServiceTag"]>;
520
+ export type PlanServiceTagSelectScalar = {
521
+ id?: boolean;
522
+ service_id?: boolean;
523
+ position?: boolean;
524
+ key_kind?: boolean;
525
+ key_value?: boolean;
526
+ value?: boolean;
527
+ created_at?: boolean;
528
+ updated_at?: boolean;
529
+ };
530
+ export type PlanServiceTagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "service_id" | "position" | "key_kind" | "key_value" | "value" | "created_at" | "updated_at", ExtArgs["result"]["planServiceTag"]>;
531
+ export type PlanServiceTagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
532
+ service?: boolean | Prisma.PlanServiceDefaultArgs<ExtArgs>;
533
+ };
534
+ export type PlanServiceTagIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
535
+ service?: boolean | Prisma.PlanServiceDefaultArgs<ExtArgs>;
536
+ };
537
+ export type PlanServiceTagIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
538
+ service?: boolean | Prisma.PlanServiceDefaultArgs<ExtArgs>;
539
+ };
540
+ export type $PlanServiceTagPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
541
+ name: "PlanServiceTag";
542
+ objects: {
543
+ service: Prisma.$PlanServicePayload<ExtArgs>;
544
+ };
545
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
546
+ id: string;
547
+ service_id: string;
548
+ position: number;
549
+ key_kind: string;
550
+ key_value: string;
551
+ value: runtime.JsonValue;
552
+ created_at: Date;
553
+ updated_at: Date;
554
+ }, ExtArgs["result"]["planServiceTag"]>;
555
+ composites: {};
556
+ };
557
+ export type PlanServiceTagGetPayload<S extends boolean | null | undefined | PlanServiceTagDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload, S>;
558
+ export type PlanServiceTagCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PlanServiceTagFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
559
+ select?: PlanServiceTagCountAggregateInputType | true;
560
+ };
561
+ export interface PlanServiceTagDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
562
+ [K: symbol]: {
563
+ types: Prisma.TypeMap<ExtArgs>['model']['PlanServiceTag'];
564
+ meta: {
565
+ name: 'PlanServiceTag';
566
+ };
567
+ };
568
+ /**
569
+ * Find zero or one PlanServiceTag that matches the filter.
570
+ * @param {PlanServiceTagFindUniqueArgs} args - Arguments to find a PlanServiceTag
571
+ * @example
572
+ * // Get one PlanServiceTag
573
+ * const planServiceTag = await prisma.planServiceTag.findUnique({
574
+ * where: {
575
+ * // ... provide filter here
576
+ * }
577
+ * })
578
+ */
579
+ findUnique<T extends PlanServiceTagFindUniqueArgs>(args: Prisma.SelectSubset<T, PlanServiceTagFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
580
+ /**
581
+ * Find one PlanServiceTag that matches the filter or throw an error with `error.code='P2025'`
582
+ * if no matches were found.
583
+ * @param {PlanServiceTagFindUniqueOrThrowArgs} args - Arguments to find a PlanServiceTag
584
+ * @example
585
+ * // Get one PlanServiceTag
586
+ * const planServiceTag = await prisma.planServiceTag.findUniqueOrThrow({
587
+ * where: {
588
+ * // ... provide filter here
589
+ * }
590
+ * })
591
+ */
592
+ findUniqueOrThrow<T extends PlanServiceTagFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PlanServiceTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
593
+ /**
594
+ * Find the first PlanServiceTag that matches the filter.
595
+ * Note, that providing `undefined` is treated as the value not being there.
596
+ * Read more here: https://pris.ly/d/null-undefined
597
+ * @param {PlanServiceTagFindFirstArgs} args - Arguments to find a PlanServiceTag
598
+ * @example
599
+ * // Get one PlanServiceTag
600
+ * const planServiceTag = await prisma.planServiceTag.findFirst({
601
+ * where: {
602
+ * // ... provide filter here
603
+ * }
604
+ * })
605
+ */
606
+ findFirst<T extends PlanServiceTagFindFirstArgs>(args?: Prisma.SelectSubset<T, PlanServiceTagFindFirstArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
607
+ /**
608
+ * Find the first PlanServiceTag that matches the filter or
609
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
610
+ * Note, that providing `undefined` is treated as the value not being there.
611
+ * Read more here: https://pris.ly/d/null-undefined
612
+ * @param {PlanServiceTagFindFirstOrThrowArgs} args - Arguments to find a PlanServiceTag
613
+ * @example
614
+ * // Get one PlanServiceTag
615
+ * const planServiceTag = await prisma.planServiceTag.findFirstOrThrow({
616
+ * where: {
617
+ * // ... provide filter here
618
+ * }
619
+ * })
620
+ */
621
+ findFirstOrThrow<T extends PlanServiceTagFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PlanServiceTagFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
622
+ /**
623
+ * Find zero or more PlanServiceTags that matches the filter.
624
+ * Note, that providing `undefined` is treated as the value not being there.
625
+ * Read more here: https://pris.ly/d/null-undefined
626
+ * @param {PlanServiceTagFindManyArgs} args - Arguments to filter and select certain fields only.
627
+ * @example
628
+ * // Get all PlanServiceTags
629
+ * const planServiceTags = await prisma.planServiceTag.findMany()
630
+ *
631
+ * // Get first 10 PlanServiceTags
632
+ * const planServiceTags = await prisma.planServiceTag.findMany({ take: 10 })
633
+ *
634
+ * // Only select the `id`
635
+ * const planServiceTagWithIdOnly = await prisma.planServiceTag.findMany({ select: { id: true } })
636
+ *
637
+ */
638
+ findMany<T extends PlanServiceTagFindManyArgs>(args?: Prisma.SelectSubset<T, PlanServiceTagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
639
+ /**
640
+ * Create a PlanServiceTag.
641
+ * @param {PlanServiceTagCreateArgs} args - Arguments to create a PlanServiceTag.
642
+ * @example
643
+ * // Create one PlanServiceTag
644
+ * const PlanServiceTag = await prisma.planServiceTag.create({
645
+ * data: {
646
+ * // ... data to create a PlanServiceTag
647
+ * }
648
+ * })
649
+ *
650
+ */
651
+ create<T extends PlanServiceTagCreateArgs>(args: Prisma.SelectSubset<T, PlanServiceTagCreateArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
652
+ /**
653
+ * Create many PlanServiceTags.
654
+ * @param {PlanServiceTagCreateManyArgs} args - Arguments to create many PlanServiceTags.
655
+ * @example
656
+ * // Create many PlanServiceTags
657
+ * const planServiceTag = await prisma.planServiceTag.createMany({
658
+ * data: [
659
+ * // ... provide data here
660
+ * ]
661
+ * })
662
+ *
663
+ */
664
+ createMany<T extends PlanServiceTagCreateManyArgs>(args?: Prisma.SelectSubset<T, PlanServiceTagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
665
+ /**
666
+ * Create many PlanServiceTags and returns the data saved in the database.
667
+ * @param {PlanServiceTagCreateManyAndReturnArgs} args - Arguments to create many PlanServiceTags.
668
+ * @example
669
+ * // Create many PlanServiceTags
670
+ * const planServiceTag = await prisma.planServiceTag.createManyAndReturn({
671
+ * data: [
672
+ * // ... provide data here
673
+ * ]
674
+ * })
675
+ *
676
+ * // Create many PlanServiceTags and only return the `id`
677
+ * const planServiceTagWithIdOnly = await prisma.planServiceTag.createManyAndReturn({
678
+ * select: { id: true },
679
+ * data: [
680
+ * // ... provide data here
681
+ * ]
682
+ * })
683
+ * Note, that providing `undefined` is treated as the value not being there.
684
+ * Read more here: https://pris.ly/d/null-undefined
685
+ *
686
+ */
687
+ createManyAndReturn<T extends PlanServiceTagCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PlanServiceTagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
688
+ /**
689
+ * Delete a PlanServiceTag.
690
+ * @param {PlanServiceTagDeleteArgs} args - Arguments to delete one PlanServiceTag.
691
+ * @example
692
+ * // Delete one PlanServiceTag
693
+ * const PlanServiceTag = await prisma.planServiceTag.delete({
694
+ * where: {
695
+ * // ... filter to delete one PlanServiceTag
696
+ * }
697
+ * })
698
+ *
699
+ */
700
+ delete<T extends PlanServiceTagDeleteArgs>(args: Prisma.SelectSubset<T, PlanServiceTagDeleteArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
701
+ /**
702
+ * Update one PlanServiceTag.
703
+ * @param {PlanServiceTagUpdateArgs} args - Arguments to update one PlanServiceTag.
704
+ * @example
705
+ * // Update one PlanServiceTag
706
+ * const planServiceTag = await prisma.planServiceTag.update({
707
+ * where: {
708
+ * // ... provide filter here
709
+ * },
710
+ * data: {
711
+ * // ... provide data here
712
+ * }
713
+ * })
714
+ *
715
+ */
716
+ update<T extends PlanServiceTagUpdateArgs>(args: Prisma.SelectSubset<T, PlanServiceTagUpdateArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
717
+ /**
718
+ * Delete zero or more PlanServiceTags.
719
+ * @param {PlanServiceTagDeleteManyArgs} args - Arguments to filter PlanServiceTags to delete.
720
+ * @example
721
+ * // Delete a few PlanServiceTags
722
+ * const { count } = await prisma.planServiceTag.deleteMany({
723
+ * where: {
724
+ * // ... provide filter here
725
+ * }
726
+ * })
727
+ *
728
+ */
729
+ deleteMany<T extends PlanServiceTagDeleteManyArgs>(args?: Prisma.SelectSubset<T, PlanServiceTagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
730
+ /**
731
+ * Update zero or more PlanServiceTags.
732
+ * Note, that providing `undefined` is treated as the value not being there.
733
+ * Read more here: https://pris.ly/d/null-undefined
734
+ * @param {PlanServiceTagUpdateManyArgs} args - Arguments to update one or more rows.
735
+ * @example
736
+ * // Update many PlanServiceTags
737
+ * const planServiceTag = await prisma.planServiceTag.updateMany({
738
+ * where: {
739
+ * // ... provide filter here
740
+ * },
741
+ * data: {
742
+ * // ... provide data here
743
+ * }
744
+ * })
745
+ *
746
+ */
747
+ updateMany<T extends PlanServiceTagUpdateManyArgs>(args: Prisma.SelectSubset<T, PlanServiceTagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
748
+ /**
749
+ * Update zero or more PlanServiceTags and returns the data updated in the database.
750
+ * @param {PlanServiceTagUpdateManyAndReturnArgs} args - Arguments to update many PlanServiceTags.
751
+ * @example
752
+ * // Update many PlanServiceTags
753
+ * const planServiceTag = await prisma.planServiceTag.updateManyAndReturn({
754
+ * where: {
755
+ * // ... provide filter here
756
+ * },
757
+ * data: [
758
+ * // ... provide data here
759
+ * ]
760
+ * })
761
+ *
762
+ * // Update zero or more PlanServiceTags and only return the `id`
763
+ * const planServiceTagWithIdOnly = await prisma.planServiceTag.updateManyAndReturn({
764
+ * select: { id: true },
765
+ * where: {
766
+ * // ... provide filter here
767
+ * },
768
+ * data: [
769
+ * // ... provide data here
770
+ * ]
771
+ * })
772
+ * Note, that providing `undefined` is treated as the value not being there.
773
+ * Read more here: https://pris.ly/d/null-undefined
774
+ *
775
+ */
776
+ updateManyAndReturn<T extends PlanServiceTagUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PlanServiceTagUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
777
+ /**
778
+ * Create or update one PlanServiceTag.
779
+ * @param {PlanServiceTagUpsertArgs} args - Arguments to update or create a PlanServiceTag.
780
+ * @example
781
+ * // Update or create a PlanServiceTag
782
+ * const planServiceTag = await prisma.planServiceTag.upsert({
783
+ * create: {
784
+ * // ... data to create a PlanServiceTag
785
+ * },
786
+ * update: {
787
+ * // ... in case it already exists, update
788
+ * },
789
+ * where: {
790
+ * // ... the filter for the PlanServiceTag we want to update
791
+ * }
792
+ * })
793
+ */
794
+ upsert<T extends PlanServiceTagUpsertArgs>(args: Prisma.SelectSubset<T, PlanServiceTagUpsertArgs<ExtArgs>>): Prisma.Prisma__PlanServiceTagClient<runtime.Types.Result.GetResult<Prisma.$PlanServiceTagPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
795
+ /**
796
+ * Count the number of PlanServiceTags.
797
+ * Note, that providing `undefined` is treated as the value not being there.
798
+ * Read more here: https://pris.ly/d/null-undefined
799
+ * @param {PlanServiceTagCountArgs} args - Arguments to filter PlanServiceTags to count.
800
+ * @example
801
+ * // Count the number of PlanServiceTags
802
+ * const count = await prisma.planServiceTag.count({
803
+ * where: {
804
+ * // ... the filter for the PlanServiceTags we want to count
805
+ * }
806
+ * })
807
+ **/
808
+ count<T extends PlanServiceTagCountArgs>(args?: Prisma.Subset<T, PlanServiceTagCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PlanServiceTagCountAggregateOutputType> : number>;
809
+ /**
810
+ * Allows you to perform aggregations operations on a PlanServiceTag.
811
+ * Note, that providing `undefined` is treated as the value not being there.
812
+ * Read more here: https://pris.ly/d/null-undefined
813
+ * @param {PlanServiceTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
814
+ * @example
815
+ * // Ordered by age ascending
816
+ * // Where email contains prisma.io
817
+ * // Limited to the 10 users
818
+ * const aggregations = await prisma.user.aggregate({
819
+ * _avg: {
820
+ * age: true,
821
+ * },
822
+ * where: {
823
+ * email: {
824
+ * contains: "prisma.io",
825
+ * },
826
+ * },
827
+ * orderBy: {
828
+ * age: "asc",
829
+ * },
830
+ * take: 10,
831
+ * })
832
+ **/
833
+ aggregate<T extends PlanServiceTagAggregateArgs>(args: Prisma.Subset<T, PlanServiceTagAggregateArgs>): Prisma.PrismaPromise<GetPlanServiceTagAggregateType<T>>;
834
+ /**
835
+ * Group by PlanServiceTag.
836
+ * Note, that providing `undefined` is treated as the value not being there.
837
+ * Read more here: https://pris.ly/d/null-undefined
838
+ * @param {PlanServiceTagGroupByArgs} args - Group by arguments.
839
+ * @example
840
+ * // Group by city, order by createdAt, get count
841
+ * const result = await prisma.user.groupBy({
842
+ * by: ['city', 'createdAt'],
843
+ * orderBy: {
844
+ * createdAt: true
845
+ * },
846
+ * _count: {
847
+ * _all: true
848
+ * },
849
+ * })
850
+ *
851
+ **/
852
+ groupBy<T extends PlanServiceTagGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
853
+ orderBy: PlanServiceTagGroupByArgs['orderBy'];
854
+ } : {
855
+ orderBy?: PlanServiceTagGroupByArgs['orderBy'];
856
+ }, 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 ? {
857
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
858
+ Error,
859
+ 'Field ',
860
+ P,
861
+ ` in "having" needs to be provided in "by"`
862
+ ];
863
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
864
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
865
+ }[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 ? {} : {
866
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
867
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
868
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
869
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, PlanServiceTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPlanServiceTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
870
+ /**
871
+ * Fields of the PlanServiceTag model
872
+ */
873
+ readonly fields: PlanServiceTagFieldRefs;
874
+ }
875
+ /**
876
+ * The delegate class that acts as a "Promise-like" for PlanServiceTag.
877
+ * Why is this prefixed with `Prisma__`?
878
+ * Because we want to prevent naming conflicts as mentioned in
879
+ * https://github.com/prisma/prisma-client-js/issues/707
880
+ */
881
+ export interface Prisma__PlanServiceTagClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
882
+ readonly [Symbol.toStringTag]: "PrismaPromise";
883
+ service<T extends Prisma.PlanServiceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PlanServiceDefaultArgs<ExtArgs>>): Prisma.Prisma__PlanServiceClient<runtime.Types.Result.GetResult<Prisma.$PlanServicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
884
+ /**
885
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
886
+ * @param onfulfilled The callback to execute when the Promise is resolved.
887
+ * @param onrejected The callback to execute when the Promise is rejected.
888
+ * @returns A Promise for the completion of which ever callback is executed.
889
+ */
890
+ 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>;
891
+ /**
892
+ * Attaches a callback for only the rejection of the Promise.
893
+ * @param onrejected The callback to execute when the Promise is rejected.
894
+ * @returns A Promise for the completion of the callback.
895
+ */
896
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
897
+ /**
898
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
899
+ * resolved value cannot be modified from the callback.
900
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
901
+ * @returns A Promise for the completion of the callback.
902
+ */
903
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
904
+ }
905
+ /**
906
+ * Fields of the PlanServiceTag model
907
+ */
908
+ export interface PlanServiceTagFieldRefs {
909
+ readonly id: Prisma.FieldRef<"PlanServiceTag", 'String'>;
910
+ readonly service_id: Prisma.FieldRef<"PlanServiceTag", 'String'>;
911
+ readonly position: Prisma.FieldRef<"PlanServiceTag", 'Int'>;
912
+ readonly key_kind: Prisma.FieldRef<"PlanServiceTag", 'String'>;
913
+ readonly key_value: Prisma.FieldRef<"PlanServiceTag", 'String'>;
914
+ readonly value: Prisma.FieldRef<"PlanServiceTag", 'Json'>;
915
+ readonly created_at: Prisma.FieldRef<"PlanServiceTag", 'DateTime'>;
916
+ readonly updated_at: Prisma.FieldRef<"PlanServiceTag", 'DateTime'>;
917
+ }
918
+ /**
919
+ * PlanServiceTag findUnique
920
+ */
921
+ export type PlanServiceTagFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
922
+ /**
923
+ * Select specific fields to fetch from the PlanServiceTag
924
+ */
925
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
926
+ /**
927
+ * Omit specific fields from the PlanServiceTag
928
+ */
929
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
930
+ /**
931
+ * Choose, which related nodes to fetch as well
932
+ */
933
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
934
+ /**
935
+ * Filter, which PlanServiceTag to fetch.
936
+ */
937
+ where: Prisma.PlanServiceTagWhereUniqueInput;
938
+ };
939
+ /**
940
+ * PlanServiceTag findUniqueOrThrow
941
+ */
942
+ export type PlanServiceTagFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
943
+ /**
944
+ * Select specific fields to fetch from the PlanServiceTag
945
+ */
946
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
947
+ /**
948
+ * Omit specific fields from the PlanServiceTag
949
+ */
950
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
951
+ /**
952
+ * Choose, which related nodes to fetch as well
953
+ */
954
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
955
+ /**
956
+ * Filter, which PlanServiceTag to fetch.
957
+ */
958
+ where: Prisma.PlanServiceTagWhereUniqueInput;
959
+ };
960
+ /**
961
+ * PlanServiceTag findFirst
962
+ */
963
+ export type PlanServiceTagFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
964
+ /**
965
+ * Select specific fields to fetch from the PlanServiceTag
966
+ */
967
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
968
+ /**
969
+ * Omit specific fields from the PlanServiceTag
970
+ */
971
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
972
+ /**
973
+ * Choose, which related nodes to fetch as well
974
+ */
975
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
976
+ /**
977
+ * Filter, which PlanServiceTag to fetch.
978
+ */
979
+ where?: Prisma.PlanServiceTagWhereInput;
980
+ /**
981
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
982
+ *
983
+ * Determine the order of PlanServiceTags to fetch.
984
+ */
985
+ orderBy?: Prisma.PlanServiceTagOrderByWithRelationInput | Prisma.PlanServiceTagOrderByWithRelationInput[];
986
+ /**
987
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
988
+ *
989
+ * Sets the position for searching for PlanServiceTags.
990
+ */
991
+ cursor?: Prisma.PlanServiceTagWhereUniqueInput;
992
+ /**
993
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
994
+ *
995
+ * Take `±n` PlanServiceTags from the position of the cursor.
996
+ */
997
+ take?: number;
998
+ /**
999
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1000
+ *
1001
+ * Skip the first `n` PlanServiceTags.
1002
+ */
1003
+ skip?: number;
1004
+ /**
1005
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1006
+ *
1007
+ * Filter by unique combinations of PlanServiceTags.
1008
+ */
1009
+ distinct?: Prisma.PlanServiceTagScalarFieldEnum | Prisma.PlanServiceTagScalarFieldEnum[];
1010
+ };
1011
+ /**
1012
+ * PlanServiceTag findFirstOrThrow
1013
+ */
1014
+ export type PlanServiceTagFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1015
+ /**
1016
+ * Select specific fields to fetch from the PlanServiceTag
1017
+ */
1018
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
1019
+ /**
1020
+ * Omit specific fields from the PlanServiceTag
1021
+ */
1022
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1023
+ /**
1024
+ * Choose, which related nodes to fetch as well
1025
+ */
1026
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
1027
+ /**
1028
+ * Filter, which PlanServiceTag to fetch.
1029
+ */
1030
+ where?: Prisma.PlanServiceTagWhereInput;
1031
+ /**
1032
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1033
+ *
1034
+ * Determine the order of PlanServiceTags to fetch.
1035
+ */
1036
+ orderBy?: Prisma.PlanServiceTagOrderByWithRelationInput | Prisma.PlanServiceTagOrderByWithRelationInput[];
1037
+ /**
1038
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1039
+ *
1040
+ * Sets the position for searching for PlanServiceTags.
1041
+ */
1042
+ cursor?: Prisma.PlanServiceTagWhereUniqueInput;
1043
+ /**
1044
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1045
+ *
1046
+ * Take `±n` PlanServiceTags from the position of the cursor.
1047
+ */
1048
+ take?: number;
1049
+ /**
1050
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1051
+ *
1052
+ * Skip the first `n` PlanServiceTags.
1053
+ */
1054
+ skip?: number;
1055
+ /**
1056
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1057
+ *
1058
+ * Filter by unique combinations of PlanServiceTags.
1059
+ */
1060
+ distinct?: Prisma.PlanServiceTagScalarFieldEnum | Prisma.PlanServiceTagScalarFieldEnum[];
1061
+ };
1062
+ /**
1063
+ * PlanServiceTag findMany
1064
+ */
1065
+ export type PlanServiceTagFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1066
+ /**
1067
+ * Select specific fields to fetch from the PlanServiceTag
1068
+ */
1069
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
1070
+ /**
1071
+ * Omit specific fields from the PlanServiceTag
1072
+ */
1073
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1074
+ /**
1075
+ * Choose, which related nodes to fetch as well
1076
+ */
1077
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
1078
+ /**
1079
+ * Filter, which PlanServiceTags to fetch.
1080
+ */
1081
+ where?: Prisma.PlanServiceTagWhereInput;
1082
+ /**
1083
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1084
+ *
1085
+ * Determine the order of PlanServiceTags to fetch.
1086
+ */
1087
+ orderBy?: Prisma.PlanServiceTagOrderByWithRelationInput | Prisma.PlanServiceTagOrderByWithRelationInput[];
1088
+ /**
1089
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1090
+ *
1091
+ * Sets the position for listing PlanServiceTags.
1092
+ */
1093
+ cursor?: Prisma.PlanServiceTagWhereUniqueInput;
1094
+ /**
1095
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1096
+ *
1097
+ * Take `±n` PlanServiceTags from the position of the cursor.
1098
+ */
1099
+ take?: number;
1100
+ /**
1101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1102
+ *
1103
+ * Skip the first `n` PlanServiceTags.
1104
+ */
1105
+ skip?: number;
1106
+ /**
1107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1108
+ *
1109
+ * Filter by unique combinations of PlanServiceTags.
1110
+ */
1111
+ distinct?: Prisma.PlanServiceTagScalarFieldEnum | Prisma.PlanServiceTagScalarFieldEnum[];
1112
+ };
1113
+ /**
1114
+ * PlanServiceTag create
1115
+ */
1116
+ export type PlanServiceTagCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1117
+ /**
1118
+ * Select specific fields to fetch from the PlanServiceTag
1119
+ */
1120
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
1121
+ /**
1122
+ * Omit specific fields from the PlanServiceTag
1123
+ */
1124
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1125
+ /**
1126
+ * Choose, which related nodes to fetch as well
1127
+ */
1128
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
1129
+ /**
1130
+ * The data needed to create a PlanServiceTag.
1131
+ */
1132
+ data: Prisma.XOR<Prisma.PlanServiceTagCreateInput, Prisma.PlanServiceTagUncheckedCreateInput>;
1133
+ };
1134
+ /**
1135
+ * PlanServiceTag createMany
1136
+ */
1137
+ export type PlanServiceTagCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1138
+ /**
1139
+ * The data used to create many PlanServiceTags.
1140
+ */
1141
+ data: Prisma.PlanServiceTagCreateManyInput | Prisma.PlanServiceTagCreateManyInput[];
1142
+ };
1143
+ /**
1144
+ * PlanServiceTag createManyAndReturn
1145
+ */
1146
+ export type PlanServiceTagCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1147
+ /**
1148
+ * Select specific fields to fetch from the PlanServiceTag
1149
+ */
1150
+ select?: Prisma.PlanServiceTagSelectCreateManyAndReturn<ExtArgs> | null;
1151
+ /**
1152
+ * Omit specific fields from the PlanServiceTag
1153
+ */
1154
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1155
+ /**
1156
+ * The data used to create many PlanServiceTags.
1157
+ */
1158
+ data: Prisma.PlanServiceTagCreateManyInput | Prisma.PlanServiceTagCreateManyInput[];
1159
+ /**
1160
+ * Choose, which related nodes to fetch as well
1161
+ */
1162
+ include?: Prisma.PlanServiceTagIncludeCreateManyAndReturn<ExtArgs> | null;
1163
+ };
1164
+ /**
1165
+ * PlanServiceTag update
1166
+ */
1167
+ export type PlanServiceTagUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1168
+ /**
1169
+ * Select specific fields to fetch from the PlanServiceTag
1170
+ */
1171
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
1172
+ /**
1173
+ * Omit specific fields from the PlanServiceTag
1174
+ */
1175
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1176
+ /**
1177
+ * Choose, which related nodes to fetch as well
1178
+ */
1179
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
1180
+ /**
1181
+ * The data needed to update a PlanServiceTag.
1182
+ */
1183
+ data: Prisma.XOR<Prisma.PlanServiceTagUpdateInput, Prisma.PlanServiceTagUncheckedUpdateInput>;
1184
+ /**
1185
+ * Choose, which PlanServiceTag to update.
1186
+ */
1187
+ where: Prisma.PlanServiceTagWhereUniqueInput;
1188
+ };
1189
+ /**
1190
+ * PlanServiceTag updateMany
1191
+ */
1192
+ export type PlanServiceTagUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1193
+ /**
1194
+ * The data used to update PlanServiceTags.
1195
+ */
1196
+ data: Prisma.XOR<Prisma.PlanServiceTagUpdateManyMutationInput, Prisma.PlanServiceTagUncheckedUpdateManyInput>;
1197
+ /**
1198
+ * Filter which PlanServiceTags to update
1199
+ */
1200
+ where?: Prisma.PlanServiceTagWhereInput;
1201
+ /**
1202
+ * Limit how many PlanServiceTags to update.
1203
+ */
1204
+ limit?: number;
1205
+ };
1206
+ /**
1207
+ * PlanServiceTag updateManyAndReturn
1208
+ */
1209
+ export type PlanServiceTagUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1210
+ /**
1211
+ * Select specific fields to fetch from the PlanServiceTag
1212
+ */
1213
+ select?: Prisma.PlanServiceTagSelectUpdateManyAndReturn<ExtArgs> | null;
1214
+ /**
1215
+ * Omit specific fields from the PlanServiceTag
1216
+ */
1217
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1218
+ /**
1219
+ * The data used to update PlanServiceTags.
1220
+ */
1221
+ data: Prisma.XOR<Prisma.PlanServiceTagUpdateManyMutationInput, Prisma.PlanServiceTagUncheckedUpdateManyInput>;
1222
+ /**
1223
+ * Filter which PlanServiceTags to update
1224
+ */
1225
+ where?: Prisma.PlanServiceTagWhereInput;
1226
+ /**
1227
+ * Limit how many PlanServiceTags to update.
1228
+ */
1229
+ limit?: number;
1230
+ /**
1231
+ * Choose, which related nodes to fetch as well
1232
+ */
1233
+ include?: Prisma.PlanServiceTagIncludeUpdateManyAndReturn<ExtArgs> | null;
1234
+ };
1235
+ /**
1236
+ * PlanServiceTag upsert
1237
+ */
1238
+ export type PlanServiceTagUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1239
+ /**
1240
+ * Select specific fields to fetch from the PlanServiceTag
1241
+ */
1242
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
1243
+ /**
1244
+ * Omit specific fields from the PlanServiceTag
1245
+ */
1246
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1247
+ /**
1248
+ * Choose, which related nodes to fetch as well
1249
+ */
1250
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
1251
+ /**
1252
+ * The filter to search for the PlanServiceTag to update in case it exists.
1253
+ */
1254
+ where: Prisma.PlanServiceTagWhereUniqueInput;
1255
+ /**
1256
+ * In case the PlanServiceTag found by the `where` argument doesn't exist, create a new PlanServiceTag with this data.
1257
+ */
1258
+ create: Prisma.XOR<Prisma.PlanServiceTagCreateInput, Prisma.PlanServiceTagUncheckedCreateInput>;
1259
+ /**
1260
+ * In case the PlanServiceTag was found with the provided `where` argument, update it with this data.
1261
+ */
1262
+ update: Prisma.XOR<Prisma.PlanServiceTagUpdateInput, Prisma.PlanServiceTagUncheckedUpdateInput>;
1263
+ };
1264
+ /**
1265
+ * PlanServiceTag delete
1266
+ */
1267
+ export type PlanServiceTagDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
+ /**
1269
+ * Select specific fields to fetch from the PlanServiceTag
1270
+ */
1271
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
1272
+ /**
1273
+ * Omit specific fields from the PlanServiceTag
1274
+ */
1275
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1276
+ /**
1277
+ * Choose, which related nodes to fetch as well
1278
+ */
1279
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
1280
+ /**
1281
+ * Filter which PlanServiceTag to delete.
1282
+ */
1283
+ where: Prisma.PlanServiceTagWhereUniqueInput;
1284
+ };
1285
+ /**
1286
+ * PlanServiceTag deleteMany
1287
+ */
1288
+ export type PlanServiceTagDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1289
+ /**
1290
+ * Filter which PlanServiceTags to delete
1291
+ */
1292
+ where?: Prisma.PlanServiceTagWhereInput;
1293
+ /**
1294
+ * Limit how many PlanServiceTags to delete.
1295
+ */
1296
+ limit?: number;
1297
+ };
1298
+ /**
1299
+ * PlanServiceTag without action
1300
+ */
1301
+ export type PlanServiceTagDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1302
+ /**
1303
+ * Select specific fields to fetch from the PlanServiceTag
1304
+ */
1305
+ select?: Prisma.PlanServiceTagSelect<ExtArgs> | null;
1306
+ /**
1307
+ * Omit specific fields from the PlanServiceTag
1308
+ */
1309
+ omit?: Prisma.PlanServiceTagOmit<ExtArgs> | null;
1310
+ /**
1311
+ * Choose, which related nodes to fetch as well
1312
+ */
1313
+ include?: Prisma.PlanServiceTagInclude<ExtArgs> | null;
1314
+ };
1315
+ //# sourceMappingURL=PlanServiceTag.d.ts.map