@kosha-ai/server 0.1.0 → 0.2.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 (199) hide show
  1. package/dist/auth/api-key.guard.d.ts +7 -2
  2. package/dist/auth/api-key.guard.d.ts.map +1 -1
  3. package/dist/auth/api-key.guard.js +28 -8
  4. package/dist/auth/auth.factory.d.ts +15 -1
  5. package/dist/auth/auth.factory.d.ts.map +1 -1
  6. package/dist/auth/auth.factory.js +48 -2
  7. package/dist/bootstrap.d.ts.map +1 -1
  8. package/dist/bootstrap.js +24 -6
  9. package/dist/configurations/configurations.controller.d.ts +11 -136
  10. package/dist/configurations/configurations.controller.d.ts.map +1 -1
  11. package/dist/configurations/configurations.controller.js +58 -25
  12. package/dist/configurations/configurations.module.d.ts.map +1 -1
  13. package/dist/configurations/configurations.module.js +4 -1
  14. package/dist/configurations/configurations.repository.d.ts +43 -0
  15. package/dist/configurations/configurations.repository.d.ts.map +1 -0
  16. package/dist/configurations/configurations.repository.js +76 -0
  17. package/dist/configurations/configurations.service.d.ts +38 -194
  18. package/dist/configurations/configurations.service.d.ts.map +1 -1
  19. package/dist/configurations/configurations.service.js +118 -110
  20. package/dist/configurations/dto/create-configuration.dto.d.ts +8 -0
  21. package/dist/configurations/dto/create-configuration.dto.d.ts.map +1 -0
  22. package/dist/configurations/dto/create-configuration.dto.js +54 -0
  23. package/dist/configurations/dto/update-configuration.dto.d.ts +7 -0
  24. package/dist/configurations/dto/update-configuration.dto.d.ts.map +1 -0
  25. package/dist/configurations/dto/update-configuration.dto.js +39 -0
  26. package/dist/connect/connect.controller.d.ts +6 -8
  27. package/dist/connect/connect.controller.d.ts.map +1 -1
  28. package/dist/connect/connect.controller.js +45 -15
  29. package/dist/connect/connect.module.d.ts.map +1 -1
  30. package/dist/connect/connect.module.js +4 -2
  31. package/dist/connect/connect.repository.d.ts +78 -0
  32. package/dist/connect/connect.repository.d.ts.map +1 -0
  33. package/dist/connect/connect.repository.js +146 -0
  34. package/dist/connect/connect.service.d.ts +28 -19
  35. package/dist/connect/connect.service.d.ts.map +1 -1
  36. package/dist/connect/connect.service.js +149 -163
  37. package/dist/connect/dto/create-connect-session.dto.d.ts +8 -0
  38. package/dist/connect/dto/create-connect-session.dto.d.ts.map +1 -0
  39. package/dist/connect/dto/create-connect-session.dto.js +55 -0
  40. package/dist/connect/dto/create-test-session.dto.d.ts +10 -0
  41. package/dist/connect/dto/create-test-session.dto.d.ts.map +1 -0
  42. package/dist/connect/dto/create-test-session.dto.js +34 -0
  43. package/dist/connections/connections.controller.d.ts +8 -61
  44. package/dist/connections/connections.controller.d.ts.map +1 -1
  45. package/dist/connections/connections.controller.js +31 -9
  46. package/dist/connections/connections.module.d.ts.map +1 -1
  47. package/dist/connections/connections.module.js +4 -1
  48. package/dist/connections/connections.repository.d.ts +24 -0
  49. package/dist/connections/connections.repository.d.ts.map +1 -0
  50. package/dist/connections/connections.repository.js +66 -0
  51. package/dist/connections/connections.service.d.ts +24 -69
  52. package/dist/connections/connections.service.d.ts.map +1 -1
  53. package/dist/connections/connections.service.js +59 -56
  54. package/dist/connections/dto/list-connections.dto.d.ts +5 -0
  55. package/dist/connections/dto/list-connections.dto.d.ts.map +1 -0
  56. package/dist/connections/dto/list-connections.dto.js +25 -0
  57. package/dist/connections/environment-connections.controller.d.ts +26 -0
  58. package/dist/connections/environment-connections.controller.d.ts.map +1 -0
  59. package/dist/connections/environment-connections.controller.js +81 -0
  60. package/dist/connections/environment-connections.module.d.ts +11 -0
  61. package/dist/connections/environment-connections.module.d.ts.map +1 -0
  62. package/dist/connections/environment-connections.module.js +21 -0
  63. package/dist/credentials/credentials.module.js +3 -3
  64. package/dist/credentials/credentials.repository.d.ts +8 -0
  65. package/dist/credentials/credentials.repository.d.ts.map +1 -0
  66. package/dist/credentials/credentials.repository.js +21 -0
  67. package/dist/credentials/credentials.service.d.ts +19 -29
  68. package/dist/credentials/credentials.service.d.ts.map +1 -1
  69. package/dist/credentials/credentials.service.js +84 -57
  70. package/dist/crypto/credential-envelope.d.ts +56 -0
  71. package/dist/crypto/credential-envelope.d.ts.map +1 -0
  72. package/dist/crypto/credential-envelope.js +70 -0
  73. package/dist/crypto/crypto.service.d.ts +8 -0
  74. package/dist/crypto/crypto.service.d.ts.map +1 -1
  75. package/dist/crypto/crypto.service.js +12 -0
  76. package/dist/egress/dto/mint-grant.dto.d.ts +7 -0
  77. package/dist/egress/dto/mint-grant.dto.d.ts.map +1 -0
  78. package/dist/egress/dto/mint-grant.dto.js +44 -0
  79. package/dist/egress/egress.controller.d.ts +2 -8
  80. package/dist/egress/egress.controller.d.ts.map +1 -1
  81. package/dist/egress/egress.controller.js +27 -6
  82. package/dist/egress/egress.listener.d.ts +3 -1
  83. package/dist/egress/egress.listener.d.ts.map +1 -1
  84. package/dist/egress/egress.listener.js +12 -8
  85. package/dist/egress/egress.module.d.ts.map +1 -1
  86. package/dist/egress/egress.module.js +10 -2
  87. package/dist/egress/egress.repository.d.ts +58 -0
  88. package/dist/egress/egress.repository.d.ts.map +1 -0
  89. package/dist/egress/egress.repository.js +116 -0
  90. package/dist/egress/grants.service.d.ts +23 -78
  91. package/dist/egress/grants.service.d.ts.map +1 -1
  92. package/dist/egress/grants.service.js +44 -104
  93. package/dist/environments/dto/create-environment.dto.d.ts +6 -0
  94. package/dist/environments/dto/create-environment.dto.d.ts.map +1 -0
  95. package/dist/environments/dto/create-environment.dto.js +34 -0
  96. package/dist/environments/dto/update-environment.dto.d.ts +5 -0
  97. package/dist/environments/dto/update-environment.dto.d.ts.map +1 -0
  98. package/dist/environments/dto/update-environment.dto.js +24 -0
  99. package/dist/environments/environments.controller.d.ts +53 -0
  100. package/dist/environments/environments.controller.d.ts.map +1 -0
  101. package/dist/environments/environments.controller.js +101 -0
  102. package/dist/environments/environments.module.d.ts +3 -0
  103. package/dist/environments/environments.module.d.ts.map +1 -0
  104. package/dist/environments/environments.module.js +15 -0
  105. package/dist/environments/environments.repository.d.ts +37 -0
  106. package/dist/environments/environments.repository.d.ts.map +1 -0
  107. package/dist/environments/environments.repository.js +82 -0
  108. package/dist/environments/environments.service.d.ts +43 -0
  109. package/dist/environments/environments.service.d.ts.map +1 -0
  110. package/dist/environments/environments.service.js +124 -0
  111. package/dist/generated/prisma/browser.d.ts +14 -37
  112. package/dist/generated/prisma/browser.d.ts.map +1 -1
  113. package/dist/generated/prisma/client.d.ts +14 -37
  114. package/dist/generated/prisma/client.d.ts.map +1 -1
  115. package/dist/generated/prisma/commonInputTypes.d.ts +104 -145
  116. package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -1
  117. package/dist/generated/prisma/enums.d.ts +1 -21
  118. package/dist/generated/prisma/enums.d.ts.map +1 -1
  119. package/dist/generated/prisma/enums.js +1 -18
  120. package/dist/generated/prisma/internal/class.d.ts +20 -53
  121. package/dist/generated/prisma/internal/class.d.ts.map +1 -1
  122. package/dist/generated/prisma/internal/class.js +4 -4
  123. package/dist/generated/prisma/internal/prismaNamespace.d.ts +215 -519
  124. package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
  125. package/dist/generated/prisma/internal/prismaNamespace.js +38 -90
  126. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +37 -92
  127. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -1
  128. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +38 -90
  129. package/dist/generated/prisma/models/Account.d.ts +344 -26
  130. package/dist/generated/prisma/models/Account.d.ts.map +1 -1
  131. package/dist/generated/prisma/models/Configuration.d.ts +218 -851
  132. package/dist/generated/prisma/models/Configuration.d.ts.map +1 -1
  133. package/dist/generated/prisma/models/EgressGrant.d.ts +131 -134
  134. package/dist/generated/prisma/models/EgressGrant.d.ts.map +1 -1
  135. package/dist/generated/prisma/models/Environment.d.ts +1644 -0
  136. package/dist/generated/prisma/models/Environment.d.ts.map +1 -0
  137. package/dist/generated/prisma/models/Invitation.d.ts +42 -1
  138. package/dist/generated/prisma/models/Invitation.d.ts.map +1 -1
  139. package/dist/generated/prisma/models/Organization.d.ts +122 -408
  140. package/dist/generated/prisma/models/Organization.d.ts.map +1 -1
  141. package/dist/generated/prisma/models/Session.d.ts +36 -1
  142. package/dist/generated/prisma/models/Session.d.ts.map +1 -1
  143. package/dist/generated/prisma/models/Team.d.ts +1498 -0
  144. package/dist/generated/prisma/models/Team.d.ts.map +1 -0
  145. package/dist/generated/prisma/models/TeamMember.d.ts +1281 -0
  146. package/dist/generated/prisma/models/TeamMember.d.ts.map +1 -0
  147. package/dist/generated/prisma/models/User.d.ts +338 -2
  148. package/dist/generated/prisma/models/User.d.ts.map +1 -1
  149. package/dist/generated/prisma/models.d.ts +3 -6
  150. package/dist/generated/prisma/models.d.ts.map +1 -1
  151. package/dist/index.d.ts +15 -5
  152. package/dist/index.d.ts.map +1 -1
  153. package/dist/index.js +11 -2
  154. package/dist/integrations/integrations.controller.d.ts +2 -1
  155. package/dist/integrations/integrations.controller.d.ts.map +1 -1
  156. package/dist/integrations/integrations.module.d.ts.map +1 -1
  157. package/dist/integrations/integrations.module.js +0 -2
  158. package/dist/kosha.module.d.ts.map +1 -1
  159. package/dist/kosha.module.js +9 -3
  160. package/dist/proxy/proxy.controller.d.ts +8 -3
  161. package/dist/proxy/proxy.controller.d.ts.map +1 -1
  162. package/dist/proxy/proxy.controller.js +26 -10
  163. package/dist/proxy/proxy.module.d.ts.map +1 -1
  164. package/dist/proxy/proxy.module.js +5 -2
  165. package/dist/proxy/proxy.repository.d.ts +24 -0
  166. package/dist/proxy/proxy.repository.d.ts.map +1 -0
  167. package/dist/proxy/proxy.repository.js +47 -0
  168. package/dist/proxy/proxy.service.d.ts +17 -5
  169. package/dist/proxy/proxy.service.d.ts.map +1 -1
  170. package/dist/proxy/proxy.service.js +58 -27
  171. package/package.json +7 -4
  172. package/prisma/migrations/20260929101936_init/migration.sql +345 -0
  173. package/prisma/migrations/20260930102529_connection_config/migration.sql +2 -0
  174. package/prisma/schema.prisma +93 -198
  175. package/dist/generated/prisma/models/ConnectSession.d.ts +0 -1606
  176. package/dist/generated/prisma/models/ConnectSession.d.ts.map +0 -1
  177. package/dist/generated/prisma/models/Connection.d.ts +0 -1949
  178. package/dist/generated/prisma/models/Connection.d.ts.map +0 -1
  179. package/dist/generated/prisma/models/ConnectionCredential.d.ts +0 -1293
  180. package/dist/generated/prisma/models/ConnectionCredential.d.ts.map +0 -1
  181. package/dist/generated/prisma/models/EndUser.d.ts +0 -1666
  182. package/dist/generated/prisma/models/EndUser.d.ts.map +0 -1
  183. package/dist/generated/prisma/models/EndUser.js +0 -1
  184. package/dist/generated/prisma/models/OAuthState.d.ts +0 -1404
  185. package/dist/generated/prisma/models/OAuthState.d.ts.map +0 -1
  186. package/dist/generated/prisma/models/OAuthState.js +0 -1
  187. package/dist/generated/prisma/models/Provider.d.ts +0 -1462
  188. package/dist/generated/prisma/models/Provider.d.ts.map +0 -1
  189. package/dist/generated/prisma/models/Provider.js +0 -1
  190. package/dist/integrations/provider-sync.service.d.ts +0 -24
  191. package/dist/integrations/provider-sync.service.d.ts.map +0 -1
  192. package/dist/integrations/provider-sync.service.js +0 -74
  193. package/prisma/migrations/20260908000000_init/migration.sql +0 -209
  194. package/prisma/migrations/20260908161813_add_connect_domain/migration.sql +0 -173
  195. package/prisma/migrations/20260916000000_add_configuration_slug/migration.sql +0 -15
  196. package/prisma/migrations/20260921000000_add_egress_grant/migration.sql +0 -31
  197. /package/dist/generated/prisma/models/{ConnectSession.js → Environment.js} +0 -0
  198. /package/dist/generated/prisma/models/{Connection.js → Team.js} +0 -0
  199. /package/dist/generated/prisma/models/{ConnectionCredential.js → TeamMember.js} +0 -0
