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