@optimatech88/titomeet-shared-lib 1.1.0 → 1.1.2

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 (277) hide show
  1. package/dist/auth/admin.middleware.d.ts.map +1 -1
  2. package/dist/auth/admin.middleware.js +1 -1
  3. package/dist/auth/admin.middleware.js.map +1 -1
  4. package/dist/auth/auth.guard.d.ts.map +1 -1
  5. package/dist/auth/auth.guard.js +9 -4
  6. package/dist/auth/auth.guard.js.map +1 -1
  7. package/dist/auth/auth.module.d.ts +1 -1
  8. package/dist/auth/auth.module.d.ts.map +1 -1
  9. package/dist/generated/prisma/client.d.ts.map +1 -1
  10. package/dist/generated/prisma/client.js.map +1 -1
  11. package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -1
  12. package/dist/generated/prisma/commonInputTypes.js.map +1 -1
  13. package/dist/generated/prisma/enums.d.ts.map +1 -1
  14. package/dist/generated/prisma/enums.js.map +1 -1
  15. package/dist/generated/prisma/internal/class.d.ts.map +1 -1
  16. package/dist/generated/prisma/internal/class.js +1 -1
  17. package/dist/generated/prisma/internal/class.js.map +1 -1
  18. package/dist/generated/prisma/internal/prismaNamespace.d.ts +21 -26
  19. package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
  20. package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
  21. package/dist/generated/prisma/models/Account.d.ts.map +1 -1
  22. package/dist/generated/prisma/models/Account.js.map +1 -1
  23. package/dist/generated/prisma/models/Address.d.ts.map +1 -1
  24. package/dist/generated/prisma/models/Address.js.map +1 -1
  25. package/dist/generated/prisma/models/Chat.d.ts.map +1 -1
  26. package/dist/generated/prisma/models/Chat.js.map +1 -1
  27. package/dist/generated/prisma/models/ChatUser.d.ts.map +1 -1
  28. package/dist/generated/prisma/models/ChatUser.js.map +1 -1
  29. package/dist/generated/prisma/models/Country.d.ts.map +1 -1
  30. package/dist/generated/prisma/models/Country.js.map +1 -1
  31. package/dist/generated/prisma/models/Event.d.ts.map +1 -1
  32. package/dist/generated/prisma/models/Event.js.map +1 -1
  33. package/dist/generated/prisma/models/EventCategory.d.ts.map +1 -1
  34. package/dist/generated/prisma/models/EventCategory.js.map +1 -1
  35. package/dist/generated/prisma/models/EventPrice.d.ts.map +1 -1
  36. package/dist/generated/prisma/models/EventPrice.js.map +1 -1
  37. package/dist/generated/prisma/models/Favorite.d.ts.map +1 -1
  38. package/dist/generated/prisma/models/Favorite.js.map +1 -1
  39. package/dist/generated/prisma/models/Feedback.d.ts.map +1 -1
  40. package/dist/generated/prisma/models/Feedback.js.map +1 -1
  41. package/dist/generated/prisma/models/Message.d.ts.map +1 -1
  42. package/dist/generated/prisma/models/Message.js.map +1 -1
  43. package/dist/generated/prisma/models/Newsletter.d.ts.map +1 -1
  44. package/dist/generated/prisma/models/Newsletter.js.map +1 -1
  45. package/dist/generated/prisma/models/Notification.d.ts.map +1 -1
  46. package/dist/generated/prisma/models/Notification.js.map +1 -1
  47. package/dist/generated/prisma/models/Order.d.ts.map +1 -1
  48. package/dist/generated/prisma/models/Order.js.map +1 -1
  49. package/dist/generated/prisma/models/OrderItem.d.ts.map +1 -1
  50. package/dist/generated/prisma/models/OrderItem.js.map +1 -1
  51. package/dist/generated/prisma/models/Pricing.d.ts.map +1 -1
  52. package/dist/generated/prisma/models/Pricing.js.map +1 -1
  53. package/dist/generated/prisma/models/Provider.d.ts.map +1 -1
  54. package/dist/generated/prisma/models/Provider.js.map +1 -1
  55. package/dist/generated/prisma/models/ProviderCategory.d.ts.map +1 -1
  56. package/dist/generated/prisma/models/ProviderCategory.js.map +1 -1
  57. package/dist/generated/prisma/models/ProviderOnEvent.d.ts.map +1 -1
  58. package/dist/generated/prisma/models/ProviderOnEvent.js.map +1 -1
  59. package/dist/generated/prisma/models/Report.d.ts.map +1 -1
  60. package/dist/generated/prisma/models/Report.js.map +1 -1
  61. package/dist/generated/prisma/models/Review.d.ts.map +1 -1
  62. package/dist/generated/prisma/models/Review.js.map +1 -1
  63. package/dist/generated/prisma/models/Transaction.d.ts.map +1 -1
  64. package/dist/generated/prisma/models/Transaction.js.map +1 -1
  65. package/dist/generated/prisma/models/User.d.ts.map +1 -1
  66. package/dist/generated/prisma/models/User.js.map +1 -1
  67. package/dist/generated/prisma/models/UserInterests.d.ts.map +1 -1
  68. package/dist/generated/prisma/models/UserInterests.js.map +1 -1
  69. package/dist/generated/prisma/models.d.ts.map +1 -1
  70. package/dist/generated/prisma/models.js.map +1 -1
  71. package/dist/index.d.ts +3 -2
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +2 -2
  74. package/dist/index.js.map +1 -1
  75. package/dist/prisma/prisma.module.d.ts +5 -0
  76. package/dist/prisma/prisma.module.d.ts.map +1 -1
  77. package/dist/prisma/prisma.module.js +31 -6
  78. package/dist/prisma/prisma.module.js.map +1 -1
  79. package/dist/prisma/prisma.service.d.ts +1 -1
  80. package/dist/prisma/prisma.service.d.ts.map +1 -1
  81. package/dist/prisma/prisma.service.js +10 -6
  82. package/dist/prisma/prisma.service.js.map +1 -1
  83. package/dist/prisma/seed.js +6 -2
  84. package/dist/prisma/seed.js.map +1 -1
  85. package/package.json +1 -2
  86. package/prisma/schema.prisma +1 -1
  87. package/src/auth/admin.middleware.ts +2 -1
  88. package/src/auth/auth.guard.ts +2 -1
  89. package/{generated/prisma/client → src/generated/prisma}/internal/class.ts +1 -1
  90. package/src/index.ts +63 -38
  91. package/src/prisma/prisma.module.ts +32 -6
  92. package/src/prisma/prisma.service.ts +12 -5
  93. package/src/prisma/seed.ts +1 -1
  94. package/tsconfig.json +4 -3
  95. package/generated/prisma/client/browser.ts +0 -139
  96. package/generated/prisma/client/client.ts +0 -163
  97. package/generated/prisma/client.d.ts +0 -33
  98. package/generated/prisma/client.d.ts.map +0 -1
  99. package/generated/prisma/client.js +0 -10
  100. package/generated/prisma/client.js.map +0 -1
  101. package/generated/prisma/commonInputTypes.d.ts +0 -966
  102. package/generated/prisma/commonInputTypes.d.ts.map +0 -1
  103. package/generated/prisma/commonInputTypes.js +0 -2
  104. package/generated/prisma/commonInputTypes.js.map +0 -1
  105. package/generated/prisma/commonInputTypes.ts +0 -1102
  106. package/generated/prisma/enums.d.ts +0 -111
  107. package/generated/prisma/enums.d.ts.map +0 -1
  108. package/generated/prisma/enums.js +0 -93
  109. package/generated/prisma/enums.js.map +0 -1
  110. package/generated/prisma/enums.ts +0 -173
  111. package/generated/prisma/internal/class.d.ts +0 -105
  112. package/generated/prisma/internal/class.d.ts.map +0 -1
  113. package/generated/prisma/internal/class.js +0 -39
  114. package/generated/prisma/internal/class.js.map +0 -1
  115. package/generated/prisma/internal/class.ts +0 -434
  116. package/generated/prisma/internal/prismaNamespace.d.ts +0 -2431
  117. package/generated/prisma/internal/prismaNamespace.d.ts.map +0 -1
  118. package/generated/prisma/internal/prismaNamespace.js +0 -338
  119. package/generated/prisma/internal/prismaNamespace.js.map +0 -1
  120. package/generated/prisma/internal/prismaNamespace.ts +0 -3141
  121. package/generated/prisma/internal/prismaNamespaceBrowser.ts +0 -489
  122. package/generated/prisma/models/Account.d.ts +0 -582
  123. package/generated/prisma/models/Account.d.ts.map +0 -1
  124. package/generated/prisma/models/Account.js +0 -2
  125. package/generated/prisma/models/Account.js.map +0 -1
  126. package/generated/prisma/models/Account.ts +0 -1384
  127. package/generated/prisma/models/Address.d.ts +0 -930
  128. package/generated/prisma/models/Address.d.ts.map +0 -1
  129. package/generated/prisma/models/Address.js +0 -2
  130. package/generated/prisma/models/Address.js.map +0 -1
  131. package/generated/prisma/models/Address.ts +0 -1791
  132. package/generated/prisma/models/Chat.d.ts +0 -788
  133. package/generated/prisma/models/Chat.d.ts.map +0 -1
  134. package/generated/prisma/models/Chat.js +0 -2
  135. package/generated/prisma/models/Chat.js.map +0 -1
  136. package/generated/prisma/models/Chat.ts +0 -1676
  137. package/generated/prisma/models/ChatUser.d.ts +0 -648
  138. package/generated/prisma/models/ChatUser.d.ts.map +0 -1
  139. package/generated/prisma/models/ChatUser.js +0 -2
  140. package/generated/prisma/models/ChatUser.js.map +0 -1
  141. package/generated/prisma/models/ChatUser.ts +0 -1465
  142. package/generated/prisma/models/Country.d.ts +0 -543
  143. package/generated/prisma/models/Country.d.ts.map +0 -1
  144. package/generated/prisma/models/Country.js +0 -2
  145. package/generated/prisma/models/Country.js.map +0 -1
  146. package/generated/prisma/models/Country.ts +0 -1361
  147. package/generated/prisma/models/Event.d.ts +0 -3206
  148. package/generated/prisma/models/Event.d.ts.map +0 -1
  149. package/generated/prisma/models/Event.js +0 -2
  150. package/generated/prisma/models/Event.js.map +0 -1
  151. package/generated/prisma/models/Event.ts +0 -4258
  152. package/generated/prisma/models/EventCategory.d.ts +0 -1004
  153. package/generated/prisma/models/EventCategory.d.ts.map +0 -1
  154. package/generated/prisma/models/EventCategory.js +0 -2
  155. package/generated/prisma/models/EventCategory.js.map +0 -1
  156. package/generated/prisma/models/EventCategory.ts +0 -1919
  157. package/generated/prisma/models/EventPrice.d.ts +0 -798
  158. package/generated/prisma/models/EventPrice.d.ts.map +0 -1
  159. package/generated/prisma/models/EventPrice.js +0 -2
  160. package/generated/prisma/models/EventPrice.js.map +0 -1
  161. package/generated/prisma/models/EventPrice.ts +0 -1657
  162. package/generated/prisma/models/Favorite.d.ts +0 -648
  163. package/generated/prisma/models/Favorite.d.ts.map +0 -1
  164. package/generated/prisma/models/Favorite.js +0 -2
  165. package/generated/prisma/models/Favorite.js.map +0 -1
  166. package/generated/prisma/models/Favorite.ts +0 -1465
  167. package/generated/prisma/models/Feedback.d.ts +0 -682
  168. package/generated/prisma/models/Feedback.d.ts.map +0 -1
  169. package/generated/prisma/models/Feedback.js +0 -2
  170. package/generated/prisma/models/Feedback.js.map +0 -1
  171. package/generated/prisma/models/Feedback.ts +0 -1513
  172. package/generated/prisma/models/Message.d.ts +0 -724
  173. package/generated/prisma/models/Message.d.ts.map +0 -1
  174. package/generated/prisma/models/Message.js +0 -2
  175. package/generated/prisma/models/Message.js.map +0 -1
  176. package/generated/prisma/models/Message.ts +0 -1541
  177. package/generated/prisma/models/Newsletter.d.ts +0 -404
  178. package/generated/prisma/models/Newsletter.d.ts.map +0 -1
  179. package/generated/prisma/models/Newsletter.js +0 -2
  180. package/generated/prisma/models/Newsletter.js.map +0 -1
  181. package/generated/prisma/models/Newsletter.ts +0 -1153
  182. package/generated/prisma/models/Notification.d.ts +0 -775
  183. package/generated/prisma/models/Notification.d.ts.map +0 -1
  184. package/generated/prisma/models/Notification.js +0 -2
  185. package/generated/prisma/models/Notification.js.map +0 -1
  186. package/generated/prisma/models/Notification.ts +0 -1605
  187. package/generated/prisma/models/Order.d.ts +0 -1009
  188. package/generated/prisma/models/Order.d.ts.map +0 -1
  189. package/generated/prisma/models/Order.js +0 -2
  190. package/generated/prisma/models/Order.js.map +0 -1
  191. package/generated/prisma/models/Order.ts +0 -1883
  192. package/generated/prisma/models/OrderItem.d.ts +0 -806
  193. package/generated/prisma/models/OrderItem.d.ts.map +0 -1
  194. package/generated/prisma/models/OrderItem.js +0 -2
  195. package/generated/prisma/models/OrderItem.js.map +0 -1
  196. package/generated/prisma/models/OrderItem.ts +0 -1641
  197. package/generated/prisma/models/Pricing.d.ts +0 -739
  198. package/generated/prisma/models/Pricing.d.ts.map +0 -1
  199. package/generated/prisma/models/Pricing.js +0 -2
  200. package/generated/prisma/models/Pricing.js.map +0 -1
  201. package/generated/prisma/models/Pricing.ts +0 -1576
  202. package/generated/prisma/models/Provider.d.ts +0 -1650
  203. package/generated/prisma/models/Provider.d.ts.map +0 -1
  204. package/generated/prisma/models/Provider.js +0 -2
  205. package/generated/prisma/models/Provider.js.map +0 -1
  206. package/generated/prisma/models/Provider.ts +0 -2577
  207. package/generated/prisma/models/ProviderCategory.d.ts +0 -830
  208. package/generated/prisma/models/ProviderCategory.d.ts.map +0 -1
  209. package/generated/prisma/models/ProviderCategory.js +0 -2
  210. package/generated/prisma/models/ProviderCategory.js.map +0 -1
  211. package/generated/prisma/models/ProviderCategory.ts +0 -1712
  212. package/generated/prisma/models/ProviderOnEvent.d.ts +0 -693
  213. package/generated/prisma/models/ProviderOnEvent.d.ts.map +0 -1
  214. package/generated/prisma/models/ProviderOnEvent.js +0 -2
  215. package/generated/prisma/models/ProviderOnEvent.js.map +0 -1
  216. package/generated/prisma/models/ProviderOnEvent.ts +0 -1510
  217. package/generated/prisma/models/Report.d.ts +0 -689
  218. package/generated/prisma/models/Report.d.ts.map +0 -1
  219. package/generated/prisma/models/Report.js +0 -2
  220. package/generated/prisma/models/Report.js.map +0 -1
  221. package/generated/prisma/models/Report.ts +0 -1506
  222. package/generated/prisma/models/Review.d.ts +0 -758
  223. package/generated/prisma/models/Review.d.ts.map +0 -1
  224. package/generated/prisma/models/Review.js +0 -2
  225. package/generated/prisma/models/Review.js.map +0 -1
  226. package/generated/prisma/models/Review.ts +0 -1591
  227. package/generated/prisma/models/Transaction.d.ts +0 -894
  228. package/generated/prisma/models/Transaction.d.ts.map +0 -1
  229. package/generated/prisma/models/Transaction.js +0 -2
  230. package/generated/prisma/models/Transaction.js.map +0 -1
  231. package/generated/prisma/models/Transaction.ts +0 -1741
  232. package/generated/prisma/models/User.d.ts +0 -2966
  233. package/generated/prisma/models/User.d.ts.map +0 -1
  234. package/generated/prisma/models/User.js +0 -2
  235. package/generated/prisma/models/User.js.map +0 -1
  236. package/generated/prisma/models/User.ts +0 -4124
  237. package/generated/prisma/models/UserInterests.d.ts +0 -605
  238. package/generated/prisma/models/UserInterests.d.ts.map +0 -1
  239. package/generated/prisma/models/UserInterests.js +0 -2
  240. package/generated/prisma/models/UserInterests.js.map +0 -1
  241. package/generated/prisma/models/UserInterests.ts +0 -1447
  242. package/generated/prisma/models.d.ts +0 -26
  243. package/generated/prisma/models.d.ts.map +0 -1
  244. package/generated/prisma/models.js +0 -2
  245. package/generated/prisma/models.js.map +0 -1
  246. package/generated/prisma/models.ts +0 -35
  247. /package/{generated → src/generated}/prisma/browser.ts +0 -0
  248. /package/{generated → src/generated}/prisma/client.ts +0 -0
  249. /package/{generated/prisma/client → src/generated/prisma}/commonInputTypes.ts +0 -0
  250. /package/{generated/prisma/client → src/generated/prisma}/enums.ts +0 -0
  251. /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespace.ts +0 -0
  252. /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespaceBrowser.ts +0 -0
  253. /package/{generated/prisma/client → src/generated/prisma}/models/Account.ts +0 -0
  254. /package/{generated/prisma/client → src/generated/prisma}/models/Address.ts +0 -0
  255. /package/{generated/prisma/client → src/generated/prisma}/models/Chat.ts +0 -0
  256. /package/{generated/prisma/client → src/generated/prisma}/models/ChatUser.ts +0 -0
  257. /package/{generated/prisma/client → src/generated/prisma}/models/Country.ts +0 -0
  258. /package/{generated/prisma/client → src/generated/prisma}/models/Event.ts +0 -0
  259. /package/{generated/prisma/client → src/generated/prisma}/models/EventCategory.ts +0 -0
  260. /package/{generated/prisma/client → src/generated/prisma}/models/EventPrice.ts +0 -0
  261. /package/{generated/prisma/client → src/generated/prisma}/models/Favorite.ts +0 -0
  262. /package/{generated/prisma/client → src/generated/prisma}/models/Feedback.ts +0 -0
  263. /package/{generated/prisma/client → src/generated/prisma}/models/Message.ts +0 -0
  264. /package/{generated/prisma/client → src/generated/prisma}/models/Newsletter.ts +0 -0
  265. /package/{generated/prisma/client → src/generated/prisma}/models/Notification.ts +0 -0
  266. /package/{generated/prisma/client → src/generated/prisma}/models/Order.ts +0 -0
  267. /package/{generated/prisma/client → src/generated/prisma}/models/OrderItem.ts +0 -0
  268. /package/{generated/prisma/client → src/generated/prisma}/models/Pricing.ts +0 -0
  269. /package/{generated/prisma/client → src/generated/prisma}/models/Provider.ts +0 -0
  270. /package/{generated/prisma/client → src/generated/prisma}/models/ProviderCategory.ts +0 -0
  271. /package/{generated/prisma/client → src/generated/prisma}/models/ProviderOnEvent.ts +0 -0
  272. /package/{generated/prisma/client → src/generated/prisma}/models/Report.ts +0 -0
  273. /package/{generated/prisma/client → src/generated/prisma}/models/Review.ts +0 -0
  274. /package/{generated/prisma/client → src/generated/prisma}/models/Transaction.ts +0 -0
  275. /package/{generated/prisma/client → src/generated/prisma}/models/User.ts +0 -0
  276. /package/{generated/prisma/client → src/generated/prisma}/models/UserInterests.ts +0 -0
  277. /package/{generated/prisma/client → src/generated/prisma}/models.ts +0 -0
