@aeolus-fleet/core 0.40.0 → 0.42.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 (187) hide show
  1. package/README.md +5 -5
  2. package/dist/adapters/crypto/account-token-signatures.js +1 -1
  3. package/dist/adapters/crypto/account-token-signatures.js.map +1 -1
  4. package/dist/adapters/http/plugin-calls.d.ts +14 -0
  5. package/dist/adapters/http/plugin-calls.js +46 -0
  6. package/dist/adapters/http/plugin-calls.js.map +1 -0
  7. package/dist/adapters/http/plugin-targets.d.ts +8 -0
  8. package/dist/adapters/http/plugin-targets.js +27 -0
  9. package/dist/adapters/http/plugin-targets.js.map +1 -0
  10. package/dist/adapters/prisma/delivery-notices.d.ts +2 -2
  11. package/dist/adapters/prisma/delivery-notices.js +2 -2
  12. package/dist/adapters/prisma/event-log.d.ts +2 -1
  13. package/dist/adapters/prisma/event-log.js +7 -2
  14. package/dist/adapters/prisma/event-log.js.map +1 -1
  15. package/dist/adapters/prisma/fleet-event-wakeups.d.ts +1 -7
  16. package/dist/adapters/prisma/fleet-event-wakeups.js +0 -19
  17. package/dist/adapters/prisma/fleet-event-wakeups.js.map +1 -1
  18. package/dist/adapters/prisma/fleet-journeys.d.ts +49 -0
  19. package/dist/adapters/prisma/fleet-journeys.js +112 -0
  20. package/dist/adapters/prisma/fleet-journeys.js.map +1 -0
  21. package/dist/adapters/prisma/generated/browser.d.ts +17 -1
  22. package/dist/adapters/prisma/generated/client.d.ts +19 -3
  23. package/dist/adapters/prisma/generated/client.js +2 -2
  24. package/dist/adapters/prisma/generated/commonInputTypes.d.ts +236 -214
  25. package/dist/adapters/prisma/generated/enums.d.ts +1 -0
  26. package/dist/adapters/prisma/generated/enums.js +2 -1
  27. package/dist/adapters/prisma/generated/enums.js.map +1 -1
  28. package/dist/adapters/prisma/generated/internal/class.d.ts +40 -7
  29. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  30. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  31. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +266 -16
  32. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +26 -4
  33. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  34. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +30 -5
  35. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +26 -4
  36. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  37. package/dist/adapters/prisma/generated/models/Delivery.d.ts +146 -9
  38. package/dist/adapters/prisma/generated/models/Fleet.d.ts +513 -29
  39. package/dist/adapters/prisma/generated/models/FleetJourney.d.ts +1212 -0
  40. package/dist/adapters/prisma/generated/models/FleetJourney.js +2 -0
  41. package/dist/adapters/prisma/generated/models/FleetJourney.js.map +1 -0
  42. package/dist/adapters/prisma/generated/models/InstallationJourneyChange.d.ts +982 -0
  43. package/dist/adapters/prisma/generated/models/InstallationJourneyChange.js +2 -0
  44. package/dist/adapters/prisma/generated/models/InstallationJourneyChange.js.map +1 -0
  45. package/dist/adapters/prisma/generated/models/InstallationJourneyClock.d.ts +964 -0
  46. package/dist/adapters/prisma/generated/models/InstallationJourneyClock.js +2 -0
  47. package/dist/adapters/prisma/generated/models/InstallationJourneyClock.js.map +1 -0
  48. package/dist/adapters/prisma/generated/models.d.ts +3 -0
  49. package/dist/adapters/prisma/installation.js +10 -3
  50. package/dist/adapters/prisma/installation.js.map +1 -1
  51. package/dist/adapters/prisma/journey-source-facts.d.ts +7 -0
  52. package/dist/adapters/prisma/journey-source-facts.js +76 -0
  53. package/dist/adapters/prisma/journey-source-facts.js.map +1 -0
  54. package/dist/adapters/prisma/receiver-wakeups.d.ts +11 -17
  55. package/dist/adapters/prisma/receiver-wakeups.js +0 -60
  56. package/dist/adapters/prisma/receiver-wakeups.js.map +1 -1
  57. package/dist/adapters/prisma/registry.js +5 -3
  58. package/dist/adapters/prisma/registry.js.map +1 -1
  59. package/dist/adapters/prisma/unit-of-work.d.ts +7 -4
  60. package/dist/adapters/prisma/unit-of-work.js +13 -10
  61. package/dist/adapters/prisma/unit-of-work.js.map +1 -1
  62. package/dist/adapters/telemetry/calls.d.ts +0 -8
  63. package/dist/adapters/telemetry/calls.js +3 -39
  64. package/dist/adapters/telemetry/calls.js.map +1 -1
  65. package/dist/adapters/trpc/console.d.ts +5 -1
  66. package/dist/adapters/trpc/context.d.ts +4 -0
  67. package/dist/adapters/trpc/fleet.d.ts +41 -33
  68. package/dist/adapters/trpc/fleet.js +20 -5
  69. package/dist/adapters/trpc/fleet.js.map +1 -1
  70. package/dist/adapters/trpc/installation.d.ts +132 -0
  71. package/dist/adapters/trpc/installation.js +34 -1
  72. package/dist/adapters/trpc/installation.js.map +1 -1
  73. package/dist/adapters/trpc/router.d.ts +185 -46
  74. package/dist/adapters/trpc/ship-contract.js +1 -0
  75. package/dist/adapters/trpc/ship-contract.js.map +1 -1
  76. package/dist/adapters/trpc/ship-protocol.js +1 -1
  77. package/dist/adapters/trpc/ship-protocol.js.map +1 -1
  78. package/dist/adapters/trpc/ship.d.ts +16 -20
  79. package/dist/adapters/trpc/ship.js +11 -14
  80. package/dist/adapters/trpc/ship.js.map +1 -1
  81. package/dist/adapters/trpc/trpc.d.ts +9 -0
  82. package/dist/adapters/trpc/trpc.js +13 -3
  83. package/dist/adapters/trpc/trpc.js.map +1 -1
  84. package/dist/app.d.ts +3 -3
  85. package/dist/app.js +10 -12
  86. package/dist/app.js.map +1 -1
  87. package/dist/config.d.ts +2 -0
  88. package/dist/config.js +11 -0
  89. package/dist/config.js.map +1 -1
  90. package/dist/domain/identity/authenticate-installation.d.ts +1 -1
  91. package/dist/domain/identity/authenticate-installation.js +2 -2
  92. package/dist/domain/identity/authenticate-installation.js.map +1 -1
  93. package/dist/domain/identity/notice.js +1 -0
  94. package/dist/domain/identity/notice.js.map +1 -1
  95. package/dist/domain/messaging/check-inbox.d.ts +6 -23
  96. package/dist/domain/messaging/check-inbox.js +14 -59
  97. package/dist/domain/messaging/check-inbox.js.map +1 -1
  98. package/dist/domain/messaging/journey-message.d.ts +18 -0
  99. package/dist/domain/messaging/journey-message.js +10 -0
  100. package/dist/domain/messaging/journey-message.js.map +1 -0
  101. package/dist/domain/messaging/message.d.ts +1 -1
  102. package/dist/domain/messaging/message.js +2 -2
  103. package/dist/domain/messaging/message.js.map +1 -1
  104. package/dist/domain/messaging/ports.d.ts +1 -16
  105. package/dist/domain/messaging/public.d.ts +1 -0
  106. package/dist/domain/messaging/public.js +1 -0
  107. package/dist/domain/messaging/public.js.map +1 -1
  108. package/dist/domain/messaging/push-receive-deliveries.d.ts +4 -6
  109. package/dist/domain/messaging/push-receive-deliveries.js +5 -7
  110. package/dist/domain/messaging/push-receive-deliveries.js.map +1 -1
  111. package/dist/domain/messaging/receive-deliveries.d.ts +4 -34
  112. package/dist/domain/messaging/receive-deliveries.js +4 -46
  113. package/dist/domain/messaging/receive-deliveries.js.map +1 -1
  114. package/dist/domain/messaging/receive-reply.d.ts +5 -8
  115. package/dist/domain/messaging/receive-reply.js +10 -9
  116. package/dist/domain/messaging/receive-reply.js.map +1 -1
  117. package/dist/domain/registry/call-plugin.d.ts +26 -0
  118. package/dist/domain/registry/call-plugin.js +46 -0
  119. package/dist/domain/registry/call-plugin.js.map +1 -0
  120. package/dist/domain/registry/check-reach.d.ts +1 -1
  121. package/dist/domain/registry/check-reach.js +2 -2
  122. package/dist/domain/registry/check-reach.js.map +1 -1
  123. package/dist/domain/registry/expectations.js +1 -0
  124. package/dist/domain/registry/expectations.js.map +1 -1
  125. package/dist/domain/registry/installation-fleet.d.ts +2 -1
  126. package/dist/domain/registry/installation-fleet.js.map +1 -1
  127. package/dist/domain/registry/network-settings.d.ts +5 -2
  128. package/dist/domain/registry/network-settings.js +2 -2
  129. package/dist/domain/registry/network-settings.js.map +1 -1
  130. package/dist/domain/registry/plugin-calls.d.ts +11 -0
  131. package/dist/domain/registry/plugin-calls.js +2 -0
  132. package/dist/domain/registry/plugin-calls.js.map +1 -0
  133. package/dist/domain/registry/ports.d.ts +4 -3
  134. package/dist/domain/registry/read-installation-journeys.d.ts +90 -0
  135. package/dist/domain/registry/read-installation-journeys.js +20 -0
  136. package/dist/domain/registry/read-installation-journeys.js.map +1 -0
  137. package/dist/domain/registry/read-reach.js +1 -1
  138. package/dist/domain/registry/read-reach.js.map +1 -1
  139. package/dist/domain/registry/ship-order.js +1 -1
  140. package/dist/domain/registry/ship-order.js.map +1 -1
  141. package/dist/domain/registry/verified-facts.js +1 -0
  142. package/dist/domain/registry/verified-facts.js.map +1 -1
  143. package/dist/domain/shared/caller.d.ts +4 -0
  144. package/dist/domain/shared/caller.js +5 -0
  145. package/dist/domain/shared/caller.js.map +1 -1
  146. package/dist/domain/shared/errors.d.ts +1 -1
  147. package/dist/domain/shared/errors.js.map +1 -1
  148. package/dist/domain/shared/events.d.ts +0 -13
  149. package/dist/domain/shared/expire-journey-activity.d.ts +18 -0
  150. package/dist/domain/shared/expire-journey-activity.js +17 -0
  151. package/dist/domain/shared/expire-journey-activity.js.map +1 -0
  152. package/dist/domain/shared/fleet-journey.d.ts +35 -0
  153. package/dist/domain/shared/fleet-journey.js +83 -0
  154. package/dist/domain/shared/fleet-journey.js.map +1 -0
  155. package/dist/domain/shared/follow-fleet.d.ts +9 -15
  156. package/dist/domain/shared/follow-fleet.js +16 -55
  157. package/dist/domain/shared/follow-fleet.js.map +1 -1
  158. package/dist/domain/shared/read-fleet-limits.d.ts +2 -2
  159. package/dist/domain/shared/read-fleet-limits.js +1 -1
  160. package/dist/domain/shared/record-fleet-journey.d.ts +17 -0
  161. package/dist/domain/shared/record-fleet-journey.js +8 -0
  162. package/dist/domain/shared/record-fleet-journey.js.map +1 -0
  163. package/dist/maintenance-pass.d.ts +1 -1
  164. package/dist/maintenance-pass.js +1 -0
  165. package/dist/maintenance-pass.js.map +1 -1
  166. package/dist/start.d.ts +1 -1
  167. package/dist/start.js +2 -1
  168. package/dist/start.js.map +1 -1
  169. package/dist/testing/container-sweeper.d.ts +47 -0
  170. package/dist/testing/container-sweeper.js +101 -1
  171. package/dist/testing/container-sweeper.js.map +1 -1
  172. package/dist/testing/postgres-container.js +2 -2
  173. package/dist/testing/postgres-container.js.map +1 -1
  174. package/dist/testing/postgres-global-setup.d.ts +1 -1
  175. package/dist/testing/postgres-global-setup.js +3 -2
  176. package/dist/testing/postgres-global-setup.js.map +1 -1
  177. package/dist/wiring.d.ts +12 -10
  178. package/dist/wiring.js +19 -18
  179. package/dist/wiring.js.map +1 -1
  180. package/package.json +2 -2
  181. package/src/adapters/prisma/migrations/20261115180000_trierarch_kind/migration.sql +2 -0
  182. package/src/adapters/prisma/migrations/20261115180100_trierarch_kind_backfill/migration.sql +38 -0
  183. package/src/adapters/prisma/migrations/20261117010000_fleet_journeys/migration.sql +37 -0
  184. package/src/adapters/prisma/schema.prisma +55 -19
  185. package/dist/domain/messaging/inbox-wait.d.ts +0 -8
  186. package/dist/domain/messaging/inbox-wait.js +0 -19
  187. package/dist/domain/messaging/inbox-wait.js.map +0 -1
