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