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