@@ -0,0 +1,982 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model InstallationJourneyChange
5
+ *
6
+ */
7
+ export type InstallationJourneyChangeModel = runtime.Types.Result.DefaultSelection<Prisma.$InstallationJourneyChangePayload>;
8
+ export type AggregateInstallationJourneyChange = {
9
+ _count: InstallationJourneyChangeCountAggregateOutputType | null;
10
+ _avg: InstallationJourneyChangeAvgAggregateOutputType | null;
11
+ _sum: InstallationJourneyChangeSumAggregateOutputType | null;
12
+ _min: InstallationJourneyChangeMinAggregateOutputType | null;
13
+ _max: InstallationJourneyChangeMaxAggregateOutputType | null;
14
+ };
15
+ export type InstallationJourneyChangeAvgAggregateOutputType = {
16
+ seq: number | null;
17
+ };
18
+ export type InstallationJourneyChangeSumAggregateOutputType = {
19
+ seq: bigint | null;
20
+ };
21
+ export type InstallationJourneyChangeMinAggregateOutputType = {
22
+ resourceId: string | null;
23
+ seq: bigint | null;
24
+ isDeleted: boolean | null;
25
+ };
26
+ export type InstallationJourneyChangeMaxAggregateOutputType = {
27
+ resourceId: string | null;
28
+ seq: bigint | null;
29
+ isDeleted: boolean | null;
30
+ };
31
+ export type InstallationJourneyChangeCountAggregateOutputType = {
32
+ resourceId: number;
33
+ seq: number;
34
+ isDeleted: number;
35
+ _all: number;
36
+ };
37
+ export type InstallationJourneyChangeAvgAggregateInputType = {
38
+ seq?: true;
39
+ };
40
+ export type InstallationJourneyChangeSumAggregateInputType = {
41
+ seq?: true;
42
+ };
43
+ export type InstallationJourneyChangeMinAggregateInputType = {
44
+ resourceId?: true;
45
+ seq?: true;
46
+ isDeleted?: true;
47
+ };
48
+ export type InstallationJourneyChangeMaxAggregateInputType = {
49
+ resourceId?: true;
50
+ seq?: true;
51
+ isDeleted?: true;
52
+ };
53
+ export type InstallationJourneyChangeCountAggregateInputType = {
54
+ resourceId?: true;
55
+ seq?: true;
56
+ isDeleted?: true;
57
+ _all?: true;
58
+ };
59
+ export type InstallationJourneyChangeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
60
+ /**
61
+ * Filter which InstallationJourneyChange to aggregate.
62
+ */
63
+ where?: Prisma.InstallationJourneyChangeWhereInput;
64
+ /**
65
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
66
+ *
67
+ * Determine the order of InstallationJourneyChanges to fetch.
68
+ */
69
+ orderBy?: Prisma.InstallationJourneyChangeOrderByWithRelationInput | Prisma.InstallationJourneyChangeOrderByWithRelationInput[];
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.InstallationJourneyChangeWhereUniqueInput;
76
+ /**
77
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
78
+ *
79
+ * Take `±n` InstallationJourneyChanges 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` InstallationJourneyChanges.
86
+ */
87
+ skip?: number;
88
+ /**
89
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
90
+ *
91
+ * Count returned InstallationJourneyChanges
92
+ **/
93
+ _count?: true | InstallationJourneyChangeCountAggregateInputType;
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?: InstallationJourneyChangeAvgAggregateInputType;
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?: InstallationJourneyChangeSumAggregateInputType;
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?: InstallationJourneyChangeMinAggregateInputType;
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?: InstallationJourneyChangeMaxAggregateInputType;
118
+ };
119
+ export type GetInstallationJourneyChangeAggregateType<T extends InstallationJourneyChangeAggregateArgs> = {
120
+ [P in keyof T & keyof AggregateInstallationJourneyChange]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateInstallationJourneyChange[P]> : Prisma.GetScalarType<T[P], AggregateInstallationJourneyChange[P]>;
121
+ };
122
+ export type InstallationJourneyChangeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
123
+ where?: Prisma.InstallationJourneyChangeWhereInput;
124
+ orderBy?: Prisma.InstallationJourneyChangeOrderByWithAggregationInput | Prisma.InstallationJourneyChangeOrderByWithAggregationInput[];
125
+ by: Prisma.InstallationJourneyChangeScalarFieldEnum[] | Prisma.InstallationJourneyChangeScalarFieldEnum;
126
+ having?: Prisma.InstallationJourneyChangeScalarWhereWithAggregatesInput;
127
+ take?: number;
128
+ skip?: number;
129
+ _count?: InstallationJourneyChangeCountAggregateInputType | true;
130
+ _avg?: InstallationJourneyChangeAvgAggregateInputType;
131
+ _sum?: InstallationJourneyChangeSumAggregateInputType;
132
+ _min?: InstallationJourneyChangeMinAggregateInputType;
133
+ _max?: InstallationJourneyChangeMaxAggregateInputType;
134
+ };
135
+ export type InstallationJourneyChangeGroupByOutputType = {
136
+ resourceId: string;
137
+ seq: bigint;
138
+ isDeleted: boolean;
139
+ _count: InstallationJourneyChangeCountAggregateOutputType | null;
140
+ _avg: InstallationJourneyChangeAvgAggregateOutputType | null;
141
+ _sum: InstallationJourneyChangeSumAggregateOutputType | null;
142
+ _min: InstallationJourneyChangeMinAggregateOutputType | null;
143
+ _max: InstallationJourneyChangeMaxAggregateOutputType | null;
144
+ };
145
+ export type GetInstallationJourneyChangeGroupByPayload<T extends InstallationJourneyChangeGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<InstallationJourneyChangeGroupByOutputType, T['by']> & {
146
+ [P in ((keyof T) & (keyof InstallationJourneyChangeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], InstallationJourneyChangeGroupByOutputType[P]> : Prisma.GetScalarType<T[P], InstallationJourneyChangeGroupByOutputType[P]>;
147
+ }>>;
148
+ export type InstallationJourneyChangeWhereInput = {
149
+ AND?: Prisma.InstallationJourneyChangeWhereInput | Prisma.InstallationJourneyChangeWhereInput[];
150
+ OR?: Prisma.InstallationJourneyChangeWhereInput[];
151
+ NOT?: Prisma.InstallationJourneyChangeWhereInput | Prisma.InstallationJourneyChangeWhereInput[];
152
+ resourceId?: Prisma.StringFilter<"InstallationJourneyChange"> | string;
153
+ seq?: Prisma.BigIntFilter<"InstallationJourneyChange"> | bigint | number;
154
+ isDeleted?: Prisma.BoolFilter<"InstallationJourneyChange"> | boolean;
155
+ };
156
+ export type InstallationJourneyChangeOrderByWithRelationInput = {
157
+ resourceId?: Prisma.SortOrder;
158
+ seq?: Prisma.SortOrder;
159
+ isDeleted?: Prisma.SortOrder;
160
+ };
161
+ export type InstallationJourneyChangeWhereUniqueInput = Prisma.AtLeast<{
162
+ resourceId?: string;
163
+ seq?: bigint | number;
164
+ AND?: Prisma.InstallationJourneyChangeWhereInput | Prisma.InstallationJourneyChangeWhereInput[];
165
+ OR?: Prisma.InstallationJourneyChangeWhereInput[];
166
+ NOT?: Prisma.InstallationJourneyChangeWhereInput | Prisma.InstallationJourneyChangeWhereInput[];
167
+ isDeleted?: Prisma.BoolFilter<"InstallationJourneyChange"> | boolean;
168
+ }, "resourceId" | "seq">;
169
+ export type InstallationJourneyChangeOrderByWithAggregationInput = {
170
+ resourceId?: Prisma.SortOrder;
171
+ seq?: Prisma.SortOrder;
172
+ isDeleted?: Prisma.SortOrder;
173
+ _count?: Prisma.InstallationJourneyChangeCountOrderByAggregateInput;
174
+ _avg?: Prisma.InstallationJourneyChangeAvgOrderByAggregateInput;
175
+ _max?: Prisma.InstallationJourneyChangeMaxOrderByAggregateInput;
176
+ _min?: Prisma.InstallationJourneyChangeMinOrderByAggregateInput;
177
+ _sum?: Prisma.InstallationJourneyChangeSumOrderByAggregateInput;
178
+ };
179
+ export type InstallationJourneyChangeScalarWhereWithAggregatesInput = {
180
+ AND?: Prisma.InstallationJourneyChangeScalarWhereWithAggregatesInput | Prisma.InstallationJourneyChangeScalarWhereWithAggregatesInput[];
181
+ OR?: Prisma.InstallationJourneyChangeScalarWhereWithAggregatesInput[];
182
+ NOT?: Prisma.InstallationJourneyChangeScalarWhereWithAggregatesInput | Prisma.InstallationJourneyChangeScalarWhereWithAggregatesInput[];
183
+ resourceId?: Prisma.StringWithAggregatesFilter<"InstallationJourneyChange"> | string;
184
+ seq?: Prisma.BigIntWithAggregatesFilter<"InstallationJourneyChange"> | bigint | number;
185
+ isDeleted?: Prisma.BoolWithAggregatesFilter<"InstallationJourneyChange"> | boolean;
186
+ };
187
+ export type InstallationJourneyChangeCreateInput = {
188
+ resourceId: string;
189
+ seq: bigint | number;
190
+ isDeleted: boolean;
191
+ };
192
+ export type InstallationJourneyChangeUncheckedCreateInput = {
193
+ resourceId: string;
194
+ seq: bigint | number;
195
+ isDeleted: boolean;
196
+ };
197
+ export type InstallationJourneyChangeUpdateInput = {
198
+ resourceId?: Prisma.StringFieldUpdateOperationsInput | string;
199
+ seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
200
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean;
201
+ };
202
+ export type InstallationJourneyChangeUncheckedUpdateInput = {
203
+ resourceId?: Prisma.StringFieldUpdateOperationsInput | string;
204
+ seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
205
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean;
206
+ };
207
+ export type InstallationJourneyChangeCreateManyInput = {
208
+ resourceId: string;
209
+ seq: bigint | number;
210
+ isDeleted: boolean;
211
+ };
212
+ export type InstallationJourneyChangeUpdateManyMutationInput = {
213
+ resourceId?: Prisma.StringFieldUpdateOperationsInput | string;
214
+ seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
215
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean;
216
+ };
217
+ export type InstallationJourneyChangeUncheckedUpdateManyInput = {
218
+ resourceId?: Prisma.StringFieldUpdateOperationsInput | string;
219
+ seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
220
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean;
221
+ };
222
+ export type InstallationJourneyChangeCountOrderByAggregateInput = {
223
+ resourceId?: Prisma.SortOrder;
224
+ seq?: Prisma.SortOrder;
225
+ isDeleted?: Prisma.SortOrder;
226
+ };
227
+ export type InstallationJourneyChangeAvgOrderByAggregateInput = {
228
+ seq?: Prisma.SortOrder;
229
+ };
230
+ export type InstallationJourneyChangeMaxOrderByAggregateInput = {
231
+ resourceId?: Prisma.SortOrder;
232
+ seq?: Prisma.SortOrder;
233
+ isDeleted?: Prisma.SortOrder;
234
+ };
235
+ export type InstallationJourneyChangeMinOrderByAggregateInput = {
236
+ resourceId?: Prisma.SortOrder;
237
+ seq?: Prisma.SortOrder;
238
+ isDeleted?: Prisma.SortOrder;
239
+ };
240
+ export type InstallationJourneyChangeSumOrderByAggregateInput = {
241
+ seq?: Prisma.SortOrder;
242
+ };
243
+ export type BoolFieldUpdateOperationsInput = {
244
+ set?: boolean;
245
+ };
246
+ export type InstallationJourneyChangeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
247
+ resourceId?: boolean;
248
+ seq?: boolean;
249
+ isDeleted?: boolean;
250
+ }, ExtArgs["result"]["installationJourneyChange"]>;
251
+ export type InstallationJourneyChangeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
252
+ resourceId?: boolean;
253
+ seq?: boolean;
254
+ isDeleted?: boolean;
255
+ }, ExtArgs["result"]["installationJourneyChange"]>;
256
+ export type InstallationJourneyChangeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
257
+ resourceId?: boolean;
258
+ seq?: boolean;
259
+ isDeleted?: boolean;
260
+ }, ExtArgs["result"]["installationJourneyChange"]>;
261
+ export type InstallationJourneyChangeSelectScalar = {
262
+ resourceId?: boolean;
263
+ seq?: boolean;
264
+ isDeleted?: boolean;
265
+ };
266
+ export type InstallationJourneyChangeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"resourceId" | "seq" | "isDeleted", ExtArgs["result"]["installationJourneyChange"]>;
267
+ export type $InstallationJourneyChangePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
268
+ name: "InstallationJourneyChange";
269
+ objects: {};
270
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
271
+ resourceId: string;
272
+ seq: bigint;
273
+ isDeleted: boolean;
274
+ }, ExtArgs["result"]["installationJourneyChange"]>;
275
+ composites: {};
276
+ };
277
+ export type InstallationJourneyChangeGetPayload<S extends boolean | null | undefined | InstallationJourneyChangeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload, S>;
278
+ export type InstallationJourneyChangeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<InstallationJourneyChangeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
279
+ select?: InstallationJourneyChangeCountAggregateInputType | true;
280
+ };
281
+ export interface InstallationJourneyChangeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
282
+ [K: symbol]: {
283
+ types: Prisma.TypeMap<ExtArgs>['model']['InstallationJourneyChange'];
284
+ meta: {
285
+ name: 'InstallationJourneyChange';
286
+ };
287
+ };
288
+ /**
289
+ * Find zero or one InstallationJourneyChange that matches the filter.
290
+ * @param {InstallationJourneyChangeFindUniqueArgs} args - Arguments to find a InstallationJourneyChange
291
+ * @example
292
+ * // Get one InstallationJourneyChange
293
+ * const installationJourneyChange = await prisma.installationJourneyChange.findUnique({
294
+ * where: {
295
+ * // ... provide filter here
296
+ * }
297
+ * })
298
+ */
299
+ findUnique<T extends InstallationJourneyChangeFindUniqueArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
300
+ /**
301
+ * Find one InstallationJourneyChange that matches the filter or throw an error with `error.code='P2025'`
302
+ * if no matches were found.
303
+ * @param {InstallationJourneyChangeFindUniqueOrThrowArgs} args - Arguments to find a InstallationJourneyChange
304
+ * @example
305
+ * // Get one InstallationJourneyChange
306
+ * const installationJourneyChange = await prisma.installationJourneyChange.findUniqueOrThrow({
307
+ * where: {
308
+ * // ... provide filter here
309
+ * }
310
+ * })
311
+ */
312
+ findUniqueOrThrow<T extends InstallationJourneyChangeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
313
+ /**
314
+ * Find the first InstallationJourneyChange that matches the filter.
315
+ * Note, that providing `undefined` is treated as the value not being there.
316
+ * Read more here: https://pris.ly/d/null-undefined
317
+ * @param {InstallationJourneyChangeFindFirstArgs} args - Arguments to find a InstallationJourneyChange
318
+ * @example
319
+ * // Get one InstallationJourneyChange
320
+ * const installationJourneyChange = await prisma.installationJourneyChange.findFirst({
321
+ * where: {
322
+ * // ... provide filter here
323
+ * }
324
+ * })
325
+ */
326
+ findFirst<T extends InstallationJourneyChangeFindFirstArgs>(args?: Prisma.SelectSubset<T, InstallationJourneyChangeFindFirstArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
327
+ /**
328
+ * Find the first InstallationJourneyChange that matches the filter or
329
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
330
+ * Note, that providing `undefined` is treated as the value not being there.
331
+ * Read more here: https://pris.ly/d/null-undefined
332
+ * @param {InstallationJourneyChangeFindFirstOrThrowArgs} args - Arguments to find a InstallationJourneyChange
333
+ * @example
334
+ * // Get one InstallationJourneyChange
335
+ * const installationJourneyChange = await prisma.installationJourneyChange.findFirstOrThrow({
336
+ * where: {
337
+ * // ... provide filter here
338
+ * }
339
+ * })
340
+ */
341
+ findFirstOrThrow<T extends InstallationJourneyChangeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InstallationJourneyChangeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
342
+ /**
343
+ * Find zero or more InstallationJourneyChanges that matches the filter.
344
+ * Note, that providing `undefined` is treated as the value not being there.
345
+ * Read more here: https://pris.ly/d/null-undefined
346
+ * @param {InstallationJourneyChangeFindManyArgs} args - Arguments to filter and select certain fields only.
347
+ * @example
348
+ * // Get all InstallationJourneyChanges
349
+ * const installationJourneyChanges = await prisma.installationJourneyChange.findMany()
350
+ *
351
+ * // Get first 10 InstallationJourneyChanges
352
+ * const installationJourneyChanges = await prisma.installationJourneyChange.findMany({ take: 10 })
353
+ *
354
+ * // Only select the `resourceId`
355
+ * const installationJourneyChangeWithResourceIdOnly = await prisma.installationJourneyChange.findMany({ select: { resourceId: true } })
356
+ *
357
+ */
358
+ findMany<T extends InstallationJourneyChangeFindManyArgs>(args?: Prisma.SelectSubset<T, InstallationJourneyChangeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
359
+ /**
360
+ * Create a InstallationJourneyChange.
361
+ * @param {InstallationJourneyChangeCreateArgs} args - Arguments to create a InstallationJourneyChange.
362
+ * @example
363
+ * // Create one InstallationJourneyChange
364
+ * const InstallationJourneyChange = await prisma.installationJourneyChange.create({
365
+ * data: {
366
+ * // ... data to create a InstallationJourneyChange
367
+ * }
368
+ * })
369
+ *
370
+ */
371
+ create<T extends InstallationJourneyChangeCreateArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeCreateArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
372
+ /**
373
+ * Create many InstallationJourneyChanges.
374
+ * @param {InstallationJourneyChangeCreateManyArgs} args - Arguments to create many InstallationJourneyChanges.
375
+ * @example
376
+ * // Create many InstallationJourneyChanges
377
+ * const installationJourneyChange = await prisma.installationJourneyChange.createMany({
378
+ * data: [
379
+ * // ... provide data here
380
+ * ]
381
+ * })
382
+ *
383
+ */
384
+ createMany<T extends InstallationJourneyChangeCreateManyArgs>(args?: Prisma.SelectSubset<T, InstallationJourneyChangeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
385
+ /**
386
+ * Create many InstallationJourneyChanges and returns the data saved in the database.
387
+ * @param {InstallationJourneyChangeCreateManyAndReturnArgs} args - Arguments to create many InstallationJourneyChanges.
388
+ * @example
389
+ * // Create many InstallationJourneyChanges
390
+ * const installationJourneyChange = await prisma.installationJourneyChange.createManyAndReturn({
391
+ * data: [
392
+ * // ... provide data here
393
+ * ]
394
+ * })
395
+ *
396
+ * // Create many InstallationJourneyChanges and only return the `resourceId`
397
+ * const installationJourneyChangeWithResourceIdOnly = await prisma.installationJourneyChange.createManyAndReturn({
398
+ * select: { resourceId: true },
399
+ * data: [
400
+ * // ... provide data here
401
+ * ]
402
+ * })
403
+ * Note, that providing `undefined` is treated as the value not being there.
404
+ * Read more here: https://pris.ly/d/null-undefined
405
+ *
406
+ */
407
+ createManyAndReturn<T extends InstallationJourneyChangeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, InstallationJourneyChangeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
408
+ /**
409
+ * Delete a InstallationJourneyChange.
410
+ * @param {InstallationJourneyChangeDeleteArgs} args - Arguments to delete one InstallationJourneyChange.
411
+ * @example
412
+ * // Delete one InstallationJourneyChange
413
+ * const InstallationJourneyChange = await prisma.installationJourneyChange.delete({
414
+ * where: {
415
+ * // ... filter to delete one InstallationJourneyChange
416
+ * }
417
+ * })
418
+ *
419
+ */
420
+ delete<T extends InstallationJourneyChangeDeleteArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeDeleteArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
421
+ /**
422
+ * Update one InstallationJourneyChange.
423
+ * @param {InstallationJourneyChangeUpdateArgs} args - Arguments to update one InstallationJourneyChange.
424
+ * @example
425
+ * // Update one InstallationJourneyChange
426
+ * const installationJourneyChange = await prisma.installationJourneyChange.update({
427
+ * where: {
428
+ * // ... provide filter here
429
+ * },
430
+ * data: {
431
+ * // ... provide data here
432
+ * }
433
+ * })
434
+ *
435
+ */
436
+ update<T extends InstallationJourneyChangeUpdateArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeUpdateArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
437
+ /**
438
+ * Delete zero or more InstallationJourneyChanges.
439
+ * @param {InstallationJourneyChangeDeleteManyArgs} args - Arguments to filter InstallationJourneyChanges to delete.
440
+ * @example
441
+ * // Delete a few InstallationJourneyChanges
442
+ * const { count } = await prisma.installationJourneyChange.deleteMany({
443
+ * where: {
444
+ * // ... provide filter here
445
+ * }
446
+ * })
447
+ *
448
+ */
449
+ deleteMany<T extends InstallationJourneyChangeDeleteManyArgs>(args?: Prisma.SelectSubset<T, InstallationJourneyChangeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
450
+ /**
451
+ * Update zero or more InstallationJourneyChanges.
452
+ * Note, that providing `undefined` is treated as the value not being there.
453
+ * Read more here: https://pris.ly/d/null-undefined
454
+ * @param {InstallationJourneyChangeUpdateManyArgs} args - Arguments to update one or more rows.
455
+ * @example
456
+ * // Update many InstallationJourneyChanges
457
+ * const installationJourneyChange = await prisma.installationJourneyChange.updateMany({
458
+ * where: {
459
+ * // ... provide filter here
460
+ * },
461
+ * data: {
462
+ * // ... provide data here
463
+ * }
464
+ * })
465
+ *
466
+ */
467
+ updateMany<T extends InstallationJourneyChangeUpdateManyArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
468
+ /**
469
+ * Update zero or more InstallationJourneyChanges and returns the data updated in the database.
470
+ * @param {InstallationJourneyChangeUpdateManyAndReturnArgs} args - Arguments to update many InstallationJourneyChanges.
471
+ * @example
472
+ * // Update many InstallationJourneyChanges
473
+ * const installationJourneyChange = await prisma.installationJourneyChange.updateManyAndReturn({
474
+ * where: {
475
+ * // ... provide filter here
476
+ * },
477
+ * data: [
478
+ * // ... provide data here
479
+ * ]
480
+ * })
481
+ *
482
+ * // Update zero or more InstallationJourneyChanges and only return the `resourceId`
483
+ * const installationJourneyChangeWithResourceIdOnly = await prisma.installationJourneyChange.updateManyAndReturn({
484
+ * select: { resourceId: true },
485
+ * where: {
486
+ * // ... provide filter here
487
+ * },
488
+ * data: [
489
+ * // ... provide data here
490
+ * ]
491
+ * })
492
+ * Note, that providing `undefined` is treated as the value not being there.
493
+ * Read more here: https://pris.ly/d/null-undefined
494
+ *
495
+ */
496
+ updateManyAndReturn<T extends InstallationJourneyChangeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
497
+ /**
498
+ * Create or update one InstallationJourneyChange.
499
+ * @param {InstallationJourneyChangeUpsertArgs} args - Arguments to update or create a InstallationJourneyChange.
500
+ * @example
501
+ * // Update or create a InstallationJourneyChange
502
+ * const installationJourneyChange = await prisma.installationJourneyChange.upsert({
503
+ * create: {
504
+ * // ... data to create a InstallationJourneyChange
505
+ * },
506
+ * update: {
507
+ * // ... in case it already exists, update
508
+ * },
509
+ * where: {
510
+ * // ... the filter for the InstallationJourneyChange we want to update
511
+ * }
512
+ * })
513
+ */
514
+ upsert<T extends InstallationJourneyChangeUpsertArgs>(args: Prisma.SelectSubset<T, InstallationJourneyChangeUpsertArgs<ExtArgs>>): Prisma.Prisma__InstallationJourneyChangeClient<runtime.Types.Result.GetResult<Prisma.$InstallationJourneyChangePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
515
+ /**
516
+ * Count the number of InstallationJourneyChanges.
517
+ * Note, that providing `undefined` is treated as the value not being there.
518
+ * Read more here: https://pris.ly/d/null-undefined
519
+ * @param {InstallationJourneyChangeCountArgs} args - Arguments to filter InstallationJourneyChanges to count.
520
+ * @example
521
+ * // Count the number of InstallationJourneyChanges
522
+ * const count = await prisma.installationJourneyChange.count({
523
+ * where: {
524
+ * // ... the filter for the InstallationJourneyChanges we want to count
525
+ * }
526
+ * })
527
+ **/
528
+ count<T extends InstallationJourneyChangeCountArgs>(args?: Prisma.Subset<T, InstallationJourneyChangeCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], InstallationJourneyChangeCountAggregateOutputType> : number>;
529
+ /**
530
+ * Allows you to perform aggregations operations on a InstallationJourneyChange.
531
+ * Note, that providing `undefined` is treated as the value not being there.
532
+ * Read more here: https://pris.ly/d/null-undefined
533
+ * @param {InstallationJourneyChangeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
534
+ * @example
535
+ * // Ordered by age ascending
536
+ * // Where email contains prisma.io
537
+ * // Limited to the 10 users
538
+ * const aggregations = await prisma.user.aggregate({
539
+ * _avg: {
540
+ * age: true,
541
+ * },
542
+ * where: {
543
+ * email: {
544
+ * contains: "prisma.io",
545
+ * },
546
+ * },
547
+ * orderBy: {
548
+ * age: "asc",
549
+ * },
550
+ * take: 10,
551
+ * })
552
+ **/
553
+ aggregate<T extends InstallationJourneyChangeAggregateArgs>(args: Prisma.Subset<T, InstallationJourneyChangeAggregateArgs>): Prisma.PrismaPromise<GetInstallationJourneyChangeAggregateType<T>>;
554
+ /**
555
+ * Group by InstallationJourneyChange.
556
+ * Note, that providing `undefined` is treated as the value not being there.
557
+ * Read more here: https://pris.ly/d/null-undefined
558
+ * @param {InstallationJourneyChangeGroupByArgs} args - Group by arguments.
559
+ * @example
560
+ * // Group by city, order by createdAt, get count
561
+ * const result = await prisma.user.groupBy({
562
+ * by: ['city', 'createdAt'],
563
+ * orderBy: {
564
+ * createdAt: true
565
+ * },
566
+ * _count: {
567
+ * _all: true
568
+ * },
569
+ * })
570
+ *
571
+ **/
572
+ groupBy<T extends InstallationJourneyChangeGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
573
+ orderBy: InstallationJourneyChangeGroupByArgs['orderBy'];
574
+ } : {
575
+ orderBy?: InstallationJourneyChangeGroupByArgs['orderBy'];
576
+ }, 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 ? {
577
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
578
+ Error,
579
+ 'Field ',
580
+ P,
581
+ ` in "having" needs to be provided in "by"`
582
+ ];
583
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
584
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
585
+ }[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 ? {} : {
586
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
587
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
588
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
589
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, InstallationJourneyChangeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInstallationJourneyChangeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
590
+ /**
591
+ * Fields of the InstallationJourneyChange model
592
+ */
593
+ readonly fields: InstallationJourneyChangeFieldRefs;
594
+ }
595
+ /**
596
+ * The delegate class that acts as a "Promise-like" for InstallationJourneyChange.
597
+ * Why is this prefixed with `Prisma__`?
598
+ * Because we want to prevent naming conflicts as mentioned in
599
+ * https://github.com/prisma/prisma-client-js/issues/707
600
+ */
601
+ export interface Prisma__InstallationJourneyChangeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
602
+ readonly [Symbol.toStringTag]: "PrismaPromise";
603
+ /**
604
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
605
+ * @param onfulfilled The callback to execute when the Promise is resolved.
606
+ * @param onrejected The callback to execute when the Promise is rejected.
607
+ * @returns A Promise for the completion of which ever callback is executed.
608
+ */
609
+ 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>;
610
+ /**
611
+ * Attaches a callback for only the rejection of the Promise.
612
+ * @param onrejected The callback to execute when the Promise is rejected.
613
+ * @returns A Promise for the completion of the callback.
614
+ */
615
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
616
+ /**
617
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
618
+ * resolved value cannot be modified from the callback.
619
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
620
+ * @returns A Promise for the completion of the callback.
621
+ */
622
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
623
+ }
624
+ /**
625
+ * Fields of the InstallationJourneyChange model
626
+ */
627
+ export interface InstallationJourneyChangeFieldRefs {
628
+ readonly resourceId: Prisma.FieldRef<"InstallationJourneyChange", 'String'>;
629
+ readonly seq: Prisma.FieldRef<"InstallationJourneyChange", 'BigInt'>;
630
+ readonly isDeleted: Prisma.FieldRef<"InstallationJourneyChange", 'Boolean'>;
631
+ }
632
+ /**
633
+ * InstallationJourneyChange findUnique
634
+ */
635
+ export type InstallationJourneyChangeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
636
+ /**
637
+ * Select specific fields to fetch from the InstallationJourneyChange
638
+ */
639
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
640
+ /**
641
+ * Omit specific fields from the InstallationJourneyChange
642
+ */
643
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
644
+ /**
645
+ * Filter, which InstallationJourneyChange to fetch.
646
+ */
647
+ where: Prisma.InstallationJourneyChangeWhereUniqueInput;
648
+ };
649
+ /**
650
+ * InstallationJourneyChange findUniqueOrThrow
651
+ */
652
+ export type InstallationJourneyChangeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
653
+ /**
654
+ * Select specific fields to fetch from the InstallationJourneyChange
655
+ */
656
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
657
+ /**
658
+ * Omit specific fields from the InstallationJourneyChange
659
+ */
660
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
661
+ /**
662
+ * Filter, which InstallationJourneyChange to fetch.
663
+ */
664
+ where: Prisma.InstallationJourneyChangeWhereUniqueInput;
665
+ };
666
+ /**
667
+ * InstallationJourneyChange findFirst
668
+ */
669
+ export type InstallationJourneyChangeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
670
+ /**
671
+ * Select specific fields to fetch from the InstallationJourneyChange
672
+ */
673
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
674
+ /**
675
+ * Omit specific fields from the InstallationJourneyChange
676
+ */
677
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
678
+ /**
679
+ * Filter, which InstallationJourneyChange to fetch.
680
+ */
681
+ where?: Prisma.InstallationJourneyChangeWhereInput;
682
+ /**
683
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
684
+ *
685
+ * Determine the order of InstallationJourneyChanges to fetch.
686
+ */
687
+ orderBy?: Prisma.InstallationJourneyChangeOrderByWithRelationInput | Prisma.InstallationJourneyChangeOrderByWithRelationInput[];
688
+ /**
689
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
690
+ *
691
+ * Sets the position for searching for InstallationJourneyChanges.
692
+ */
693
+ cursor?: Prisma.InstallationJourneyChangeWhereUniqueInput;
694
+ /**
695
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
696
+ *
697
+ * Take `±n` InstallationJourneyChanges from the position of the cursor.
698
+ */
699
+ take?: number;
700
+ /**
701
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
702
+ *
703
+ * Skip the first `n` InstallationJourneyChanges.
704
+ */
705
+ skip?: number;
706
+ /**
707
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
708
+ *
709
+ * Filter by unique combinations of InstallationJourneyChanges.
710
+ */
711
+ distinct?: Prisma.InstallationJourneyChangeScalarFieldEnum | Prisma.InstallationJourneyChangeScalarFieldEnum[];
712
+ };
713
+ /**
714
+ * InstallationJourneyChange findFirstOrThrow
715
+ */
716
+ export type InstallationJourneyChangeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
717
+ /**
718
+ * Select specific fields to fetch from the InstallationJourneyChange
719
+ */
720
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
721
+ /**
722
+ * Omit specific fields from the InstallationJourneyChange
723
+ */
724
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
725
+ /**
726
+ * Filter, which InstallationJourneyChange to fetch.
727
+ */
728
+ where?: Prisma.InstallationJourneyChangeWhereInput;
729
+ /**
730
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
731
+ *
732
+ * Determine the order of InstallationJourneyChanges to fetch.
733
+ */
734
+ orderBy?: Prisma.InstallationJourneyChangeOrderByWithRelationInput | Prisma.InstallationJourneyChangeOrderByWithRelationInput[];
735
+ /**
736
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
737
+ *
738
+ * Sets the position for searching for InstallationJourneyChanges.
739
+ */
740
+ cursor?: Prisma.InstallationJourneyChangeWhereUniqueInput;
741
+ /**
742
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
743
+ *
744
+ * Take `±n` InstallationJourneyChanges from the position of the cursor.
745
+ */
746
+ take?: number;
747
+ /**
748
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
749
+ *
750
+ * Skip the first `n` InstallationJourneyChanges.
751
+ */
752
+ skip?: number;
753
+ /**
754
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
755
+ *
756
+ * Filter by unique combinations of InstallationJourneyChanges.
757
+ */
758
+ distinct?: Prisma.InstallationJourneyChangeScalarFieldEnum | Prisma.InstallationJourneyChangeScalarFieldEnum[];
759
+ };
760
+ /**
761
+ * InstallationJourneyChange findMany
762
+ */
763
+ export type InstallationJourneyChangeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
764
+ /**
765
+ * Select specific fields to fetch from the InstallationJourneyChange
766
+ */
767
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
768
+ /**
769
+ * Omit specific fields from the InstallationJourneyChange
770
+ */
771
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
772
+ /**
773
+ * Filter, which InstallationJourneyChanges to fetch.
774
+ */
775
+ where?: Prisma.InstallationJourneyChangeWhereInput;
776
+ /**
777
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
778
+ *
779
+ * Determine the order of InstallationJourneyChanges to fetch.
780
+ */
781
+ orderBy?: Prisma.InstallationJourneyChangeOrderByWithRelationInput | Prisma.InstallationJourneyChangeOrderByWithRelationInput[];
782
+ /**
783
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
784
+ *
785
+ * Sets the position for listing InstallationJourneyChanges.
786
+ */
787
+ cursor?: Prisma.InstallationJourneyChangeWhereUniqueInput;
788
+ /**
789
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
790
+ *
791
+ * Take `±n` InstallationJourneyChanges from the position of the cursor.
792
+ */
793
+ take?: number;
794
+ /**
795
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
796
+ *
797
+ * Skip the first `n` InstallationJourneyChanges.
798
+ */
799
+ skip?: number;
800
+ /**
801
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
802
+ *
803
+ * Filter by unique combinations of InstallationJourneyChanges.
804
+ */
805
+ distinct?: Prisma.InstallationJourneyChangeScalarFieldEnum | Prisma.InstallationJourneyChangeScalarFieldEnum[];
806
+ };
807
+ /**
808
+ * InstallationJourneyChange create
809
+ */
810
+ export type InstallationJourneyChangeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
811
+ /**
812
+ * Select specific fields to fetch from the InstallationJourneyChange
813
+ */
814
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
815
+ /**
816
+ * Omit specific fields from the InstallationJourneyChange
817
+ */
818
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
819
+ /**
820
+ * The data needed to create a InstallationJourneyChange.
821
+ */
822
+ data: Prisma.XOR<Prisma.InstallationJourneyChangeCreateInput, Prisma.InstallationJourneyChangeUncheckedCreateInput>;
823
+ };
824
+ /**
825
+ * InstallationJourneyChange createMany
826
+ */
827
+ export type InstallationJourneyChangeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
828
+ /**
829
+ * The data used to create many InstallationJourneyChanges.
830
+ */
831
+ data: Prisma.InstallationJourneyChangeCreateManyInput | Prisma.InstallationJourneyChangeCreateManyInput[];
832
+ skipDuplicates?: boolean;
833
+ };
834
+ /**
835
+ * InstallationJourneyChange createManyAndReturn
836
+ */
837
+ export type InstallationJourneyChangeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
838
+ /**
839
+ * Select specific fields to fetch from the InstallationJourneyChange
840
+ */
841
+ select?: Prisma.InstallationJourneyChangeSelectCreateManyAndReturn<ExtArgs> | null;
842
+ /**
843
+ * Omit specific fields from the InstallationJourneyChange
844
+ */
845
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
846
+ /**
847
+ * The data used to create many InstallationJourneyChanges.
848
+ */
849
+ data: Prisma.InstallationJourneyChangeCreateManyInput | Prisma.InstallationJourneyChangeCreateManyInput[];
850
+ skipDuplicates?: boolean;
851
+ };
852
+ /**
853
+ * InstallationJourneyChange update
854
+ */
855
+ export type InstallationJourneyChangeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
856
+ /**
857
+ * Select specific fields to fetch from the InstallationJourneyChange
858
+ */
859
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
860
+ /**
861
+ * Omit specific fields from the InstallationJourneyChange
862
+ */
863
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
864
+ /**
865
+ * The data needed to update a InstallationJourneyChange.
866
+ */
867
+ data: Prisma.XOR<Prisma.InstallationJourneyChangeUpdateInput, Prisma.InstallationJourneyChangeUncheckedUpdateInput>;
868
+ /**
869
+ * Choose, which InstallationJourneyChange to update.
870
+ */
871
+ where: Prisma.InstallationJourneyChangeWhereUniqueInput;
872
+ };
873
+ /**
874
+ * InstallationJourneyChange updateMany
875
+ */
876
+ export type InstallationJourneyChangeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
877
+ /**
878
+ * The data used to update InstallationJourneyChanges.
879
+ */
880
+ data: Prisma.XOR<Prisma.InstallationJourneyChangeUpdateManyMutationInput, Prisma.InstallationJourneyChangeUncheckedUpdateManyInput>;
881
+ /**
882
+ * Filter which InstallationJourneyChanges to update
883
+ */
884
+ where?: Prisma.InstallationJourneyChangeWhereInput;
885
+ /**
886
+ * Limit how many InstallationJourneyChanges to update.
887
+ */
888
+ limit?: number;
889
+ };
890
+ /**
891
+ * InstallationJourneyChange updateManyAndReturn
892
+ */
893
+ export type InstallationJourneyChangeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
894
+ /**
895
+ * Select specific fields to fetch from the InstallationJourneyChange
896
+ */
897
+ select?: Prisma.InstallationJourneyChangeSelectUpdateManyAndReturn<ExtArgs> | null;
898
+ /**
899
+ * Omit specific fields from the InstallationJourneyChange
900
+ */
901
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
902
+ /**
903
+ * The data used to update InstallationJourneyChanges.
904
+ */
905
+ data: Prisma.XOR<Prisma.InstallationJourneyChangeUpdateManyMutationInput, Prisma.InstallationJourneyChangeUncheckedUpdateManyInput>;
906
+ /**
907
+ * Filter which InstallationJourneyChanges to update
908
+ */
909
+ where?: Prisma.InstallationJourneyChangeWhereInput;
910
+ /**
911
+ * Limit how many InstallationJourneyChanges to update.
912
+ */
913
+ limit?: number;
914
+ };
915
+ /**
916
+ * InstallationJourneyChange upsert
917
+ */
918
+ export type InstallationJourneyChangeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
919
+ /**
920
+ * Select specific fields to fetch from the InstallationJourneyChange
921
+ */
922
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
923
+ /**
924
+ * Omit specific fields from the InstallationJourneyChange
925
+ */
926
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
927
+ /**
928
+ * The filter to search for the InstallationJourneyChange to update in case it exists.
929
+ */
930
+ where: Prisma.InstallationJourneyChangeWhereUniqueInput;
931
+ /**
932
+ * In case the InstallationJourneyChange found by the `where` argument doesn't exist, create a new InstallationJourneyChange with this data.
933
+ */
934
+ create: Prisma.XOR<Prisma.InstallationJourneyChangeCreateInput, Prisma.InstallationJourneyChangeUncheckedCreateInput>;
935
+ /**
936
+ * In case the InstallationJourneyChange was found with the provided `where` argument, update it with this data.
937
+ */
938
+ update: Prisma.XOR<Prisma.InstallationJourneyChangeUpdateInput, Prisma.InstallationJourneyChangeUncheckedUpdateInput>;
939
+ };
940
+ /**
941
+ * InstallationJourneyChange delete
942
+ */
943
+ export type InstallationJourneyChangeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
944
+ /**
945
+ * Select specific fields to fetch from the InstallationJourneyChange
946
+ */
947
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
948
+ /**
949
+ * Omit specific fields from the InstallationJourneyChange
950
+ */
951
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
952
+ /**
953
+ * Filter which InstallationJourneyChange to delete.
954
+ */
955
+ where: Prisma.InstallationJourneyChangeWhereUniqueInput;
956
+ };
957
+ /**
958
+ * InstallationJourneyChange deleteMany
959
+ */
960
+ export type InstallationJourneyChangeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
961
+ /**
962
+ * Filter which InstallationJourneyChanges to delete
963
+ */
964
+ where?: Prisma.InstallationJourneyChangeWhereInput;
965
+ /**
966
+ * Limit how many InstallationJourneyChanges to delete.
967
+ */
968
+ limit?: number;
969
+ };
970
+ /**
971
+ * InstallationJourneyChange without action
972
+ */
973
+ export type InstallationJourneyChangeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
974
+ /**
975
+ * Select specific fields to fetch from the InstallationJourneyChange
976
+ */
977
+ select?: Prisma.InstallationJourneyChangeSelect<ExtArgs> | null;
978
+ /**
979
+ * Omit specific fields from the InstallationJourneyChange
980
+ */
981
+ omit?: Prisma.InstallationJourneyChangeOmit<ExtArgs> | null;
982
+ };