@@ -1,1791 +0,0 @@
1
-
2
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
- /* eslint-disable */
4
- // biome-ignore-all lint: generated file
5
- // @ts-nocheck
6
- /*
7
- * This file exports the `Address` model and its related types.
8
- *
9
- * 🟢 You can import this file directly.
10
- */
11
- import type * as runtime from "@prisma/client/runtime/client"
12
- import type * as $Enums from "../enums"
13
- import type * as Prisma from "../internal/prismaNamespace"
14
-
15
- /**
16
- * Model Address
17
- *
18
- */
19
- export type AddressModel = runtime.Types.Result.DefaultSelection<Prisma.$AddressPayload>
20
-
21
- export type AggregateAddress = {
22
- _count: AddressCountAggregateOutputType | null
23
- _avg: AddressAvgAggregateOutputType | null
24
- _sum: AddressSumAggregateOutputType | null
25
- _min: AddressMinAggregateOutputType | null
26
- _max: AddressMaxAggregateOutputType | null
27
- }
28
-
29
- export type AddressAvgAggregateOutputType = {
30
- latitude: number | null
31
- longitude: number | null
32
- }
33
-
34
- export type AddressSumAggregateOutputType = {
35
- latitude: number | null
36
- longitude: number | null
37
- }
38
-
39
- export type AddressMinAggregateOutputType = {
40
- id: string | null
41
- name: string | null
42
- line2: string | null
43
- city: string | null
44
- state: string | null
45
- country: string | null
46
- postalCode: string | null
47
- createdAt: Date | null
48
- updatedAt: Date | null
49
- countryCode: string | null
50
- latitude: number | null
51
- longitude: number | null
52
- type: string | null
53
- }
54
-
55
- export type AddressMaxAggregateOutputType = {
56
- id: string | null
57
- name: string | null
58
- line2: string | null
59
- city: string | null
60
- state: string | null
61
- country: string | null
62
- postalCode: string | null
63
- createdAt: Date | null
64
- updatedAt: Date | null
65
- countryCode: string | null
66
- latitude: number | null
67
- longitude: number | null
68
- type: string | null
69
- }
70
-
71
- export type AddressCountAggregateOutputType = {
72
- id: number
73
- name: number
74
- line2: number
75
- city: number
76
- state: number
77
- country: number
78
- postalCode: number
79
- createdAt: number
80
- updatedAt: number
81
- countryCode: number
82
- latitude: number
83
- longitude: number
84
- type: number
85
- _all: number
86
- }
87
-
88
-
89
- export type AddressAvgAggregateInputType = {
90
- latitude?: true
91
- longitude?: true
92
- }
93
-
94
- export type AddressSumAggregateInputType = {
95
- latitude?: true
96
- longitude?: true
97
- }
98
-
99
- export type AddressMinAggregateInputType = {
100
- id?: true
101
- name?: true
102
- line2?: true
103
- city?: true
104
- state?: true
105
- country?: true
106
- postalCode?: true
107
- createdAt?: true
108
- updatedAt?: true
109
- countryCode?: true
110
- latitude?: true
111
- longitude?: true
112
- type?: true
113
- }
114
-
115
- export type AddressMaxAggregateInputType = {
116
- id?: true
117
- name?: true
118
- line2?: true
119
- city?: true
120
- state?: true
121
- country?: true
122
- postalCode?: true
123
- createdAt?: true
124
- updatedAt?: true
125
- countryCode?: true
126
- latitude?: true
127
- longitude?: true
128
- type?: true
129
- }
130
-
131
- export type AddressCountAggregateInputType = {
132
- id?: true
133
- name?: true
134
- line2?: true
135
- city?: true
136
- state?: true
137
- country?: true
138
- postalCode?: true
139
- createdAt?: true
140
- updatedAt?: true
141
- countryCode?: true
142
- latitude?: true
143
- longitude?: true
144
- type?: true
145
- _all?: true
146
- }
147
-
148
- export type AddressAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
149
- /**
150
- * Filter which Address to aggregate.
151
- */
152
- where?: Prisma.AddressWhereInput
153
- /**
154
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
155
- *
156
- * Determine the order of Addresses to fetch.
157
- */
158
- orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]
159
- /**
160
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
161
- *
162
- * Sets the start position
163
- */
164
- cursor?: Prisma.AddressWhereUniqueInput
165
- /**
166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
167
- *
168
- * Take `±n` Addresses from the position of the cursor.
169
- */
170
- take?: number
171
- /**
172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
173
- *
174
- * Skip the first `n` Addresses.
175
- */
176
- skip?: number
177
- /**
178
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
179
- *
180
- * Count returned Addresses
181
- **/
182
- _count?: true | AddressCountAggregateInputType
183
- /**
184
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
185
- *
186
- * Select which fields to average
187
- **/
188
- _avg?: AddressAvgAggregateInputType
189
- /**
190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
191
- *
192
- * Select which fields to sum
193
- **/
194
- _sum?: AddressSumAggregateInputType
195
- /**
196
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
197
- *
198
- * Select which fields to find the minimum value
199
- **/
200
- _min?: AddressMinAggregateInputType
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
203
- *
204
- * Select which fields to find the maximum value
205
- **/
206
- _max?: AddressMaxAggregateInputType
207
- }
208
-
209
- export type GetAddressAggregateType<T extends AddressAggregateArgs> = {
210
- [P in keyof T & keyof AggregateAddress]: P extends '_count' | 'count'
211
- ? T[P] extends true
212
- ? number
213
- : Prisma.GetScalarType<T[P], AggregateAddress[P]>
214
- : Prisma.GetScalarType<T[P], AggregateAddress[P]>
215
- }
216
-
217
-
218
-
219
-
220
- export type AddressGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
221
- where?: Prisma.AddressWhereInput
222
- orderBy?: Prisma.AddressOrderByWithAggregationInput | Prisma.AddressOrderByWithAggregationInput[]
223
- by: Prisma.AddressScalarFieldEnum[] | Prisma.AddressScalarFieldEnum
224
- having?: Prisma.AddressScalarWhereWithAggregatesInput
225
- take?: number
226
- skip?: number
227
- _count?: AddressCountAggregateInputType | true
228
- _avg?: AddressAvgAggregateInputType
229
- _sum?: AddressSumAggregateInputType
230
- _min?: AddressMinAggregateInputType
231
- _max?: AddressMaxAggregateInputType
232
- }
233
-
234
- export type AddressGroupByOutputType = {
235
- id: string
236
- name: string
237
- line2: string | null
238
- city: string | null
239
- state: string | null
240
- country: string
241
- postalCode: string | null
242
- createdAt: Date
243
- updatedAt: Date
244
- countryCode: string | null
245
- latitude: number | null
246
- longitude: number | null
247
- type: string
248
- _count: AddressCountAggregateOutputType | null
249
- _avg: AddressAvgAggregateOutputType | null
250
- _sum: AddressSumAggregateOutputType | null
251
- _min: AddressMinAggregateOutputType | null
252
- _max: AddressMaxAggregateOutputType | null
253
- }
254
-
255
- export type GetAddressGroupByPayload<T extends AddressGroupByArgs> = Prisma.PrismaPromise<
256
- Array<
257
- Prisma.PickEnumerable<AddressGroupByOutputType, T['by']> &
258
- {
259
- [P in ((keyof T) & (keyof AddressGroupByOutputType))]: P extends '_count'
260
- ? T[P] extends boolean
261
- ? number
262
- : Prisma.GetScalarType<T[P], AddressGroupByOutputType[P]>
263
- : Prisma.GetScalarType<T[P], AddressGroupByOutputType[P]>
264
- }
265
- >
266
- >
267
-
268
-
269
-
270
- export type AddressWhereInput = {
271
- AND?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]
272
- OR?: Prisma.AddressWhereInput[]
273
- NOT?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]
274
- id?: Prisma.StringFilter<"Address"> | string
275
- name?: Prisma.StringFilter<"Address"> | string
276
- line2?: Prisma.StringNullableFilter<"Address"> | string | null
277
- city?: Prisma.StringNullableFilter<"Address"> | string | null
278
- state?: Prisma.StringNullableFilter<"Address"> | string | null
279
- country?: Prisma.StringFilter<"Address"> | string
280
- postalCode?: Prisma.StringNullableFilter<"Address"> | string | null
281
- createdAt?: Prisma.DateTimeFilter<"Address"> | Date | string
282
- updatedAt?: Prisma.DateTimeFilter<"Address"> | Date | string
283
- countryCode?: Prisma.StringNullableFilter<"Address"> | string | null
284
- latitude?: Prisma.FloatNullableFilter<"Address"> | number | null
285
- longitude?: Prisma.FloatNullableFilter<"Address"> | number | null
286
- type?: Prisma.StringFilter<"Address"> | string
287
- events?: Prisma.EventListRelationFilter
288
- Provider?: Prisma.ProviderListRelationFilter
289
- }
290
-
291
- export type AddressOrderByWithRelationInput = {
292
- id?: Prisma.SortOrder
293
- name?: Prisma.SortOrder
294
- line2?: Prisma.SortOrderInput | Prisma.SortOrder
295
- city?: Prisma.SortOrderInput | Prisma.SortOrder
296
- state?: Prisma.SortOrderInput | Prisma.SortOrder
297
- country?: Prisma.SortOrder
298
- postalCode?: Prisma.SortOrderInput | Prisma.SortOrder
299
- createdAt?: Prisma.SortOrder
300
- updatedAt?: Prisma.SortOrder
301
- countryCode?: Prisma.SortOrderInput | Prisma.SortOrder
302
- latitude?: Prisma.SortOrderInput | Prisma.SortOrder
303
- longitude?: Prisma.SortOrderInput | Prisma.SortOrder
304
- type?: Prisma.SortOrder
305
- events?: Prisma.EventOrderByRelationAggregateInput
306
- Provider?: Prisma.ProviderOrderByRelationAggregateInput
307
- }
308
-
309
- export type AddressWhereUniqueInput = Prisma.AtLeast<{
310
- id?: string
311
- AND?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]
312
- OR?: Prisma.AddressWhereInput[]
313
- NOT?: Prisma.AddressWhereInput | Prisma.AddressWhereInput[]
314
- name?: Prisma.StringFilter<"Address"> | string
315
- line2?: Prisma.StringNullableFilter<"Address"> | string | null
316
- city?: Prisma.StringNullableFilter<"Address"> | string | null
317
- state?: Prisma.StringNullableFilter<"Address"> | string | null
318
- country?: Prisma.StringFilter<"Address"> | string
319
- postalCode?: Prisma.StringNullableFilter<"Address"> | string | null
320
- createdAt?: Prisma.DateTimeFilter<"Address"> | Date | string
321
- updatedAt?: Prisma.DateTimeFilter<"Address"> | Date | string
322
- countryCode?: Prisma.StringNullableFilter<"Address"> | string | null
323
- latitude?: Prisma.FloatNullableFilter<"Address"> | number | null
324
- longitude?: Prisma.FloatNullableFilter<"Address"> | number | null
325
- type?: Prisma.StringFilter<"Address"> | string
326
- events?: Prisma.EventListRelationFilter
327
- Provider?: Prisma.ProviderListRelationFilter
328
- }, "id">
329
-
330
- export type AddressOrderByWithAggregationInput = {
331
- id?: Prisma.SortOrder
332
- name?: Prisma.SortOrder
333
- line2?: Prisma.SortOrderInput | Prisma.SortOrder
334
- city?: Prisma.SortOrderInput | Prisma.SortOrder
335
- state?: Prisma.SortOrderInput | Prisma.SortOrder
336
- country?: Prisma.SortOrder
337
- postalCode?: Prisma.SortOrderInput | Prisma.SortOrder
338
- createdAt?: Prisma.SortOrder
339
- updatedAt?: Prisma.SortOrder
340
- countryCode?: Prisma.SortOrderInput | Prisma.SortOrder
341
- latitude?: Prisma.SortOrderInput | Prisma.SortOrder
342
- longitude?: Prisma.SortOrderInput | Prisma.SortOrder
343
- type?: Prisma.SortOrder
344
- _count?: Prisma.AddressCountOrderByAggregateInput
345
- _avg?: Prisma.AddressAvgOrderByAggregateInput
346
- _max?: Prisma.AddressMaxOrderByAggregateInput
347
- _min?: Prisma.AddressMinOrderByAggregateInput
348
- _sum?: Prisma.AddressSumOrderByAggregateInput
349
- }
350
-
351
- export type AddressScalarWhereWithAggregatesInput = {
352
- AND?: Prisma.AddressScalarWhereWithAggregatesInput | Prisma.AddressScalarWhereWithAggregatesInput[]
353
- OR?: Prisma.AddressScalarWhereWithAggregatesInput[]
354
- NOT?: Prisma.AddressScalarWhereWithAggregatesInput | Prisma.AddressScalarWhereWithAggregatesInput[]
355
- id?: Prisma.StringWithAggregatesFilter<"Address"> | string
356
- name?: Prisma.StringWithAggregatesFilter<"Address"> | string
357
- line2?: Prisma.StringNullableWithAggregatesFilter<"Address"> | string | null
358
- city?: Prisma.StringNullableWithAggregatesFilter<"Address"> | string | null
359
- state?: Prisma.StringNullableWithAggregatesFilter<"Address"> | string | null
360
- country?: Prisma.StringWithAggregatesFilter<"Address"> | string
361
- postalCode?: Prisma.StringNullableWithAggregatesFilter<"Address"> | string | null
362
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Address"> | Date | string
363
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Address"> | Date | string
364
- countryCode?: Prisma.StringNullableWithAggregatesFilter<"Address"> | string | null
365
- latitude?: Prisma.FloatNullableWithAggregatesFilter<"Address"> | number | null
366
- longitude?: Prisma.FloatNullableWithAggregatesFilter<"Address"> | number | null
367
- type?: Prisma.StringWithAggregatesFilter<"Address"> | string
368
- }
369
-
370
- export type AddressCreateInput = {
371
- id?: string
372
- name: string
373
- line2?: string | null
374
- city?: string | null
375
- state?: string | null
376
- country: string
377
- postalCode?: string | null
378
- createdAt?: Date | string
379
- updatedAt?: Date | string
380
- countryCode?: string | null
381
- latitude?: number | null
382
- longitude?: number | null
383
- type?: string
384
- events?: Prisma.EventCreateNestedManyWithoutAddressInput
385
- Provider?: Prisma.ProviderCreateNestedManyWithoutAddressInput
386
- }
387
-
388
- export type AddressUncheckedCreateInput = {
389
- id?: string
390
- name: string
391
- line2?: string | null
392
- city?: string | null
393
- state?: string | null
394
- country: string
395
- postalCode?: string | null
396
- createdAt?: Date | string
397
- updatedAt?: Date | string
398
- countryCode?: string | null
399
- latitude?: number | null
400
- longitude?: number | null
401
- type?: string
402
- events?: Prisma.EventUncheckedCreateNestedManyWithoutAddressInput
403
- Provider?: Prisma.ProviderUncheckedCreateNestedManyWithoutAddressInput
404
- }
405
-
406
- export type AddressUpdateInput = {
407
- id?: Prisma.StringFieldUpdateOperationsInput | string
408
- name?: Prisma.StringFieldUpdateOperationsInput | string
409
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
410
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
411
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
412
- country?: Prisma.StringFieldUpdateOperationsInput | string
413
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
414
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
415
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
416
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
417
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
418
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
419
- type?: Prisma.StringFieldUpdateOperationsInput | string
420
- events?: Prisma.EventUpdateManyWithoutAddressNestedInput
421
- Provider?: Prisma.ProviderUpdateManyWithoutAddressNestedInput
422
- }
423
-
424
- export type AddressUncheckedUpdateInput = {
425
- id?: Prisma.StringFieldUpdateOperationsInput | string
426
- name?: Prisma.StringFieldUpdateOperationsInput | string
427
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
428
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
429
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
430
- country?: Prisma.StringFieldUpdateOperationsInput | string
431
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
432
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
433
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
434
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
435
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
436
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
437
- type?: Prisma.StringFieldUpdateOperationsInput | string
438
- events?: Prisma.EventUncheckedUpdateManyWithoutAddressNestedInput
439
- Provider?: Prisma.ProviderUncheckedUpdateManyWithoutAddressNestedInput
440
- }
441
-
442
- export type AddressCreateManyInput = {
443
- id?: string
444
- name: string
445
- line2?: string | null
446
- city?: string | null
447
- state?: string | null
448
- country: string
449
- postalCode?: string | null
450
- createdAt?: Date | string
451
- updatedAt?: Date | string
452
- countryCode?: string | null
453
- latitude?: number | null
454
- longitude?: number | null
455
- type?: string
456
- }
457
-
458
- export type AddressUpdateManyMutationInput = {
459
- id?: Prisma.StringFieldUpdateOperationsInput | string
460
- name?: Prisma.StringFieldUpdateOperationsInput | string
461
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
462
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
463
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
464
- country?: Prisma.StringFieldUpdateOperationsInput | string
465
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
466
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
467
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
468
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
469
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
470
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
471
- type?: Prisma.StringFieldUpdateOperationsInput | string
472
- }
473
-
474
- export type AddressUncheckedUpdateManyInput = {
475
- id?: Prisma.StringFieldUpdateOperationsInput | string
476
- name?: Prisma.StringFieldUpdateOperationsInput | string
477
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
478
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
479
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
480
- country?: Prisma.StringFieldUpdateOperationsInput | string
481
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
482
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
483
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
484
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
485
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
486
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
487
- type?: Prisma.StringFieldUpdateOperationsInput | string
488
- }
489
-
490
- export type AddressCountOrderByAggregateInput = {
491
- id?: Prisma.SortOrder
492
- name?: Prisma.SortOrder
493
- line2?: Prisma.SortOrder
494
- city?: Prisma.SortOrder
495
- state?: Prisma.SortOrder
496
- country?: Prisma.SortOrder
497
- postalCode?: Prisma.SortOrder
498
- createdAt?: Prisma.SortOrder
499
- updatedAt?: Prisma.SortOrder
500
- countryCode?: Prisma.SortOrder
501
- latitude?: Prisma.SortOrder
502
- longitude?: Prisma.SortOrder
503
- type?: Prisma.SortOrder
504
- }
505
-
506
- export type AddressAvgOrderByAggregateInput = {
507
- latitude?: Prisma.SortOrder
508
- longitude?: Prisma.SortOrder
509
- }
510
-
511
- export type AddressMaxOrderByAggregateInput = {
512
- id?: Prisma.SortOrder
513
- name?: Prisma.SortOrder
514
- line2?: Prisma.SortOrder
515
- city?: Prisma.SortOrder
516
- state?: Prisma.SortOrder
517
- country?: Prisma.SortOrder
518
- postalCode?: Prisma.SortOrder
519
- createdAt?: Prisma.SortOrder
520
- updatedAt?: Prisma.SortOrder
521
- countryCode?: Prisma.SortOrder
522
- latitude?: Prisma.SortOrder
523
- longitude?: Prisma.SortOrder
524
- type?: Prisma.SortOrder
525
- }
526
-
527
- export type AddressMinOrderByAggregateInput = {
528
- id?: Prisma.SortOrder
529
- name?: Prisma.SortOrder
530
- line2?: Prisma.SortOrder
531
- city?: Prisma.SortOrder
532
- state?: Prisma.SortOrder
533
- country?: Prisma.SortOrder
534
- postalCode?: Prisma.SortOrder
535
- createdAt?: Prisma.SortOrder
536
- updatedAt?: Prisma.SortOrder
537
- countryCode?: Prisma.SortOrder
538
- latitude?: Prisma.SortOrder
539
- longitude?: Prisma.SortOrder
540
- type?: Prisma.SortOrder
541
- }
542
-
543
- export type AddressSumOrderByAggregateInput = {
544
- latitude?: Prisma.SortOrder
545
- longitude?: Prisma.SortOrder
546
- }
547
-
548
- export type AddressNullableScalarRelationFilter = {
549
- is?: Prisma.AddressWhereInput | null
550
- isNot?: Prisma.AddressWhereInput | null
551
- }
552
-
553
- export type NullableFloatFieldUpdateOperationsInput = {
554
- set?: number | null
555
- increment?: number
556
- decrement?: number
557
- multiply?: number
558
- divide?: number
559
- }
560
-
561
- export type AddressCreateNestedOneWithoutEventsInput = {
562
- create?: Prisma.XOR<Prisma.AddressCreateWithoutEventsInput, Prisma.AddressUncheckedCreateWithoutEventsInput>
563
- connectOrCreate?: Prisma.AddressCreateOrConnectWithoutEventsInput
564
- connect?: Prisma.AddressWhereUniqueInput
565
- }
566
-
567
- export type AddressUpdateOneWithoutEventsNestedInput = {
568
- create?: Prisma.XOR<Prisma.AddressCreateWithoutEventsInput, Prisma.AddressUncheckedCreateWithoutEventsInput>
569
- connectOrCreate?: Prisma.AddressCreateOrConnectWithoutEventsInput
570
- upsert?: Prisma.AddressUpsertWithoutEventsInput
571
- disconnect?: Prisma.AddressWhereInput | boolean
572
- delete?: Prisma.AddressWhereInput | boolean
573
- connect?: Prisma.AddressWhereUniqueInput
574
- update?: Prisma.XOR<Prisma.XOR<Prisma.AddressUpdateToOneWithWhereWithoutEventsInput, Prisma.AddressUpdateWithoutEventsInput>, Prisma.AddressUncheckedUpdateWithoutEventsInput>
575
- }
576
-
577
- export type AddressCreateNestedOneWithoutProviderInput = {
578
- create?: Prisma.XOR<Prisma.AddressCreateWithoutProviderInput, Prisma.AddressUncheckedCreateWithoutProviderInput>
579
- connectOrCreate?: Prisma.AddressCreateOrConnectWithoutProviderInput
580
- connect?: Prisma.AddressWhereUniqueInput
581
- }
582
-
583
- export type AddressUpdateOneWithoutProviderNestedInput = {
584
- create?: Prisma.XOR<Prisma.AddressCreateWithoutProviderInput, Prisma.AddressUncheckedCreateWithoutProviderInput>
585
- connectOrCreate?: Prisma.AddressCreateOrConnectWithoutProviderInput
586
- upsert?: Prisma.AddressUpsertWithoutProviderInput
587
- disconnect?: Prisma.AddressWhereInput | boolean
588
- delete?: Prisma.AddressWhereInput | boolean
589
- connect?: Prisma.AddressWhereUniqueInput
590
- update?: Prisma.XOR<Prisma.XOR<Prisma.AddressUpdateToOneWithWhereWithoutProviderInput, Prisma.AddressUpdateWithoutProviderInput>, Prisma.AddressUncheckedUpdateWithoutProviderInput>
591
- }
592
-
593
- export type AddressCreateWithoutEventsInput = {
594
- id?: string
595
- name: string
596
- line2?: string | null
597
- city?: string | null
598
- state?: string | null
599
- country: string
600
- postalCode?: string | null
601
- createdAt?: Date | string
602
- updatedAt?: Date | string
603
- countryCode?: string | null
604
- latitude?: number | null
605
- longitude?: number | null
606
- type?: string
607
- Provider?: Prisma.ProviderCreateNestedManyWithoutAddressInput
608
- }
609
-
610
- export type AddressUncheckedCreateWithoutEventsInput = {
611
- id?: string
612
- name: string
613
- line2?: string | null
614
- city?: string | null
615
- state?: string | null
616
- country: string
617
- postalCode?: string | null
618
- createdAt?: Date | string
619
- updatedAt?: Date | string
620
- countryCode?: string | null
621
- latitude?: number | null
622
- longitude?: number | null
623
- type?: string
624
- Provider?: Prisma.ProviderUncheckedCreateNestedManyWithoutAddressInput
625
- }
626
-
627
- export type AddressCreateOrConnectWithoutEventsInput = {
628
- where: Prisma.AddressWhereUniqueInput
629
- create: Prisma.XOR<Prisma.AddressCreateWithoutEventsInput, Prisma.AddressUncheckedCreateWithoutEventsInput>
630
- }
631
-
632
- export type AddressUpsertWithoutEventsInput = {
633
- update: Prisma.XOR<Prisma.AddressUpdateWithoutEventsInput, Prisma.AddressUncheckedUpdateWithoutEventsInput>
634
- create: Prisma.XOR<Prisma.AddressCreateWithoutEventsInput, Prisma.AddressUncheckedCreateWithoutEventsInput>
635
- where?: Prisma.AddressWhereInput
636
- }
637
-
638
- export type AddressUpdateToOneWithWhereWithoutEventsInput = {
639
- where?: Prisma.AddressWhereInput
640
- data: Prisma.XOR<Prisma.AddressUpdateWithoutEventsInput, Prisma.AddressUncheckedUpdateWithoutEventsInput>
641
- }
642
-
643
- export type AddressUpdateWithoutEventsInput = {
644
- id?: Prisma.StringFieldUpdateOperationsInput | string
645
- name?: Prisma.StringFieldUpdateOperationsInput | string
646
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
647
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
648
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
649
- country?: Prisma.StringFieldUpdateOperationsInput | string
650
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
651
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
652
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
653
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
654
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
655
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
656
- type?: Prisma.StringFieldUpdateOperationsInput | string
657
- Provider?: Prisma.ProviderUpdateManyWithoutAddressNestedInput
658
- }
659
-
660
- export type AddressUncheckedUpdateWithoutEventsInput = {
661
- id?: Prisma.StringFieldUpdateOperationsInput | string
662
- name?: Prisma.StringFieldUpdateOperationsInput | string
663
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
664
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
665
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
666
- country?: Prisma.StringFieldUpdateOperationsInput | string
667
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
668
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
669
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
670
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
671
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
672
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
673
- type?: Prisma.StringFieldUpdateOperationsInput | string
674
- Provider?: Prisma.ProviderUncheckedUpdateManyWithoutAddressNestedInput
675
- }
676
-
677
- export type AddressCreateWithoutProviderInput = {
678
- id?: string
679
- name: string
680
- line2?: string | null
681
- city?: string | null
682
- state?: string | null
683
- country: string
684
- postalCode?: string | null
685
- createdAt?: Date | string
686
- updatedAt?: Date | string
687
- countryCode?: string | null
688
- latitude?: number | null
689
- longitude?: number | null
690
- type?: string
691
- events?: Prisma.EventCreateNestedManyWithoutAddressInput
692
- }
693
-
694
- export type AddressUncheckedCreateWithoutProviderInput = {
695
- id?: string
696
- name: string
697
- line2?: string | null
698
- city?: string | null
699
- state?: string | null
700
- country: string
701
- postalCode?: string | null
702
- createdAt?: Date | string
703
- updatedAt?: Date | string
704
- countryCode?: string | null
705
- latitude?: number | null
706
- longitude?: number | null
707
- type?: string
708
- events?: Prisma.EventUncheckedCreateNestedManyWithoutAddressInput
709
- }
710
-
711
- export type AddressCreateOrConnectWithoutProviderInput = {
712
- where: Prisma.AddressWhereUniqueInput
713
- create: Prisma.XOR<Prisma.AddressCreateWithoutProviderInput, Prisma.AddressUncheckedCreateWithoutProviderInput>
714
- }
715
-
716
- export type AddressUpsertWithoutProviderInput = {
717
- update: Prisma.XOR<Prisma.AddressUpdateWithoutProviderInput, Prisma.AddressUncheckedUpdateWithoutProviderInput>
718
- create: Prisma.XOR<Prisma.AddressCreateWithoutProviderInput, Prisma.AddressUncheckedCreateWithoutProviderInput>
719
- where?: Prisma.AddressWhereInput
720
- }
721
-
722
- export type AddressUpdateToOneWithWhereWithoutProviderInput = {
723
- where?: Prisma.AddressWhereInput
724
- data: Prisma.XOR<Prisma.AddressUpdateWithoutProviderInput, Prisma.AddressUncheckedUpdateWithoutProviderInput>
725
- }
726
-
727
- export type AddressUpdateWithoutProviderInput = {
728
- id?: Prisma.StringFieldUpdateOperationsInput | string
729
- name?: Prisma.StringFieldUpdateOperationsInput | string
730
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
731
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
732
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
733
- country?: Prisma.StringFieldUpdateOperationsInput | string
734
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
735
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
736
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
737
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
738
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
739
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
740
- type?: Prisma.StringFieldUpdateOperationsInput | string
741
- events?: Prisma.EventUpdateManyWithoutAddressNestedInput
742
- }
743
-
744
- export type AddressUncheckedUpdateWithoutProviderInput = {
745
- id?: Prisma.StringFieldUpdateOperationsInput | string
746
- name?: Prisma.StringFieldUpdateOperationsInput | string
747
- line2?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
748
- city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
749
- state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
750
- country?: Prisma.StringFieldUpdateOperationsInput | string
751
- postalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
752
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
753
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
754
- countryCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
755
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
756
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
757
- type?: Prisma.StringFieldUpdateOperationsInput | string
758
- events?: Prisma.EventUncheckedUpdateManyWithoutAddressNestedInput
759
- }
760
-
761
-
762
- /**
763
- * Count Type AddressCountOutputType
764
- */
765
-
766
- export type AddressCountOutputType = {
767
- events: number
768
- Provider: number
769
- }
770
-
771
- export type AddressCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
772
- events?: boolean | AddressCountOutputTypeCountEventsArgs
773
- Provider?: boolean | AddressCountOutputTypeCountProviderArgs
774
- }
775
-
776
- /**
777
- * AddressCountOutputType without action
778
- */
779
- export type AddressCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
780
- /**
781
- * Select specific fields to fetch from the AddressCountOutputType
782
- */
783
- select?: Prisma.AddressCountOutputTypeSelect<ExtArgs> | null
784
- }
785
-
786
- /**
787
- * AddressCountOutputType without action
788
- */
789
- export type AddressCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
790
- where?: Prisma.EventWhereInput
791
- }
792
-
793
- /**
794
- * AddressCountOutputType without action
795
- */
796
- export type AddressCountOutputTypeCountProviderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
797
- where?: Prisma.ProviderWhereInput
798
- }
799
-
800
-
801
- export type AddressSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
802
- id?: boolean
803
- name?: boolean
804
- line2?: boolean
805
- city?: boolean
806
- state?: boolean
807
- country?: boolean
808
- postalCode?: boolean
809
- createdAt?: boolean
810
- updatedAt?: boolean
811
- countryCode?: boolean
812
- latitude?: boolean
813
- longitude?: boolean
814
- type?: boolean
815
- events?: boolean | Prisma.Address$eventsArgs<ExtArgs>
816
- Provider?: boolean | Prisma.Address$ProviderArgs<ExtArgs>
817
- _count?: boolean | Prisma.AddressCountOutputTypeDefaultArgs<ExtArgs>
818
- }, ExtArgs["result"]["address"]>
819
-
820
- export type AddressSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
821
- id?: boolean
822
- name?: boolean
823
- line2?: boolean
824
- city?: boolean
825
- state?: boolean
826
- country?: boolean
827
- postalCode?: boolean
828
- createdAt?: boolean
829
- updatedAt?: boolean
830
- countryCode?: boolean
831
- latitude?: boolean
832
- longitude?: boolean
833
- type?: boolean
834
- }, ExtArgs["result"]["address"]>
835
-
836
- export type AddressSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
837
- id?: boolean
838
- name?: boolean
839
- line2?: boolean
840
- city?: boolean
841
- state?: boolean
842
- country?: boolean
843
- postalCode?: boolean
844
- createdAt?: boolean
845
- updatedAt?: boolean
846
- countryCode?: boolean
847
- latitude?: boolean
848
- longitude?: boolean
849
- type?: boolean
850
- }, ExtArgs["result"]["address"]>
851
-
852
- export type AddressSelectScalar = {
853
- id?: boolean
854
- name?: boolean
855
- line2?: boolean
856
- city?: boolean
857
- state?: boolean
858
- country?: boolean
859
- postalCode?: boolean
860
- createdAt?: boolean
861
- updatedAt?: boolean
862
- countryCode?: boolean
863
- latitude?: boolean
864
- longitude?: boolean
865
- type?: boolean
866
- }
867
-
868
- export type AddressOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "line2" | "city" | "state" | "country" | "postalCode" | "createdAt" | "updatedAt" | "countryCode" | "latitude" | "longitude" | "type", ExtArgs["result"]["address"]>
869
- export type AddressInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
870
- events?: boolean | Prisma.Address$eventsArgs<ExtArgs>
871
- Provider?: boolean | Prisma.Address$ProviderArgs<ExtArgs>
872
- _count?: boolean | Prisma.AddressCountOutputTypeDefaultArgs<ExtArgs>
873
- }
874
- export type AddressIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
875
- export type AddressIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
876
-
877
- export type $AddressPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
878
- name: "Address"
879
- objects: {
880
- events: Prisma.$EventPayload<ExtArgs>[]
881
- Provider: Prisma.$ProviderPayload<ExtArgs>[]
882
- }
883
- scalars: runtime.Types.Extensions.GetPayloadResult<{
884
- id: string
885
- name: string
886
- line2: string | null
887
- city: string | null
888
- state: string | null
889
- country: string
890
- postalCode: string | null
891
- createdAt: Date
892
- updatedAt: Date
893
- countryCode: string | null
894
- latitude: number | null
895
- longitude: number | null
896
- type: string
897
- }, ExtArgs["result"]["address"]>
898
- composites: {}
899
- }
900
-
901
- export type AddressGetPayload<S extends boolean | null | undefined | AddressDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AddressPayload, S>
902
-
903
- export type AddressCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
904
- Omit<AddressFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
905
- select?: AddressCountAggregateInputType | true
906
- }
907
-
908
- export interface AddressDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
909
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Address'], meta: { name: 'Address' } }
910
- /**
911
- * Find zero or one Address that matches the filter.
912
- * @param {AddressFindUniqueArgs} args - Arguments to find a Address
913
- * @example
914
- * // Get one Address
915
- * const address = await prisma.address.findUnique({
916
- * where: {
917
- * // ... provide filter here
918
- * }
919
- * })
920
- */
921
- findUnique<T extends AddressFindUniqueArgs>(args: Prisma.SelectSubset<T, AddressFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
922
-
923
- /**
924
- * Find one Address that matches the filter or throw an error with `error.code='P2025'`
925
- * if no matches were found.
926
- * @param {AddressFindUniqueOrThrowArgs} args - Arguments to find a Address
927
- * @example
928
- * // Get one Address
929
- * const address = await prisma.address.findUniqueOrThrow({
930
- * where: {
931
- * // ... provide filter here
932
- * }
933
- * })
934
- */
935
- findUniqueOrThrow<T extends AddressFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AddressFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
936
-
937
- /**
938
- * Find the first Address that matches the filter.
939
- * Note, that providing `undefined` is treated as the value not being there.
940
- * Read more here: https://pris.ly/d/null-undefined
941
- * @param {AddressFindFirstArgs} args - Arguments to find a Address
942
- * @example
943
- * // Get one Address
944
- * const address = await prisma.address.findFirst({
945
- * where: {
946
- * // ... provide filter here
947
- * }
948
- * })
949
- */
950
- findFirst<T extends AddressFindFirstArgs>(args?: Prisma.SelectSubset<T, AddressFindFirstArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
951
-
952
- /**
953
- * Find the first Address that matches the filter or
954
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
955
- * Note, that providing `undefined` is treated as the value not being there.
956
- * Read more here: https://pris.ly/d/null-undefined
957
- * @param {AddressFindFirstOrThrowArgs} args - Arguments to find a Address
958
- * @example
959
- * // Get one Address
960
- * const address = await prisma.address.findFirstOrThrow({
961
- * where: {
962
- * // ... provide filter here
963
- * }
964
- * })
965
- */
966
- findFirstOrThrow<T extends AddressFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AddressFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
967
-
968
- /**
969
- * Find zero or more Addresses that matches the filter.
970
- * Note, that providing `undefined` is treated as the value not being there.
971
- * Read more here: https://pris.ly/d/null-undefined
972
- * @param {AddressFindManyArgs} args - Arguments to filter and select certain fields only.
973
- * @example
974
- * // Get all Addresses
975
- * const addresses = await prisma.address.findMany()
976
- *
977
- * // Get first 10 Addresses
978
- * const addresses = await prisma.address.findMany({ take: 10 })
979
- *
980
- * // Only select the `id`
981
- * const addressWithIdOnly = await prisma.address.findMany({ select: { id: true } })
982
- *
983
- */
984
- findMany<T extends AddressFindManyArgs>(args?: Prisma.SelectSubset<T, AddressFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
985
-
986
- /**
987
- * Create a Address.
988
- * @param {AddressCreateArgs} args - Arguments to create a Address.
989
- * @example
990
- * // Create one Address
991
- * const Address = await prisma.address.create({
992
- * data: {
993
- * // ... data to create a Address
994
- * }
995
- * })
996
- *
997
- */
998
- create<T extends AddressCreateArgs>(args: Prisma.SelectSubset<T, AddressCreateArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
999
-
1000
- /**
1001
- * Create many Addresses.
1002
- * @param {AddressCreateManyArgs} args - Arguments to create many Addresses.
1003
- * @example
1004
- * // Create many Addresses
1005
- * const address = await prisma.address.createMany({
1006
- * data: [
1007
- * // ... provide data here
1008
- * ]
1009
- * })
1010
- *
1011
- */
1012
- createMany<T extends AddressCreateManyArgs>(args?: Prisma.SelectSubset<T, AddressCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1013
-
1014
- /**
1015
- * Create many Addresses and returns the data saved in the database.
1016
- * @param {AddressCreateManyAndReturnArgs} args - Arguments to create many Addresses.
1017
- * @example
1018
- * // Create many Addresses
1019
- * const address = await prisma.address.createManyAndReturn({
1020
- * data: [
1021
- * // ... provide data here
1022
- * ]
1023
- * })
1024
- *
1025
- * // Create many Addresses and only return the `id`
1026
- * const addressWithIdOnly = await prisma.address.createManyAndReturn({
1027
- * select: { id: true },
1028
- * data: [
1029
- * // ... provide data here
1030
- * ]
1031
- * })
1032
- * Note, that providing `undefined` is treated as the value not being there.
1033
- * Read more here: https://pris.ly/d/null-undefined
1034
- *
1035
- */
1036
- createManyAndReturn<T extends AddressCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AddressCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1037
-
1038
- /**
1039
- * Delete a Address.
1040
- * @param {AddressDeleteArgs} args - Arguments to delete one Address.
1041
- * @example
1042
- * // Delete one Address
1043
- * const Address = await prisma.address.delete({
1044
- * where: {
1045
- * // ... filter to delete one Address
1046
- * }
1047
- * })
1048
- *
1049
- */
1050
- delete<T extends AddressDeleteArgs>(args: Prisma.SelectSubset<T, AddressDeleteArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1051
-
1052
- /**
1053
- * Update one Address.
1054
- * @param {AddressUpdateArgs} args - Arguments to update one Address.
1055
- * @example
1056
- * // Update one Address
1057
- * const address = await prisma.address.update({
1058
- * where: {
1059
- * // ... provide filter here
1060
- * },
1061
- * data: {
1062
- * // ... provide data here
1063
- * }
1064
- * })
1065
- *
1066
- */
1067
- update<T extends AddressUpdateArgs>(args: Prisma.SelectSubset<T, AddressUpdateArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1068
-
1069
- /**
1070
- * Delete zero or more Addresses.
1071
- * @param {AddressDeleteManyArgs} args - Arguments to filter Addresses to delete.
1072
- * @example
1073
- * // Delete a few Addresses
1074
- * const { count } = await prisma.address.deleteMany({
1075
- * where: {
1076
- * // ... provide filter here
1077
- * }
1078
- * })
1079
- *
1080
- */
1081
- deleteMany<T extends AddressDeleteManyArgs>(args?: Prisma.SelectSubset<T, AddressDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1082
-
1083
- /**
1084
- * Update zero or more Addresses.
1085
- * Note, that providing `undefined` is treated as the value not being there.
1086
- * Read more here: https://pris.ly/d/null-undefined
1087
- * @param {AddressUpdateManyArgs} args - Arguments to update one or more rows.
1088
- * @example
1089
- * // Update many Addresses
1090
- * const address = await prisma.address.updateMany({
1091
- * where: {
1092
- * // ... provide filter here
1093
- * },
1094
- * data: {
1095
- * // ... provide data here
1096
- * }
1097
- * })
1098
- *
1099
- */
1100
- updateMany<T extends AddressUpdateManyArgs>(args: Prisma.SelectSubset<T, AddressUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1101
-
1102
- /**
1103
- * Update zero or more Addresses and returns the data updated in the database.
1104
- * @param {AddressUpdateManyAndReturnArgs} args - Arguments to update many Addresses.
1105
- * @example
1106
- * // Update many Addresses
1107
- * const address = await prisma.address.updateManyAndReturn({
1108
- * where: {
1109
- * // ... provide filter here
1110
- * },
1111
- * data: [
1112
- * // ... provide data here
1113
- * ]
1114
- * })
1115
- *
1116
- * // Update zero or more Addresses and only return the `id`
1117
- * const addressWithIdOnly = await prisma.address.updateManyAndReturn({
1118
- * select: { id: true },
1119
- * where: {
1120
- * // ... provide filter here
1121
- * },
1122
- * data: [
1123
- * // ... provide data here
1124
- * ]
1125
- * })
1126
- * Note, that providing `undefined` is treated as the value not being there.
1127
- * Read more here: https://pris.ly/d/null-undefined
1128
- *
1129
- */
1130
- updateManyAndReturn<T extends AddressUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AddressUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1131
-
1132
- /**
1133
- * Create or update one Address.
1134
- * @param {AddressUpsertArgs} args - Arguments to update or create a Address.
1135
- * @example
1136
- * // Update or create a Address
1137
- * const address = await prisma.address.upsert({
1138
- * create: {
1139
- * // ... data to create a Address
1140
- * },
1141
- * update: {
1142
- * // ... in case it already exists, update
1143
- * },
1144
- * where: {
1145
- * // ... the filter for the Address we want to update
1146
- * }
1147
- * })
1148
- */
1149
- upsert<T extends AddressUpsertArgs>(args: Prisma.SelectSubset<T, AddressUpsertArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1150
-
1151
-
1152
- /**
1153
- * Count the number of Addresses.
1154
- * Note, that providing `undefined` is treated as the value not being there.
1155
- * Read more here: https://pris.ly/d/null-undefined
1156
- * @param {AddressCountArgs} args - Arguments to filter Addresses to count.
1157
- * @example
1158
- * // Count the number of Addresses
1159
- * const count = await prisma.address.count({
1160
- * where: {
1161
- * // ... the filter for the Addresses we want to count
1162
- * }
1163
- * })
1164
- **/
1165
- count<T extends AddressCountArgs>(
1166
- args?: Prisma.Subset<T, AddressCountArgs>,
1167
- ): Prisma.PrismaPromise<
1168
- T extends runtime.Types.Utils.Record<'select', any>
1169
- ? T['select'] extends true
1170
- ? number
1171
- : Prisma.GetScalarType<T['select'], AddressCountAggregateOutputType>
1172
- : number
1173
- >
1174
-
1175
- /**
1176
- * Allows you to perform aggregations operations on a Address.
1177
- * Note, that providing `undefined` is treated as the value not being there.
1178
- * Read more here: https://pris.ly/d/null-undefined
1179
- * @param {AddressAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1180
- * @example
1181
- * // Ordered by age ascending
1182
- * // Where email contains prisma.io
1183
- * // Limited to the 10 users
1184
- * const aggregations = await prisma.user.aggregate({
1185
- * _avg: {
1186
- * age: true,
1187
- * },
1188
- * where: {
1189
- * email: {
1190
- * contains: "prisma.io",
1191
- * },
1192
- * },
1193
- * orderBy: {
1194
- * age: "asc",
1195
- * },
1196
- * take: 10,
1197
- * })
1198
- **/
1199
- aggregate<T extends AddressAggregateArgs>(args: Prisma.Subset<T, AddressAggregateArgs>): Prisma.PrismaPromise<GetAddressAggregateType<T>>
1200
-
1201
- /**
1202
- * Group by Address.
1203
- * Note, that providing `undefined` is treated as the value not being there.
1204
- * Read more here: https://pris.ly/d/null-undefined
1205
- * @param {AddressGroupByArgs} args - Group by arguments.
1206
- * @example
1207
- * // Group by city, order by createdAt, get count
1208
- * const result = await prisma.user.groupBy({
1209
- * by: ['city', 'createdAt'],
1210
- * orderBy: {
1211
- * createdAt: true
1212
- * },
1213
- * _count: {
1214
- * _all: true
1215
- * },
1216
- * })
1217
- *
1218
- **/
1219
- groupBy<
1220
- T extends AddressGroupByArgs,
1221
- HasSelectOrTake extends Prisma.Or<
1222
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1223
- Prisma.Extends<'take', Prisma.Keys<T>>
1224
- >,
1225
- OrderByArg extends Prisma.True extends HasSelectOrTake
1226
- ? { orderBy: AddressGroupByArgs['orderBy'] }
1227
- : { orderBy?: AddressGroupByArgs['orderBy'] },
1228
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1229
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1230
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1231
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1232
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1233
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1234
- InputErrors extends ByEmpty extends Prisma.True
1235
- ? `Error: "by" must not be empty.`
1236
- : HavingValid extends Prisma.False
1237
- ? {
1238
- [P in HavingFields]: P extends ByFields
1239
- ? never
1240
- : P extends string
1241
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1242
- : [
1243
- Error,
1244
- 'Field ',
1245
- P,
1246
- ` in "having" needs to be provided in "by"`,
1247
- ]
1248
- }[HavingFields]
1249
- : 'take' extends Prisma.Keys<T>
1250
- ? 'orderBy' extends Prisma.Keys<T>
1251
- ? ByValid extends Prisma.True
1252
- ? {}
1253
- : {
1254
- [P in OrderFields]: P extends ByFields
1255
- ? never
1256
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1257
- }[OrderFields]
1258
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1259
- : 'skip' extends Prisma.Keys<T>
1260
- ? 'orderBy' extends Prisma.Keys<T>
1261
- ? ByValid extends Prisma.True
1262
- ? {}
1263
- : {
1264
- [P in OrderFields]: P extends ByFields
1265
- ? never
1266
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1267
- }[OrderFields]
1268
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1269
- : ByValid extends Prisma.True
1270
- ? {}
1271
- : {
1272
- [P in OrderFields]: P extends ByFields
1273
- ? never
1274
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1275
- }[OrderFields]
1276
- >(args: Prisma.SubsetIntersection<T, AddressGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAddressGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1277
- /**
1278
- * Fields of the Address model
1279
- */
1280
- readonly fields: AddressFieldRefs;
1281
- }
1282
-
1283
- /**
1284
- * The delegate class that acts as a "Promise-like" for Address.
1285
- * Why is this prefixed with `Prisma__`?
1286
- * Because we want to prevent naming conflicts as mentioned in
1287
- * https://github.com/prisma/prisma-client-js/issues/707
1288
- */
1289
- export interface Prisma__AddressClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1290
- readonly [Symbol.toStringTag]: "PrismaPromise"
1291
- events<T extends Prisma.Address$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Address$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1292
- Provider<T extends Prisma.Address$ProviderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Address$ProviderArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1293
- /**
1294
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1295
- * @param onfulfilled The callback to execute when the Promise is resolved.
1296
- * @param onrejected The callback to execute when the Promise is rejected.
1297
- * @returns A Promise for the completion of which ever callback is executed.
1298
- */
1299
- 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>
1300
- /**
1301
- * Attaches a callback for only the rejection of the Promise.
1302
- * @param onrejected The callback to execute when the Promise is rejected.
1303
- * @returns A Promise for the completion of the callback.
1304
- */
1305
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1306
- /**
1307
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1308
- * resolved value cannot be modified from the callback.
1309
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1310
- * @returns A Promise for the completion of the callback.
1311
- */
1312
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1313
- }
1314
-
1315
-
1316
-
1317
-
1318
- /**
1319
- * Fields of the Address model
1320
- */
1321
- export interface AddressFieldRefs {
1322
- readonly id: Prisma.FieldRef<"Address", 'String'>
1323
- readonly name: Prisma.FieldRef<"Address", 'String'>
1324
- readonly line2: Prisma.FieldRef<"Address", 'String'>
1325
- readonly city: Prisma.FieldRef<"Address", 'String'>
1326
- readonly state: Prisma.FieldRef<"Address", 'String'>
1327
- readonly country: Prisma.FieldRef<"Address", 'String'>
1328
- readonly postalCode: Prisma.FieldRef<"Address", 'String'>
1329
- readonly createdAt: Prisma.FieldRef<"Address", 'DateTime'>
1330
- readonly updatedAt: Prisma.FieldRef<"Address", 'DateTime'>
1331
- readonly countryCode: Prisma.FieldRef<"Address", 'String'>
1332
- readonly latitude: Prisma.FieldRef<"Address", 'Float'>
1333
- readonly longitude: Prisma.FieldRef<"Address", 'Float'>
1334
- readonly type: Prisma.FieldRef<"Address", 'String'>
1335
- }
1336
-
1337
-
1338
- // Custom InputTypes
1339
- /**
1340
- * Address findUnique
1341
- */
1342
- export type AddressFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1343
- /**
1344
- * Select specific fields to fetch from the Address
1345
- */
1346
- select?: Prisma.AddressSelect<ExtArgs> | null
1347
- /**
1348
- * Omit specific fields from the Address
1349
- */
1350
- omit?: Prisma.AddressOmit<ExtArgs> | null
1351
- /**
1352
- * Choose, which related nodes to fetch as well
1353
- */
1354
- include?: Prisma.AddressInclude<ExtArgs> | null
1355
- /**
1356
- * Filter, which Address to fetch.
1357
- */
1358
- where: Prisma.AddressWhereUniqueInput
1359
- }
1360
-
1361
- /**
1362
- * Address findUniqueOrThrow
1363
- */
1364
- export type AddressFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1365
- /**
1366
- * Select specific fields to fetch from the Address
1367
- */
1368
- select?: Prisma.AddressSelect<ExtArgs> | null
1369
- /**
1370
- * Omit specific fields from the Address
1371
- */
1372
- omit?: Prisma.AddressOmit<ExtArgs> | null
1373
- /**
1374
- * Choose, which related nodes to fetch as well
1375
- */
1376
- include?: Prisma.AddressInclude<ExtArgs> | null
1377
- /**
1378
- * Filter, which Address to fetch.
1379
- */
1380
- where: Prisma.AddressWhereUniqueInput
1381
- }
1382
-
1383
- /**
1384
- * Address findFirst
1385
- */
1386
- export type AddressFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1387
- /**
1388
- * Select specific fields to fetch from the Address
1389
- */
1390
- select?: Prisma.AddressSelect<ExtArgs> | null
1391
- /**
1392
- * Omit specific fields from the Address
1393
- */
1394
- omit?: Prisma.AddressOmit<ExtArgs> | null
1395
- /**
1396
- * Choose, which related nodes to fetch as well
1397
- */
1398
- include?: Prisma.AddressInclude<ExtArgs> | null
1399
- /**
1400
- * Filter, which Address to fetch.
1401
- */
1402
- where?: Prisma.AddressWhereInput
1403
- /**
1404
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1405
- *
1406
- * Determine the order of Addresses to fetch.
1407
- */
1408
- orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]
1409
- /**
1410
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1411
- *
1412
- * Sets the position for searching for Addresses.
1413
- */
1414
- cursor?: Prisma.AddressWhereUniqueInput
1415
- /**
1416
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1417
- *
1418
- * Take `±n` Addresses from the position of the cursor.
1419
- */
1420
- take?: number
1421
- /**
1422
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1423
- *
1424
- * Skip the first `n` Addresses.
1425
- */
1426
- skip?: number
1427
- /**
1428
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1429
- *
1430
- * Filter by unique combinations of Addresses.
1431
- */
1432
- distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[]
1433
- }
1434
-
1435
- /**
1436
- * Address findFirstOrThrow
1437
- */
1438
- export type AddressFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1439
- /**
1440
- * Select specific fields to fetch from the Address
1441
- */
1442
- select?: Prisma.AddressSelect<ExtArgs> | null
1443
- /**
1444
- * Omit specific fields from the Address
1445
- */
1446
- omit?: Prisma.AddressOmit<ExtArgs> | null
1447
- /**
1448
- * Choose, which related nodes to fetch as well
1449
- */
1450
- include?: Prisma.AddressInclude<ExtArgs> | null
1451
- /**
1452
- * Filter, which Address to fetch.
1453
- */
1454
- where?: Prisma.AddressWhereInput
1455
- /**
1456
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1457
- *
1458
- * Determine the order of Addresses to fetch.
1459
- */
1460
- orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]
1461
- /**
1462
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1463
- *
1464
- * Sets the position for searching for Addresses.
1465
- */
1466
- cursor?: Prisma.AddressWhereUniqueInput
1467
- /**
1468
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1469
- *
1470
- * Take `±n` Addresses from the position of the cursor.
1471
- */
1472
- take?: number
1473
- /**
1474
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1475
- *
1476
- * Skip the first `n` Addresses.
1477
- */
1478
- skip?: number
1479
- /**
1480
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1481
- *
1482
- * Filter by unique combinations of Addresses.
1483
- */
1484
- distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[]
1485
- }
1486
-
1487
- /**
1488
- * Address findMany
1489
- */
1490
- export type AddressFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1491
- /**
1492
- * Select specific fields to fetch from the Address
1493
- */
1494
- select?: Prisma.AddressSelect<ExtArgs> | null
1495
- /**
1496
- * Omit specific fields from the Address
1497
- */
1498
- omit?: Prisma.AddressOmit<ExtArgs> | null
1499
- /**
1500
- * Choose, which related nodes to fetch as well
1501
- */
1502
- include?: Prisma.AddressInclude<ExtArgs> | null
1503
- /**
1504
- * Filter, which Addresses to fetch.
1505
- */
1506
- where?: Prisma.AddressWhereInput
1507
- /**
1508
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1509
- *
1510
- * Determine the order of Addresses to fetch.
1511
- */
1512
- orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[]
1513
- /**
1514
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1515
- *
1516
- * Sets the position for listing Addresses.
1517
- */
1518
- cursor?: Prisma.AddressWhereUniqueInput
1519
- /**
1520
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1521
- *
1522
- * Take `±n` Addresses from the position of the cursor.
1523
- */
1524
- take?: number
1525
- /**
1526
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1527
- *
1528
- * Skip the first `n` Addresses.
1529
- */
1530
- skip?: number
1531
- /**
1532
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1533
- *
1534
- * Filter by unique combinations of Addresses.
1535
- */
1536
- distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[]
1537
- }
1538
-
1539
- /**
1540
- * Address create
1541
- */
1542
- export type AddressCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1543
- /**
1544
- * Select specific fields to fetch from the Address
1545
- */
1546
- select?: Prisma.AddressSelect<ExtArgs> | null
1547
- /**
1548
- * Omit specific fields from the Address
1549
- */
1550
- omit?: Prisma.AddressOmit<ExtArgs> | null
1551
- /**
1552
- * Choose, which related nodes to fetch as well
1553
- */
1554
- include?: Prisma.AddressInclude<ExtArgs> | null
1555
- /**
1556
- * The data needed to create a Address.
1557
- */
1558
- data: Prisma.XOR<Prisma.AddressCreateInput, Prisma.AddressUncheckedCreateInput>
1559
- }
1560
-
1561
- /**
1562
- * Address createMany
1563
- */
1564
- export type AddressCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1565
- /**
1566
- * The data used to create many Addresses.
1567
- */
1568
- data: Prisma.AddressCreateManyInput | Prisma.AddressCreateManyInput[]
1569
- skipDuplicates?: boolean
1570
- }
1571
-
1572
- /**
1573
- * Address createManyAndReturn
1574
- */
1575
- export type AddressCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1576
- /**
1577
- * Select specific fields to fetch from the Address
1578
- */
1579
- select?: Prisma.AddressSelectCreateManyAndReturn<ExtArgs> | null
1580
- /**
1581
- * Omit specific fields from the Address
1582
- */
1583
- omit?: Prisma.AddressOmit<ExtArgs> | null
1584
- /**
1585
- * The data used to create many Addresses.
1586
- */
1587
- data: Prisma.AddressCreateManyInput | Prisma.AddressCreateManyInput[]
1588
- skipDuplicates?: boolean
1589
- }
1590
-
1591
- /**
1592
- * Address update
1593
- */
1594
- export type AddressUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1595
- /**
1596
- * Select specific fields to fetch from the Address
1597
- */
1598
- select?: Prisma.AddressSelect<ExtArgs> | null
1599
- /**
1600
- * Omit specific fields from the Address
1601
- */
1602
- omit?: Prisma.AddressOmit<ExtArgs> | null
1603
- /**
1604
- * Choose, which related nodes to fetch as well
1605
- */
1606
- include?: Prisma.AddressInclude<ExtArgs> | null
1607
- /**
1608
- * The data needed to update a Address.
1609
- */
1610
- data: Prisma.XOR<Prisma.AddressUpdateInput, Prisma.AddressUncheckedUpdateInput>
1611
- /**
1612
- * Choose, which Address to update.
1613
- */
1614
- where: Prisma.AddressWhereUniqueInput
1615
- }
1616
-
1617
- /**
1618
- * Address updateMany
1619
- */
1620
- export type AddressUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1621
- /**
1622
- * The data used to update Addresses.
1623
- */
1624
- data: Prisma.XOR<Prisma.AddressUpdateManyMutationInput, Prisma.AddressUncheckedUpdateManyInput>
1625
- /**
1626
- * Filter which Addresses to update
1627
- */
1628
- where?: Prisma.AddressWhereInput
1629
- /**
1630
- * Limit how many Addresses to update.
1631
- */
1632
- limit?: number
1633
- }
1634
-
1635
- /**
1636
- * Address updateManyAndReturn
1637
- */
1638
- export type AddressUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1639
- /**
1640
- * Select specific fields to fetch from the Address
1641
- */
1642
- select?: Prisma.AddressSelectUpdateManyAndReturn<ExtArgs> | null
1643
- /**
1644
- * Omit specific fields from the Address
1645
- */
1646
- omit?: Prisma.AddressOmit<ExtArgs> | null
1647
- /**
1648
- * The data used to update Addresses.
1649
- */
1650
- data: Prisma.XOR<Prisma.AddressUpdateManyMutationInput, Prisma.AddressUncheckedUpdateManyInput>
1651
- /**
1652
- * Filter which Addresses to update
1653
- */
1654
- where?: Prisma.AddressWhereInput
1655
- /**
1656
- * Limit how many Addresses to update.
1657
- */
1658
- limit?: number
1659
- }
1660
-
1661
- /**
1662
- * Address upsert
1663
- */
1664
- export type AddressUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1665
- /**
1666
- * Select specific fields to fetch from the Address
1667
- */
1668
- select?: Prisma.AddressSelect<ExtArgs> | null
1669
- /**
1670
- * Omit specific fields from the Address
1671
- */
1672
- omit?: Prisma.AddressOmit<ExtArgs> | null
1673
- /**
1674
- * Choose, which related nodes to fetch as well
1675
- */
1676
- include?: Prisma.AddressInclude<ExtArgs> | null
1677
- /**
1678
- * The filter to search for the Address to update in case it exists.
1679
- */
1680
- where: Prisma.AddressWhereUniqueInput
1681
- /**
1682
- * In case the Address found by the `where` argument doesn't exist, create a new Address with this data.
1683
- */
1684
- create: Prisma.XOR<Prisma.AddressCreateInput, Prisma.AddressUncheckedCreateInput>
1685
- /**
1686
- * In case the Address was found with the provided `where` argument, update it with this data.
1687
- */
1688
- update: Prisma.XOR<Prisma.AddressUpdateInput, Prisma.AddressUncheckedUpdateInput>
1689
- }
1690
-
1691
- /**
1692
- * Address delete
1693
- */
1694
- export type AddressDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1695
- /**
1696
- * Select specific fields to fetch from the Address
1697
- */
1698
- select?: Prisma.AddressSelect<ExtArgs> | null
1699
- /**
1700
- * Omit specific fields from the Address
1701
- */
1702
- omit?: Prisma.AddressOmit<ExtArgs> | null
1703
- /**
1704
- * Choose, which related nodes to fetch as well
1705
- */
1706
- include?: Prisma.AddressInclude<ExtArgs> | null
1707
- /**
1708
- * Filter which Address to delete.
1709
- */
1710
- where: Prisma.AddressWhereUniqueInput
1711
- }
1712
-
1713
- /**
1714
- * Address deleteMany
1715
- */
1716
- export type AddressDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1717
- /**
1718
- * Filter which Addresses to delete
1719
- */
1720
- where?: Prisma.AddressWhereInput
1721
- /**
1722
- * Limit how many Addresses to delete.
1723
- */
1724
- limit?: number
1725
- }
1726
-
1727
- /**
1728
- * Address.events
1729
- */
1730
- export type Address$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1731
- /**
1732
- * Select specific fields to fetch from the Event
1733
- */
1734
- select?: Prisma.EventSelect<ExtArgs> | null
1735
- /**
1736
- * Omit specific fields from the Event
1737
- */
1738
- omit?: Prisma.EventOmit<ExtArgs> | null
1739
- /**
1740
- * Choose, which related nodes to fetch as well
1741
- */
1742
- include?: Prisma.EventInclude<ExtArgs> | null
1743
- where?: Prisma.EventWhereInput
1744
- orderBy?: Prisma.EventOrderByWithRelationInput | Prisma.EventOrderByWithRelationInput[]
1745
- cursor?: Prisma.EventWhereUniqueInput
1746
- take?: number
1747
- skip?: number
1748
- distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[]
1749
- }
1750
-
1751
- /**
1752
- * Address.Provider
1753
- */
1754
- export type Address$ProviderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1755
- /**
1756
- * Select specific fields to fetch from the Provider
1757
- */
1758
- select?: Prisma.ProviderSelect<ExtArgs> | null
1759
- /**
1760
- * Omit specific fields from the Provider
1761
- */
1762
- omit?: Prisma.ProviderOmit<ExtArgs> | null
1763
- /**
1764
- * Choose, which related nodes to fetch as well
1765
- */
1766
- include?: Prisma.ProviderInclude<ExtArgs> | null
1767
- where?: Prisma.ProviderWhereInput
1768
- orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[]
1769
- cursor?: Prisma.ProviderWhereUniqueInput
1770
- take?: number
1771
- skip?: number
1772
- distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[]
1773
- }
1774
-
1775
- /**
1776
- * Address without action
1777
- */
1778
- export type AddressDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1779
- /**
1780
- * Select specific fields to fetch from the Address
1781
- */
1782
- select?: Prisma.AddressSelect<ExtArgs> | null
1783
- /**
1784
- * Omit specific fields from the Address
1785
- */
1786
- omit?: Prisma.AddressOmit<ExtArgs> | null
1787
- /**
1788
- * Choose, which related nodes to fetch as well
1789
- */
1790
- include?: Prisma.AddressInclude<ExtArgs> | null
1791
- }