@@ -1,1462 +0,0 @@
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 Provider
6
- * Catalogue of providers Kosha can talk to. Derived state: every row is
7
- * upserted at boot from the installed integration packages, and rows whose
8
- * package is gone are deactivated rather than deleted.
9
- */
10
- export type ProviderModel = runtime.Types.Result.DefaultSelection<Prisma.$ProviderPayload>;
11
- export type AggregateProvider = {
12
- _count: ProviderCountAggregateOutputType | null;
13
- _min: ProviderMinAggregateOutputType | null;
14
- _max: ProviderMaxAggregateOutputType | null;
15
- };
16
- export type ProviderMinAggregateOutputType = {
17
- id: string | null;
18
- key: string | null;
19
- name: string | null;
20
- authType: $Enums.AuthType | null;
21
- authorizationUrl: string | null;
22
- tokenUrl: string | null;
23
- revokeUrl: string | null;
24
- apiBaseUrl: string | null;
25
- docsUrl: string | null;
26
- logoUrl: string | null;
27
- isActive: boolean | null;
28
- createdAt: Date | null;
29
- updatedAt: Date | null;
30
- };
31
- export type ProviderMaxAggregateOutputType = {
32
- id: string | null;
33
- key: string | null;
34
- name: string | null;
35
- authType: $Enums.AuthType | null;
36
- authorizationUrl: string | null;
37
- tokenUrl: string | null;
38
- revokeUrl: string | null;
39
- apiBaseUrl: string | null;
40
- docsUrl: string | null;
41
- logoUrl: string | null;
42
- isActive: boolean | null;
43
- createdAt: Date | null;
44
- updatedAt: Date | null;
45
- };
46
- export type ProviderCountAggregateOutputType = {
47
- id: number;
48
- key: number;
49
- name: number;
50
- authType: number;
51
- authorizationUrl: number;
52
- tokenUrl: number;
53
- revokeUrl: number;
54
- apiBaseUrl: number;
55
- scopesAvailable: number;
56
- docsUrl: number;
57
- logoUrl: number;
58
- isActive: number;
59
- createdAt: number;
60
- updatedAt: number;
61
- _all: number;
62
- };
63
- export type ProviderMinAggregateInputType = {
64
- id?: true;
65
- key?: true;
66
- name?: true;
67
- authType?: true;
68
- authorizationUrl?: true;
69
- tokenUrl?: true;
70
- revokeUrl?: true;
71
- apiBaseUrl?: true;
72
- docsUrl?: true;
73
- logoUrl?: true;
74
- isActive?: true;
75
- createdAt?: true;
76
- updatedAt?: true;
77
- };
78
- export type ProviderMaxAggregateInputType = {
79
- id?: true;
80
- key?: true;
81
- name?: true;
82
- authType?: true;
83
- authorizationUrl?: true;
84
- tokenUrl?: true;
85
- revokeUrl?: true;
86
- apiBaseUrl?: true;
87
- docsUrl?: true;
88
- logoUrl?: true;
89
- isActive?: true;
90
- createdAt?: true;
91
- updatedAt?: true;
92
- };
93
- export type ProviderCountAggregateInputType = {
94
- id?: true;
95
- key?: true;
96
- name?: true;
97
- authType?: true;
98
- authorizationUrl?: true;
99
- tokenUrl?: true;
100
- revokeUrl?: true;
101
- apiBaseUrl?: true;
102
- scopesAvailable?: true;
103
- docsUrl?: true;
104
- logoUrl?: true;
105
- isActive?: true;
106
- createdAt?: true;
107
- updatedAt?: true;
108
- _all?: true;
109
- };
110
- export type ProviderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
111
- /**
112
- * Filter which Provider to aggregate.
113
- */
114
- where?: Prisma.ProviderWhereInput;
115
- /**
116
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
117
- *
118
- * Determine the order of Providers to fetch.
119
- */
120
- orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[];
121
- /**
122
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
123
- *
124
- * Sets the start position
125
- */
126
- cursor?: Prisma.ProviderWhereUniqueInput;
127
- /**
128
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
129
- *
130
- * Take `±n` Providers from the position of the cursor.
131
- */
132
- take?: number;
133
- /**
134
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
135
- *
136
- * Skip the first `n` Providers.
137
- */
138
- skip?: number;
139
- /**
140
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
- *
142
- * Count returned Providers
143
- **/
144
- _count?: true | ProviderCountAggregateInputType;
145
- /**
146
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
- *
148
- * Select which fields to find the minimum value
149
- **/
150
- _min?: ProviderMinAggregateInputType;
151
- /**
152
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
153
- *
154
- * Select which fields to find the maximum value
155
- **/
156
- _max?: ProviderMaxAggregateInputType;
157
- };
158
- export type GetProviderAggregateType<T extends ProviderAggregateArgs> = {
159
- [P in keyof T & keyof AggregateProvider]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProvider[P]> : Prisma.GetScalarType<T[P], AggregateProvider[P]>;
160
- };
161
- export type ProviderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
162
- where?: Prisma.ProviderWhereInput;
163
- orderBy?: Prisma.ProviderOrderByWithAggregationInput | Prisma.ProviderOrderByWithAggregationInput[];
164
- by: Prisma.ProviderScalarFieldEnum[] | Prisma.ProviderScalarFieldEnum;
165
- having?: Prisma.ProviderScalarWhereWithAggregatesInput;
166
- take?: number;
167
- skip?: number;
168
- _count?: ProviderCountAggregateInputType | true;
169
- _min?: ProviderMinAggregateInputType;
170
- _max?: ProviderMaxAggregateInputType;
171
- };
172
- export type ProviderGroupByOutputType = {
173
- id: string;
174
- key: string;
175
- name: string;
176
- authType: $Enums.AuthType;
177
- authorizationUrl: string | null;
178
- tokenUrl: string | null;
179
- revokeUrl: string | null;
180
- apiBaseUrl: string | null;
181
- scopesAvailable: string[];
182
- docsUrl: string | null;
183
- logoUrl: string | null;
184
- isActive: boolean;
185
- createdAt: Date;
186
- updatedAt: Date;
187
- _count: ProviderCountAggregateOutputType | null;
188
- _min: ProviderMinAggregateOutputType | null;
189
- _max: ProviderMaxAggregateOutputType | null;
190
- };
191
- export type GetProviderGroupByPayload<T extends ProviderGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProviderGroupByOutputType, T['by']> & {
192
- [P in ((keyof T) & (keyof ProviderGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProviderGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProviderGroupByOutputType[P]>;
193
- }>>;
194
- export type ProviderWhereInput = {
195
- AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[];
196
- OR?: Prisma.ProviderWhereInput[];
197
- NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[];
198
- id?: Prisma.StringFilter<"Provider"> | string;
199
- key?: Prisma.StringFilter<"Provider"> | string;
200
- name?: Prisma.StringFilter<"Provider"> | string;
201
- authType?: Prisma.EnumAuthTypeFilter<"Provider"> | $Enums.AuthType;
202
- authorizationUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
203
- tokenUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
204
- revokeUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
205
- apiBaseUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
206
- scopesAvailable?: Prisma.StringNullableListFilter<"Provider">;
207
- docsUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
208
- logoUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
209
- isActive?: Prisma.BoolFilter<"Provider"> | boolean;
210
- createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string;
211
- updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string;
212
- configurations?: Prisma.ConfigurationListRelationFilter;
213
- };
214
- export type ProviderOrderByWithRelationInput = {
215
- id?: Prisma.SortOrder;
216
- key?: Prisma.SortOrder;
217
- name?: Prisma.SortOrder;
218
- authType?: Prisma.SortOrder;
219
- authorizationUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
220
- tokenUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
221
- revokeUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
222
- apiBaseUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
223
- scopesAvailable?: Prisma.SortOrder;
224
- docsUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
225
- logoUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
226
- isActive?: Prisma.SortOrder;
227
- createdAt?: Prisma.SortOrder;
228
- updatedAt?: Prisma.SortOrder;
229
- configurations?: Prisma.ConfigurationOrderByRelationAggregateInput;
230
- };
231
- export type ProviderWhereUniqueInput = Prisma.AtLeast<{
232
- id?: string;
233
- key?: string;
234
- AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[];
235
- OR?: Prisma.ProviderWhereInput[];
236
- NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[];
237
- name?: Prisma.StringFilter<"Provider"> | string;
238
- authType?: Prisma.EnumAuthTypeFilter<"Provider"> | $Enums.AuthType;
239
- authorizationUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
240
- tokenUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
241
- revokeUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
242
- apiBaseUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
243
- scopesAvailable?: Prisma.StringNullableListFilter<"Provider">;
244
- docsUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
245
- logoUrl?: Prisma.StringNullableFilter<"Provider"> | string | null;
246
- isActive?: Prisma.BoolFilter<"Provider"> | boolean;
247
- createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string;
248
- updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string;
249
- configurations?: Prisma.ConfigurationListRelationFilter;
250
- }, "id" | "key">;
251
- export type ProviderOrderByWithAggregationInput = {
252
- id?: Prisma.SortOrder;
253
- key?: Prisma.SortOrder;
254
- name?: Prisma.SortOrder;
255
- authType?: Prisma.SortOrder;
256
- authorizationUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
257
- tokenUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
258
- revokeUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
259
- apiBaseUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
260
- scopesAvailable?: Prisma.SortOrder;
261
- docsUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
262
- logoUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
263
- isActive?: Prisma.SortOrder;
264
- createdAt?: Prisma.SortOrder;
265
- updatedAt?: Prisma.SortOrder;
266
- _count?: Prisma.ProviderCountOrderByAggregateInput;
267
- _max?: Prisma.ProviderMaxOrderByAggregateInput;
268
- _min?: Prisma.ProviderMinOrderByAggregateInput;
269
- };
270
- export type ProviderScalarWhereWithAggregatesInput = {
271
- AND?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[];
272
- OR?: Prisma.ProviderScalarWhereWithAggregatesInput[];
273
- NOT?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[];
274
- id?: Prisma.StringWithAggregatesFilter<"Provider"> | string;
275
- key?: Prisma.StringWithAggregatesFilter<"Provider"> | string;
276
- name?: Prisma.StringWithAggregatesFilter<"Provider"> | string;
277
- authType?: Prisma.EnumAuthTypeWithAggregatesFilter<"Provider"> | $Enums.AuthType;
278
- authorizationUrl?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null;
279
- tokenUrl?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null;
280
- revokeUrl?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null;
281
- apiBaseUrl?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null;
282
- scopesAvailable?: Prisma.StringNullableListFilter<"Provider">;
283
- docsUrl?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null;
284
- logoUrl?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null;
285
- isActive?: Prisma.BoolWithAggregatesFilter<"Provider"> | boolean;
286
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string;
287
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string;
288
- };
289
- export type ProviderCreateInput = {
290
- id?: string;
291
- key: string;
292
- name: string;
293
- authType: $Enums.AuthType;
294
- authorizationUrl?: string | null;
295
- tokenUrl?: string | null;
296
- revokeUrl?: string | null;
297
- apiBaseUrl?: string | null;
298
- scopesAvailable?: Prisma.ProviderCreatescopesAvailableInput | string[];
299
- docsUrl?: string | null;
300
- logoUrl?: string | null;
301
- isActive?: boolean;
302
- createdAt?: Date | string;
303
- updatedAt?: Date | string;
304
- configurations?: Prisma.ConfigurationCreateNestedManyWithoutProviderInput;
305
- };
306
- export type ProviderUncheckedCreateInput = {
307
- id?: string;
308
- key: string;
309
- name: string;
310
- authType: $Enums.AuthType;
311
- authorizationUrl?: string | null;
312
- tokenUrl?: string | null;
313
- revokeUrl?: string | null;
314
- apiBaseUrl?: string | null;
315
- scopesAvailable?: Prisma.ProviderCreatescopesAvailableInput | string[];
316
- docsUrl?: string | null;
317
- logoUrl?: string | null;
318
- isActive?: boolean;
319
- createdAt?: Date | string;
320
- updatedAt?: Date | string;
321
- configurations?: Prisma.ConfigurationUncheckedCreateNestedManyWithoutProviderInput;
322
- };
323
- export type ProviderUpdateInput = {
324
- id?: Prisma.StringFieldUpdateOperationsInput | string;
325
- key?: Prisma.StringFieldUpdateOperationsInput | string;
326
- name?: Prisma.StringFieldUpdateOperationsInput | string;
327
- authType?: Prisma.EnumAuthTypeFieldUpdateOperationsInput | $Enums.AuthType;
328
- authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
329
- tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
330
- revokeUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
331
- apiBaseUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
332
- scopesAvailable?: Prisma.ProviderUpdatescopesAvailableInput | string[];
333
- docsUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
334
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
335
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
336
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
337
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
338
- configurations?: Prisma.ConfigurationUpdateManyWithoutProviderNestedInput;
339
- };
340
- export type ProviderUncheckedUpdateInput = {
341
- id?: Prisma.StringFieldUpdateOperationsInput | string;
342
- key?: Prisma.StringFieldUpdateOperationsInput | string;
343
- name?: Prisma.StringFieldUpdateOperationsInput | string;
344
- authType?: Prisma.EnumAuthTypeFieldUpdateOperationsInput | $Enums.AuthType;
345
- authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
346
- tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
347
- revokeUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
348
- apiBaseUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
349
- scopesAvailable?: Prisma.ProviderUpdatescopesAvailableInput | string[];
350
- docsUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
351
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
352
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
353
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
354
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
355
- configurations?: Prisma.ConfigurationUncheckedUpdateManyWithoutProviderNestedInput;
356
- };
357
- export type ProviderCreateManyInput = {
358
- id?: string;
359
- key: string;
360
- name: string;
361
- authType: $Enums.AuthType;
362
- authorizationUrl?: string | null;
363
- tokenUrl?: string | null;
364
- revokeUrl?: string | null;
365
- apiBaseUrl?: string | null;
366
- scopesAvailable?: Prisma.ProviderCreatescopesAvailableInput | string[];
367
- docsUrl?: string | null;
368
- logoUrl?: string | null;
369
- isActive?: boolean;
370
- createdAt?: Date | string;
371
- updatedAt?: Date | string;
372
- };
373
- export type ProviderUpdateManyMutationInput = {
374
- id?: Prisma.StringFieldUpdateOperationsInput | string;
375
- key?: Prisma.StringFieldUpdateOperationsInput | string;
376
- name?: Prisma.StringFieldUpdateOperationsInput | string;
377
- authType?: Prisma.EnumAuthTypeFieldUpdateOperationsInput | $Enums.AuthType;
378
- authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
379
- tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
380
- revokeUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
381
- apiBaseUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
382
- scopesAvailable?: Prisma.ProviderUpdatescopesAvailableInput | string[];
383
- docsUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
384
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
385
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
386
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
387
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
388
- };
389
- export type ProviderUncheckedUpdateManyInput = {
390
- id?: Prisma.StringFieldUpdateOperationsInput | string;
391
- key?: Prisma.StringFieldUpdateOperationsInput | string;
392
- name?: Prisma.StringFieldUpdateOperationsInput | string;
393
- authType?: Prisma.EnumAuthTypeFieldUpdateOperationsInput | $Enums.AuthType;
394
- authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
395
- tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
396
- revokeUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
397
- apiBaseUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
398
- scopesAvailable?: Prisma.ProviderUpdatescopesAvailableInput | string[];
399
- docsUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
400
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
401
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
402
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
403
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
404
- };
405
- export type StringNullableListFilter<$PrismaModel = never> = {
406
- equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
407
- has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
408
- hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
409
- hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
410
- isEmpty?: boolean;
411
- };
412
- export type ProviderCountOrderByAggregateInput = {
413
- id?: Prisma.SortOrder;
414
- key?: Prisma.SortOrder;
415
- name?: Prisma.SortOrder;
416
- authType?: Prisma.SortOrder;
417
- authorizationUrl?: Prisma.SortOrder;
418
- tokenUrl?: Prisma.SortOrder;
419
- revokeUrl?: Prisma.SortOrder;
420
- apiBaseUrl?: Prisma.SortOrder;
421
- scopesAvailable?: Prisma.SortOrder;
422
- docsUrl?: Prisma.SortOrder;
423
- logoUrl?: Prisma.SortOrder;
424
- isActive?: Prisma.SortOrder;
425
- createdAt?: Prisma.SortOrder;
426
- updatedAt?: Prisma.SortOrder;
427
- };
428
- export type ProviderMaxOrderByAggregateInput = {
429
- id?: Prisma.SortOrder;
430
- key?: Prisma.SortOrder;
431
- name?: Prisma.SortOrder;
432
- authType?: Prisma.SortOrder;
433
- authorizationUrl?: Prisma.SortOrder;
434
- tokenUrl?: Prisma.SortOrder;
435
- revokeUrl?: Prisma.SortOrder;
436
- apiBaseUrl?: Prisma.SortOrder;
437
- docsUrl?: Prisma.SortOrder;
438
- logoUrl?: Prisma.SortOrder;
439
- isActive?: Prisma.SortOrder;
440
- createdAt?: Prisma.SortOrder;
441
- updatedAt?: Prisma.SortOrder;
442
- };
443
- export type ProviderMinOrderByAggregateInput = {
444
- id?: Prisma.SortOrder;
445
- key?: Prisma.SortOrder;
446
- name?: Prisma.SortOrder;
447
- authType?: Prisma.SortOrder;
448
- authorizationUrl?: Prisma.SortOrder;
449
- tokenUrl?: Prisma.SortOrder;
450
- revokeUrl?: Prisma.SortOrder;
451
- apiBaseUrl?: Prisma.SortOrder;
452
- docsUrl?: Prisma.SortOrder;
453
- logoUrl?: Prisma.SortOrder;
454
- isActive?: Prisma.SortOrder;
455
- createdAt?: Prisma.SortOrder;
456
- updatedAt?: Prisma.SortOrder;
457
- };
458
- export type ProviderScalarRelationFilter = {
459
- is?: Prisma.ProviderWhereInput;
460
- isNot?: Prisma.ProviderWhereInput;
461
- };
462
- export type ProviderCreatescopesAvailableInput = {
463
- set: string[];
464
- };
465
- export type EnumAuthTypeFieldUpdateOperationsInput = {
466
- set?: $Enums.AuthType;
467
- };
468
- export type ProviderUpdatescopesAvailableInput = {
469
- set?: string[];
470
- push?: string | string[];
471
- };
472
- export type ProviderCreateNestedOneWithoutConfigurationsInput = {
473
- create?: Prisma.XOR<Prisma.ProviderCreateWithoutConfigurationsInput, Prisma.ProviderUncheckedCreateWithoutConfigurationsInput>;
474
- connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutConfigurationsInput;
475
- connect?: Prisma.ProviderWhereUniqueInput;
476
- };
477
- export type ProviderUpdateOneRequiredWithoutConfigurationsNestedInput = {
478
- create?: Prisma.XOR<Prisma.ProviderCreateWithoutConfigurationsInput, Prisma.ProviderUncheckedCreateWithoutConfigurationsInput>;
479
- connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutConfigurationsInput;
480
- upsert?: Prisma.ProviderUpsertWithoutConfigurationsInput;
481
- connect?: Prisma.ProviderWhereUniqueInput;
482
- update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderUpdateToOneWithWhereWithoutConfigurationsInput, Prisma.ProviderUpdateWithoutConfigurationsInput>, Prisma.ProviderUncheckedUpdateWithoutConfigurationsInput>;
483
- };
484
- export type ProviderCreateWithoutConfigurationsInput = {
485
- id?: string;
486
- key: string;
487
- name: string;
488
- authType: $Enums.AuthType;
489
- authorizationUrl?: string | null;
490
- tokenUrl?: string | null;
491
- revokeUrl?: string | null;
492
- apiBaseUrl?: string | null;
493
- scopesAvailable?: Prisma.ProviderCreatescopesAvailableInput | string[];
494
- docsUrl?: string | null;
495
- logoUrl?: string | null;
496
- isActive?: boolean;
497
- createdAt?: Date | string;
498
- updatedAt?: Date | string;
499
- };
500
- export type ProviderUncheckedCreateWithoutConfigurationsInput = {
501
- id?: string;
502
- key: string;
503
- name: string;
504
- authType: $Enums.AuthType;
505
- authorizationUrl?: string | null;
506
- tokenUrl?: string | null;
507
- revokeUrl?: string | null;
508
- apiBaseUrl?: string | null;
509
- scopesAvailable?: Prisma.ProviderCreatescopesAvailableInput | string[];
510
- docsUrl?: string | null;
511
- logoUrl?: string | null;
512
- isActive?: boolean;
513
- createdAt?: Date | string;
514
- updatedAt?: Date | string;
515
- };
516
- export type ProviderCreateOrConnectWithoutConfigurationsInput = {
517
- where: Prisma.ProviderWhereUniqueInput;
518
- create: Prisma.XOR<Prisma.ProviderCreateWithoutConfigurationsInput, Prisma.ProviderUncheckedCreateWithoutConfigurationsInput>;
519
- };
520
- export type ProviderUpsertWithoutConfigurationsInput = {
521
- update: Prisma.XOR<Prisma.ProviderUpdateWithoutConfigurationsInput, Prisma.ProviderUncheckedUpdateWithoutConfigurationsInput>;
522
- create: Prisma.XOR<Prisma.ProviderCreateWithoutConfigurationsInput, Prisma.ProviderUncheckedCreateWithoutConfigurationsInput>;
523
- where?: Prisma.ProviderWhereInput;
524
- };
525
- export type ProviderUpdateToOneWithWhereWithoutConfigurationsInput = {
526
- where?: Prisma.ProviderWhereInput;
527
- data: Prisma.XOR<Prisma.ProviderUpdateWithoutConfigurationsInput, Prisma.ProviderUncheckedUpdateWithoutConfigurationsInput>;
528
- };
529
- export type ProviderUpdateWithoutConfigurationsInput = {
530
- id?: Prisma.StringFieldUpdateOperationsInput | string;
531
- key?: Prisma.StringFieldUpdateOperationsInput | string;
532
- name?: Prisma.StringFieldUpdateOperationsInput | string;
533
- authType?: Prisma.EnumAuthTypeFieldUpdateOperationsInput | $Enums.AuthType;
534
- authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
535
- tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
536
- revokeUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
537
- apiBaseUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
538
- scopesAvailable?: Prisma.ProviderUpdatescopesAvailableInput | string[];
539
- docsUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
540
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
541
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
542
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
543
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
544
- };
545
- export type ProviderUncheckedUpdateWithoutConfigurationsInput = {
546
- id?: Prisma.StringFieldUpdateOperationsInput | string;
547
- key?: Prisma.StringFieldUpdateOperationsInput | string;
548
- name?: Prisma.StringFieldUpdateOperationsInput | string;
549
- authType?: Prisma.EnumAuthTypeFieldUpdateOperationsInput | $Enums.AuthType;
550
- authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
551
- tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
552
- revokeUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
553
- apiBaseUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
554
- scopesAvailable?: Prisma.ProviderUpdatescopesAvailableInput | string[];
555
- docsUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
556
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
557
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
558
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
559
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
560
- };
561
- /**
562
- * Count Type ProviderCountOutputType
563
- */
564
- export type ProviderCountOutputType = {
565
- configurations: number;
566
- };
567
- export type ProviderCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
568
- configurations?: boolean | ProviderCountOutputTypeCountConfigurationsArgs;
569
- };
570
- /**
571
- * ProviderCountOutputType without action
572
- */
573
- export type ProviderCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
574
- /**
575
- * Select specific fields to fetch from the ProviderCountOutputType
576
- */
577
- select?: Prisma.ProviderCountOutputTypeSelect<ExtArgs> | null;
578
- };
579
- /**
580
- * ProviderCountOutputType without action
581
- */
582
- export type ProviderCountOutputTypeCountConfigurationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
583
- where?: Prisma.ConfigurationWhereInput;
584
- };
585
- export type ProviderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
586
- id?: boolean;
587
- key?: boolean;
588
- name?: boolean;
589
- authType?: boolean;
590
- authorizationUrl?: boolean;
591
- tokenUrl?: boolean;
592
- revokeUrl?: boolean;
593
- apiBaseUrl?: boolean;
594
- scopesAvailable?: boolean;
595
- docsUrl?: boolean;
596
- logoUrl?: boolean;
597
- isActive?: boolean;
598
- createdAt?: boolean;
599
- updatedAt?: boolean;
600
- configurations?: boolean | Prisma.Provider$configurationsArgs<ExtArgs>;
601
- _count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs<ExtArgs>;
602
- }, ExtArgs["result"]["provider"]>;
603
- export type ProviderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
604
- id?: boolean;
605
- key?: boolean;
606
- name?: boolean;
607
- authType?: boolean;
608
- authorizationUrl?: boolean;
609
- tokenUrl?: boolean;
610
- revokeUrl?: boolean;
611
- apiBaseUrl?: boolean;
612
- scopesAvailable?: boolean;
613
- docsUrl?: boolean;
614
- logoUrl?: boolean;
615
- isActive?: boolean;
616
- createdAt?: boolean;
617
- updatedAt?: boolean;
618
- }, ExtArgs["result"]["provider"]>;
619
- export type ProviderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
620
- id?: boolean;
621
- key?: boolean;
622
- name?: boolean;
623
- authType?: boolean;
624
- authorizationUrl?: boolean;
625
- tokenUrl?: boolean;
626
- revokeUrl?: boolean;
627
- apiBaseUrl?: boolean;
628
- scopesAvailable?: boolean;
629
- docsUrl?: boolean;
630
- logoUrl?: boolean;
631
- isActive?: boolean;
632
- createdAt?: boolean;
633
- updatedAt?: boolean;
634
- }, ExtArgs["result"]["provider"]>;
635
- export type ProviderSelectScalar = {
636
- id?: boolean;
637
- key?: boolean;
638
- name?: boolean;
639
- authType?: boolean;
640
- authorizationUrl?: boolean;
641
- tokenUrl?: boolean;
642
- revokeUrl?: boolean;
643
- apiBaseUrl?: boolean;
644
- scopesAvailable?: boolean;
645
- docsUrl?: boolean;
646
- logoUrl?: boolean;
647
- isActive?: boolean;
648
- createdAt?: boolean;
649
- updatedAt?: boolean;
650
- };
651
- export type ProviderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "name" | "authType" | "authorizationUrl" | "tokenUrl" | "revokeUrl" | "apiBaseUrl" | "scopesAvailable" | "docsUrl" | "logoUrl" | "isActive" | "createdAt" | "updatedAt", ExtArgs["result"]["provider"]>;
652
- export type ProviderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
653
- configurations?: boolean | Prisma.Provider$configurationsArgs<ExtArgs>;
654
- _count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs<ExtArgs>;
655
- };
656
- export type ProviderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
657
- export type ProviderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
658
- export type $ProviderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
659
- name: "Provider";
660
- objects: {
661
- configurations: Prisma.$ConfigurationPayload<ExtArgs>[];
662
- };
663
- scalars: runtime.Types.Extensions.GetPayloadResult<{
664
- id: string;
665
- key: string;
666
- name: string;
667
- authType: $Enums.AuthType;
668
- authorizationUrl: string | null;
669
- tokenUrl: string | null;
670
- revokeUrl: string | null;
671
- apiBaseUrl: string | null;
672
- scopesAvailable: string[];
673
- docsUrl: string | null;
674
- logoUrl: string | null;
675
- isActive: boolean;
676
- createdAt: Date;
677
- updatedAt: Date;
678
- }, ExtArgs["result"]["provider"]>;
679
- composites: {};
680
- };
681
- export type ProviderGetPayload<S extends boolean | null | undefined | ProviderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProviderPayload, S>;
682
- export type ProviderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProviderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
683
- select?: ProviderCountAggregateInputType | true;
684
- };
685
- export interface ProviderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
686
- [K: symbol]: {
687
- types: Prisma.TypeMap<ExtArgs>['model']['Provider'];
688
- meta: {
689
- name: 'Provider';
690
- };
691
- };
692
- /**
693
- * Find zero or one Provider that matches the filter.
694
- * @param {ProviderFindUniqueArgs} args - Arguments to find a Provider
695
- * @example
696
- * // Get one Provider
697
- * const provider = await prisma.provider.findUnique({
698
- * where: {
699
- * // ... provide filter here
700
- * }
701
- * })
702
- */
703
- findUnique<T extends ProviderFindUniqueArgs>(args: Prisma.SelectSubset<T, ProviderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
704
- /**
705
- * Find one Provider that matches the filter or throw an error with `error.code='P2025'`
706
- * if no matches were found.
707
- * @param {ProviderFindUniqueOrThrowArgs} args - Arguments to find a Provider
708
- * @example
709
- * // Get one Provider
710
- * const provider = await prisma.provider.findUniqueOrThrow({
711
- * where: {
712
- * // ... provide filter here
713
- * }
714
- * })
715
- */
716
- findUniqueOrThrow<T extends ProviderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProviderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
717
- /**
718
- * Find the first Provider that matches the filter.
719
- * Note, that providing `undefined` is treated as the value not being there.
720
- * Read more here: https://pris.ly/d/null-undefined
721
- * @param {ProviderFindFirstArgs} args - Arguments to find a Provider
722
- * @example
723
- * // Get one Provider
724
- * const provider = await prisma.provider.findFirst({
725
- * where: {
726
- * // ... provide filter here
727
- * }
728
- * })
729
- */
730
- findFirst<T extends ProviderFindFirstArgs>(args?: Prisma.SelectSubset<T, ProviderFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
731
- /**
732
- * Find the first Provider that matches the filter or
733
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
734
- * Note, that providing `undefined` is treated as the value not being there.
735
- * Read more here: https://pris.ly/d/null-undefined
736
- * @param {ProviderFindFirstOrThrowArgs} args - Arguments to find a Provider
737
- * @example
738
- * // Get one Provider
739
- * const provider = await prisma.provider.findFirstOrThrow({
740
- * where: {
741
- * // ... provide filter here
742
- * }
743
- * })
744
- */
745
- findFirstOrThrow<T extends ProviderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProviderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
746
- /**
747
- * Find zero or more Providers that matches the filter.
748
- * Note, that providing `undefined` is treated as the value not being there.
749
- * Read more here: https://pris.ly/d/null-undefined
750
- * @param {ProviderFindManyArgs} args - Arguments to filter and select certain fields only.
751
- * @example
752
- * // Get all Providers
753
- * const providers = await prisma.provider.findMany()
754
- *
755
- * // Get first 10 Providers
756
- * const providers = await prisma.provider.findMany({ take: 10 })
757
- *
758
- * // Only select the `id`
759
- * const providerWithIdOnly = await prisma.provider.findMany({ select: { id: true } })
760
- *
761
- */
762
- findMany<T extends ProviderFindManyArgs>(args?: Prisma.SelectSubset<T, ProviderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
763
- /**
764
- * Create a Provider.
765
- * @param {ProviderCreateArgs} args - Arguments to create a Provider.
766
- * @example
767
- * // Create one Provider
768
- * const Provider = await prisma.provider.create({
769
- * data: {
770
- * // ... data to create a Provider
771
- * }
772
- * })
773
- *
774
- */
775
- create<T extends ProviderCreateArgs>(args: Prisma.SelectSubset<T, ProviderCreateArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
776
- /**
777
- * Create many Providers.
778
- * @param {ProviderCreateManyArgs} args - Arguments to create many Providers.
779
- * @example
780
- * // Create many Providers
781
- * const provider = await prisma.provider.createMany({
782
- * data: [
783
- * // ... provide data here
784
- * ]
785
- * })
786
- *
787
- */
788
- createMany<T extends ProviderCreateManyArgs>(args?: Prisma.SelectSubset<T, ProviderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
789
- /**
790
- * Create many Providers and returns the data saved in the database.
791
- * @param {ProviderCreateManyAndReturnArgs} args - Arguments to create many Providers.
792
- * @example
793
- * // Create many Providers
794
- * const provider = await prisma.provider.createManyAndReturn({
795
- * data: [
796
- * // ... provide data here
797
- * ]
798
- * })
799
- *
800
- * // Create many Providers and only return the `id`
801
- * const providerWithIdOnly = await prisma.provider.createManyAndReturn({
802
- * select: { id: true },
803
- * data: [
804
- * // ... provide data here
805
- * ]
806
- * })
807
- * Note, that providing `undefined` is treated as the value not being there.
808
- * Read more here: https://pris.ly/d/null-undefined
809
- *
810
- */
811
- createManyAndReturn<T extends ProviderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProviderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
812
- /**
813
- * Delete a Provider.
814
- * @param {ProviderDeleteArgs} args - Arguments to delete one Provider.
815
- * @example
816
- * // Delete one Provider
817
- * const Provider = await prisma.provider.delete({
818
- * where: {
819
- * // ... filter to delete one Provider
820
- * }
821
- * })
822
- *
823
- */
824
- delete<T extends ProviderDeleteArgs>(args: Prisma.SelectSubset<T, ProviderDeleteArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
825
- /**
826
- * Update one Provider.
827
- * @param {ProviderUpdateArgs} args - Arguments to update one Provider.
828
- * @example
829
- * // Update one Provider
830
- * const provider = await prisma.provider.update({
831
- * where: {
832
- * // ... provide filter here
833
- * },
834
- * data: {
835
- * // ... provide data here
836
- * }
837
- * })
838
- *
839
- */
840
- update<T extends ProviderUpdateArgs>(args: Prisma.SelectSubset<T, ProviderUpdateArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
841
- /**
842
- * Delete zero or more Providers.
843
- * @param {ProviderDeleteManyArgs} args - Arguments to filter Providers to delete.
844
- * @example
845
- * // Delete a few Providers
846
- * const { count } = await prisma.provider.deleteMany({
847
- * where: {
848
- * // ... provide filter here
849
- * }
850
- * })
851
- *
852
- */
853
- deleteMany<T extends ProviderDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProviderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
854
- /**
855
- * Update zero or more Providers.
856
- * Note, that providing `undefined` is treated as the value not being there.
857
- * Read more here: https://pris.ly/d/null-undefined
858
- * @param {ProviderUpdateManyArgs} args - Arguments to update one or more rows.
859
- * @example
860
- * // Update many Providers
861
- * const provider = await prisma.provider.updateMany({
862
- * where: {
863
- * // ... provide filter here
864
- * },
865
- * data: {
866
- * // ... provide data here
867
- * }
868
- * })
869
- *
870
- */
871
- updateMany<T extends ProviderUpdateManyArgs>(args: Prisma.SelectSubset<T, ProviderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
872
- /**
873
- * Update zero or more Providers and returns the data updated in the database.
874
- * @param {ProviderUpdateManyAndReturnArgs} args - Arguments to update many Providers.
875
- * @example
876
- * // Update many Providers
877
- * const provider = await prisma.provider.updateManyAndReturn({
878
- * where: {
879
- * // ... provide filter here
880
- * },
881
- * data: [
882
- * // ... provide data here
883
- * ]
884
- * })
885
- *
886
- * // Update zero or more Providers and only return the `id`
887
- * const providerWithIdOnly = await prisma.provider.updateManyAndReturn({
888
- * select: { id: true },
889
- * where: {
890
- * // ... provide filter here
891
- * },
892
- * data: [
893
- * // ... provide data here
894
- * ]
895
- * })
896
- * Note, that providing `undefined` is treated as the value not being there.
897
- * Read more here: https://pris.ly/d/null-undefined
898
- *
899
- */
900
- updateManyAndReturn<T extends ProviderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProviderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
901
- /**
902
- * Create or update one Provider.
903
- * @param {ProviderUpsertArgs} args - Arguments to update or create a Provider.
904
- * @example
905
- * // Update or create a Provider
906
- * const provider = await prisma.provider.upsert({
907
- * create: {
908
- * // ... data to create a Provider
909
- * },
910
- * update: {
911
- * // ... in case it already exists, update
912
- * },
913
- * where: {
914
- * // ... the filter for the Provider we want to update
915
- * }
916
- * })
917
- */
918
- upsert<T extends ProviderUpsertArgs>(args: Prisma.SelectSubset<T, ProviderUpsertArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
919
- /**
920
- * Count the number of Providers.
921
- * Note, that providing `undefined` is treated as the value not being there.
922
- * Read more here: https://pris.ly/d/null-undefined
923
- * @param {ProviderCountArgs} args - Arguments to filter Providers to count.
924
- * @example
925
- * // Count the number of Providers
926
- * const count = await prisma.provider.count({
927
- * where: {
928
- * // ... the filter for the Providers we want to count
929
- * }
930
- * })
931
- **/
932
- count<T extends ProviderCountArgs>(args?: Prisma.Subset<T, ProviderCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProviderCountAggregateOutputType> : number>;
933
- /**
934
- * Allows you to perform aggregations operations on a Provider.
935
- * Note, that providing `undefined` is treated as the value not being there.
936
- * Read more here: https://pris.ly/d/null-undefined
937
- * @param {ProviderAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
938
- * @example
939
- * // Ordered by age ascending
940
- * // Where email contains prisma.io
941
- * // Limited to the 10 users
942
- * const aggregations = await prisma.user.aggregate({
943
- * _avg: {
944
- * age: true,
945
- * },
946
- * where: {
947
- * email: {
948
- * contains: "prisma.io",
949
- * },
950
- * },
951
- * orderBy: {
952
- * age: "asc",
953
- * },
954
- * take: 10,
955
- * })
956
- **/
957
- aggregate<T extends ProviderAggregateArgs>(args: Prisma.Subset<T, ProviderAggregateArgs>): Prisma.PrismaPromise<GetProviderAggregateType<T>>;
958
- /**
959
- * Group by Provider.
960
- * Note, that providing `undefined` is treated as the value not being there.
961
- * Read more here: https://pris.ly/d/null-undefined
962
- * @param {ProviderGroupByArgs} args - Group by arguments.
963
- * @example
964
- * // Group by city, order by createdAt, get count
965
- * const result = await prisma.user.groupBy({
966
- * by: ['city', 'createdAt'],
967
- * orderBy: {
968
- * createdAt: true
969
- * },
970
- * _count: {
971
- * _all: true
972
- * },
973
- * })
974
- *
975
- **/
976
- groupBy<T extends ProviderGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
977
- orderBy: ProviderGroupByArgs['orderBy'];
978
- } : {
979
- orderBy?: ProviderGroupByArgs['orderBy'];
980
- }, 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 ? {
981
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
982
- Error,
983
- 'Field ',
984
- P,
985
- ` in "having" needs to be provided in "by"`
986
- ];
987
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
988
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
989
- }[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 ? {} : {
990
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
991
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
992
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
993
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, ProviderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProviderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
994
- /**
995
- * Fields of the Provider model
996
- */
997
- readonly fields: ProviderFieldRefs;
998
- }
999
- /**
1000
- * The delegate class that acts as a "Promise-like" for Provider.
1001
- * Why is this prefixed with `Prisma__`?
1002
- * Because we want to prevent naming conflicts as mentioned in
1003
- * https://github.com/prisma/prisma-client-js/issues/707
1004
- */
1005
- export interface Prisma__ProviderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1006
- readonly [Symbol.toStringTag]: "PrismaPromise";
1007
- configurations<T extends Prisma.Provider$configurationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Provider$configurationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConfigurationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1008
- /**
1009
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1010
- * @param onfulfilled The callback to execute when the Promise is resolved.
1011
- * @param onrejected The callback to execute when the Promise is rejected.
1012
- * @returns A Promise for the completion of which ever callback is executed.
1013
- */
1014
- 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>;
1015
- /**
1016
- * Attaches a callback for only the rejection of the Promise.
1017
- * @param onrejected The callback to execute when the Promise is rejected.
1018
- * @returns A Promise for the completion of the callback.
1019
- */
1020
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1021
- /**
1022
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1023
- * resolved value cannot be modified from the callback.
1024
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1025
- * @returns A Promise for the completion of the callback.
1026
- */
1027
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1028
- }
1029
- /**
1030
- * Fields of the Provider model
1031
- */
1032
- export interface ProviderFieldRefs {
1033
- readonly id: Prisma.FieldRef<"Provider", 'String'>;
1034
- readonly key: Prisma.FieldRef<"Provider", 'String'>;
1035
- readonly name: Prisma.FieldRef<"Provider", 'String'>;
1036
- readonly authType: Prisma.FieldRef<"Provider", 'AuthType'>;
1037
- readonly authorizationUrl: Prisma.FieldRef<"Provider", 'String'>;
1038
- readonly tokenUrl: Prisma.FieldRef<"Provider", 'String'>;
1039
- readonly revokeUrl: Prisma.FieldRef<"Provider", 'String'>;
1040
- readonly apiBaseUrl: Prisma.FieldRef<"Provider", 'String'>;
1041
- readonly scopesAvailable: Prisma.FieldRef<"Provider", 'String[]'>;
1042
- readonly docsUrl: Prisma.FieldRef<"Provider", 'String'>;
1043
- readonly logoUrl: Prisma.FieldRef<"Provider", 'String'>;
1044
- readonly isActive: Prisma.FieldRef<"Provider", 'Boolean'>;
1045
- readonly createdAt: Prisma.FieldRef<"Provider", 'DateTime'>;
1046
- readonly updatedAt: Prisma.FieldRef<"Provider", 'DateTime'>;
1047
- }
1048
- /**
1049
- * Provider findUnique
1050
- */
1051
- export type ProviderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1052
- /**
1053
- * Select specific fields to fetch from the Provider
1054
- */
1055
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1056
- /**
1057
- * Omit specific fields from the Provider
1058
- */
1059
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1060
- /**
1061
- * Choose, which related nodes to fetch as well
1062
- */
1063
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1064
- /**
1065
- * Filter, which Provider to fetch.
1066
- */
1067
- where: Prisma.ProviderWhereUniqueInput;
1068
- };
1069
- /**
1070
- * Provider findUniqueOrThrow
1071
- */
1072
- export type ProviderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1073
- /**
1074
- * Select specific fields to fetch from the Provider
1075
- */
1076
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1077
- /**
1078
- * Omit specific fields from the Provider
1079
- */
1080
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1081
- /**
1082
- * Choose, which related nodes to fetch as well
1083
- */
1084
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1085
- /**
1086
- * Filter, which Provider to fetch.
1087
- */
1088
- where: Prisma.ProviderWhereUniqueInput;
1089
- };
1090
- /**
1091
- * Provider findFirst
1092
- */
1093
- export type ProviderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1094
- /**
1095
- * Select specific fields to fetch from the Provider
1096
- */
1097
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1098
- /**
1099
- * Omit specific fields from the Provider
1100
- */
1101
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1102
- /**
1103
- * Choose, which related nodes to fetch as well
1104
- */
1105
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1106
- /**
1107
- * Filter, which Provider to fetch.
1108
- */
1109
- where?: Prisma.ProviderWhereInput;
1110
- /**
1111
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1112
- *
1113
- * Determine the order of Providers to fetch.
1114
- */
1115
- orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[];
1116
- /**
1117
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1118
- *
1119
- * Sets the position for searching for Providers.
1120
- */
1121
- cursor?: Prisma.ProviderWhereUniqueInput;
1122
- /**
1123
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1124
- *
1125
- * Take `±n` Providers from the position of the cursor.
1126
- */
1127
- take?: number;
1128
- /**
1129
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1130
- *
1131
- * Skip the first `n` Providers.
1132
- */
1133
- skip?: number;
1134
- /**
1135
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1136
- *
1137
- * Filter by unique combinations of Providers.
1138
- */
1139
- distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[];
1140
- };
1141
- /**
1142
- * Provider findFirstOrThrow
1143
- */
1144
- export type ProviderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1145
- /**
1146
- * Select specific fields to fetch from the Provider
1147
- */
1148
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1149
- /**
1150
- * Omit specific fields from the Provider
1151
- */
1152
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1153
- /**
1154
- * Choose, which related nodes to fetch as well
1155
- */
1156
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1157
- /**
1158
- * Filter, which Provider to fetch.
1159
- */
1160
- where?: Prisma.ProviderWhereInput;
1161
- /**
1162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1163
- *
1164
- * Determine the order of Providers to fetch.
1165
- */
1166
- orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[];
1167
- /**
1168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1169
- *
1170
- * Sets the position for searching for Providers.
1171
- */
1172
- cursor?: Prisma.ProviderWhereUniqueInput;
1173
- /**
1174
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1175
- *
1176
- * Take `±n` Providers from the position of the cursor.
1177
- */
1178
- take?: number;
1179
- /**
1180
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1181
- *
1182
- * Skip the first `n` Providers.
1183
- */
1184
- skip?: number;
1185
- /**
1186
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1187
- *
1188
- * Filter by unique combinations of Providers.
1189
- */
1190
- distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[];
1191
- };
1192
- /**
1193
- * Provider findMany
1194
- */
1195
- export type ProviderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
- /**
1197
- * Select specific fields to fetch from the Provider
1198
- */
1199
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1200
- /**
1201
- * Omit specific fields from the Provider
1202
- */
1203
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1204
- /**
1205
- * Choose, which related nodes to fetch as well
1206
- */
1207
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1208
- /**
1209
- * Filter, which Providers to fetch.
1210
- */
1211
- where?: Prisma.ProviderWhereInput;
1212
- /**
1213
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1214
- *
1215
- * Determine the order of Providers to fetch.
1216
- */
1217
- orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[];
1218
- /**
1219
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1220
- *
1221
- * Sets the position for listing Providers.
1222
- */
1223
- cursor?: Prisma.ProviderWhereUniqueInput;
1224
- /**
1225
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1226
- *
1227
- * Take `±n` Providers from the position of the cursor.
1228
- */
1229
- take?: number;
1230
- /**
1231
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1232
- *
1233
- * Skip the first `n` Providers.
1234
- */
1235
- skip?: number;
1236
- /**
1237
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1238
- *
1239
- * Filter by unique combinations of Providers.
1240
- */
1241
- distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[];
1242
- };
1243
- /**
1244
- * Provider create
1245
- */
1246
- export type ProviderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1247
- /**
1248
- * Select specific fields to fetch from the Provider
1249
- */
1250
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1251
- /**
1252
- * Omit specific fields from the Provider
1253
- */
1254
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1255
- /**
1256
- * Choose, which related nodes to fetch as well
1257
- */
1258
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1259
- /**
1260
- * The data needed to create a Provider.
1261
- */
1262
- data: Prisma.XOR<Prisma.ProviderCreateInput, Prisma.ProviderUncheckedCreateInput>;
1263
- };
1264
- /**
1265
- * Provider createMany
1266
- */
1267
- export type ProviderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
- /**
1269
- * The data used to create many Providers.
1270
- */
1271
- data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[];
1272
- skipDuplicates?: boolean;
1273
- };
1274
- /**
1275
- * Provider createManyAndReturn
1276
- */
1277
- export type ProviderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1278
- /**
1279
- * Select specific fields to fetch from the Provider
1280
- */
1281
- select?: Prisma.ProviderSelectCreateManyAndReturn<ExtArgs> | null;
1282
- /**
1283
- * Omit specific fields from the Provider
1284
- */
1285
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1286
- /**
1287
- * The data used to create many Providers.
1288
- */
1289
- data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[];
1290
- skipDuplicates?: boolean;
1291
- };
1292
- /**
1293
- * Provider update
1294
- */
1295
- export type ProviderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1296
- /**
1297
- * Select specific fields to fetch from the Provider
1298
- */
1299
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1300
- /**
1301
- * Omit specific fields from the Provider
1302
- */
1303
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1304
- /**
1305
- * Choose, which related nodes to fetch as well
1306
- */
1307
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1308
- /**
1309
- * The data needed to update a Provider.
1310
- */
1311
- data: Prisma.XOR<Prisma.ProviderUpdateInput, Prisma.ProviderUncheckedUpdateInput>;
1312
- /**
1313
- * Choose, which Provider to update.
1314
- */
1315
- where: Prisma.ProviderWhereUniqueInput;
1316
- };
1317
- /**
1318
- * Provider updateMany
1319
- */
1320
- export type ProviderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
- /**
1322
- * The data used to update Providers.
1323
- */
1324
- data: Prisma.XOR<Prisma.ProviderUpdateManyMutationInput, Prisma.ProviderUncheckedUpdateManyInput>;
1325
- /**
1326
- * Filter which Providers to update
1327
- */
1328
- where?: Prisma.ProviderWhereInput;
1329
- /**
1330
- * Limit how many Providers to update.
1331
- */
1332
- limit?: number;
1333
- };
1334
- /**
1335
- * Provider updateManyAndReturn
1336
- */
1337
- export type ProviderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1338
- /**
1339
- * Select specific fields to fetch from the Provider
1340
- */
1341
- select?: Prisma.ProviderSelectUpdateManyAndReturn<ExtArgs> | null;
1342
- /**
1343
- * Omit specific fields from the Provider
1344
- */
1345
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1346
- /**
1347
- * The data used to update Providers.
1348
- */
1349
- data: Prisma.XOR<Prisma.ProviderUpdateManyMutationInput, Prisma.ProviderUncheckedUpdateManyInput>;
1350
- /**
1351
- * Filter which Providers to update
1352
- */
1353
- where?: Prisma.ProviderWhereInput;
1354
- /**
1355
- * Limit how many Providers to update.
1356
- */
1357
- limit?: number;
1358
- };
1359
- /**
1360
- * Provider upsert
1361
- */
1362
- export type ProviderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1363
- /**
1364
- * Select specific fields to fetch from the Provider
1365
- */
1366
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1367
- /**
1368
- * Omit specific fields from the Provider
1369
- */
1370
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1371
- /**
1372
- * Choose, which related nodes to fetch as well
1373
- */
1374
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1375
- /**
1376
- * The filter to search for the Provider to update in case it exists.
1377
- */
1378
- where: Prisma.ProviderWhereUniqueInput;
1379
- /**
1380
- * In case the Provider found by the `where` argument doesn't exist, create a new Provider with this data.
1381
- */
1382
- create: Prisma.XOR<Prisma.ProviderCreateInput, Prisma.ProviderUncheckedCreateInput>;
1383
- /**
1384
- * In case the Provider was found with the provided `where` argument, update it with this data.
1385
- */
1386
- update: Prisma.XOR<Prisma.ProviderUpdateInput, Prisma.ProviderUncheckedUpdateInput>;
1387
- };
1388
- /**
1389
- * Provider delete
1390
- */
1391
- export type ProviderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1392
- /**
1393
- * Select specific fields to fetch from the Provider
1394
- */
1395
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1396
- /**
1397
- * Omit specific fields from the Provider
1398
- */
1399
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1400
- /**
1401
- * Choose, which related nodes to fetch as well
1402
- */
1403
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1404
- /**
1405
- * Filter which Provider to delete.
1406
- */
1407
- where: Prisma.ProviderWhereUniqueInput;
1408
- };
1409
- /**
1410
- * Provider deleteMany
1411
- */
1412
- export type ProviderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1413
- /**
1414
- * Filter which Providers to delete
1415
- */
1416
- where?: Prisma.ProviderWhereInput;
1417
- /**
1418
- * Limit how many Providers to delete.
1419
- */
1420
- limit?: number;
1421
- };
1422
- /**
1423
- * Provider.configurations
1424
- */
1425
- export type Provider$configurationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1426
- /**
1427
- * Select specific fields to fetch from the Configuration
1428
- */
1429
- select?: Prisma.ConfigurationSelect<ExtArgs> | null;
1430
- /**
1431
- * Omit specific fields from the Configuration
1432
- */
1433
- omit?: Prisma.ConfigurationOmit<ExtArgs> | null;
1434
- /**
1435
- * Choose, which related nodes to fetch as well
1436
- */
1437
- include?: Prisma.ConfigurationInclude<ExtArgs> | null;
1438
- where?: Prisma.ConfigurationWhereInput;
1439
- orderBy?: Prisma.ConfigurationOrderByWithRelationInput | Prisma.ConfigurationOrderByWithRelationInput[];
1440
- cursor?: Prisma.ConfigurationWhereUniqueInput;
1441
- take?: number;
1442
- skip?: number;
1443
- distinct?: Prisma.ConfigurationScalarFieldEnum | Prisma.ConfigurationScalarFieldEnum[];
1444
- };
1445
- /**
1446
- * Provider without action
1447
- */
1448
- export type ProviderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1449
- /**
1450
- * Select specific fields to fetch from the Provider
1451
- */
1452
- select?: Prisma.ProviderSelect<ExtArgs> | null;
1453
- /**
1454
- * Omit specific fields from the Provider
1455
- */
1456
- omit?: Prisma.ProviderOmit<ExtArgs> | null;
1457
- /**
1458
- * Choose, which related nodes to fetch as well
1459
- */
1460
- include?: Prisma.ProviderInclude<ExtArgs> | null;
1461
- };
1462
- //# sourceMappingURL=Provider.d.ts.map