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