@koalarx/nest 1.17.1 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -4
- package/{core → apps/koala-nest/src/core}/database/prisma-client-with-custom-transaction.interface.d.ts +1 -1
- package/{core → apps/koala-nest/src/core}/database/prisma-transactional-client.d.ts +2 -1
- package/{core → apps/koala-nest/src/core}/database/prisma.service.d.ts +3 -2
- package/{core → apps/koala-nest/src/core}/database/prisma.service.js +2 -10
- package/{filters → apps/koala-nest/src/filters}/prisma-validation-exception.filter.d.ts +1 -1
- package/{filters → apps/koala-nest/src/filters}/prisma-validation-exception.filter.js +1 -1
- package/{test → apps/koala-nest/src/test}/utils/create-e2e-database.js +1 -1
- package/{test → apps/koala-nest/src/test}/utils/drop-e2e-database.js +2 -2
- package/package.json +1 -1
- package/prisma/generated/client.d.ts +11 -0
- package/prisma/generated/client.js +23 -0
- package/prisma/generated/commonInputTypes.d.ts +143 -0
- package/prisma/generated/commonInputTypes.js +2 -0
- package/prisma/generated/enums.d.ts +1 -0
- package/prisma/generated/enums.js +2 -0
- package/prisma/generated/internal/class.d.ts +41 -0
- package/prisma/generated/internal/class.js +32 -0
- package/prisma/generated/internal/prismaNamespace.d.ts +516 -0
- package/prisma/generated/internal/prismaNamespace.js +63 -0
- package/prisma/generated/models/Person.d.ts +641 -0
- package/prisma/generated/models/Person.js +2 -0
- package/prisma/generated/models/PersonAddress.d.ts +436 -0
- package/prisma/generated/models/PersonAddress.js +2 -0
- package/prisma/generated/models/PersonPhone.d.ts +502 -0
- package/prisma/generated/models/PersonPhone.js +2 -0
- package/prisma/generated/models.d.ts +4 -0
- package/prisma/generated/models.js +2 -0
- package/tsconfig.lib.tsbuildinfo +1 -1
- /package/{core → apps/koala-nest/src/core}/backgroud-services/cron-service/cron-job.handler.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/cron-service/cron-job.handler.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-class.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-class.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-handler.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-handler.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-is-trigger.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-is-trigger.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-job.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-job.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-queue.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-queue.js +0 -0
- /package/{core → apps/koala-nest/src/core}/constants/query-params.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/constants/query-params.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/base.controller.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/base.controller.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/controller.decorator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/controller.decorator.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/created-registre-response.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/created-registre-response.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/list-response.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/list-response.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/pagination.request.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/pagination.request.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/router-config.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/router-config.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/boolean.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/boolean.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/document-number.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/document-number.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/email.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/email.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/list-query.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/list-query.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/native-enum.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/native-enum.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/set-mask-document-number.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/set-mask-document-number.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.decorator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.decorator.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/prisma-client-with-custom-transaction.interface.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/prisma-transactional-client.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/repository.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/database/repository.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/dtos/pagination.dto.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/dtos/pagination.dto.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/bad-request.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/bad-request.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/conflict.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/conflict.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/error.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/error.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/no-content.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/no-content.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/not-allowed.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/not-allowed.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/resource-not-found.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/resource-not-found.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/use-case-error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/use-case-error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/user-already-exist.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/user-already-exist.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/wrong-credentials.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/wrong-credentials.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.controller.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.controller.js +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/index.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/index.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-app.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-app.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-global-vars.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-global-vars.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-database.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-database.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-http.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-http.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-class-context.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-class-context.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-context.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-context.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-list.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-list.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-profile.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-profile.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.decorator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.decorator.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.service.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.service.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/create-map.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/create-map.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/for-member.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/for-member.js +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-handler.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-handler.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-result.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-result.js +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-validator.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-validator.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/security/strategies/api-key.strategy.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/security/strategies/api-key.strategy.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/assing-object.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/assing-object.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/env.config.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/env.config.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/filter-request-params.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/filter-request-params.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/find-on-list.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/find-on-list.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/instanciate-class-with-dependencies-injection.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/instanciate-class-with-dependencies-injection.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/interfaces/icomparable.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/interfaces/icomparable.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/list.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/list.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/promise-all.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/promise-all.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/set-mask-document-number.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/set-mask-document-number.js +0 -0
- /package/{core → apps/koala-nest/src/core}/validators/file-validator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/validators/file-validator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-exclude-endpoint-diff-develop.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-exclude-endpoint-diff-develop.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-enum.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-enum.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-only-develop.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-only-develop.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/cookies.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/cookies.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/is-public.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/is-public.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/upload.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/upload.decorator.js +0 -0
- /package/{env → apps/koala-nest/src/env}/env.d.ts +0 -0
- /package/{env → apps/koala-nest/src/env}/env.js +0 -0
- /package/{env → apps/koala-nest/src/env}/env.module.d.ts +0 -0
- /package/{env → apps/koala-nest/src/env}/env.module.js +0 -0
- /package/{env → apps/koala-nest/src/env}/env.service.d.ts +0 -0
- /package/{env → apps/koala-nest/src/env}/env.service.js +0 -0
- /package/{filters → apps/koala-nest/src/filters}/domain-errors.filter.d.ts +0 -0
- /package/{filters → apps/koala-nest/src/filters}/domain-errors.filter.js +0 -0
- /package/{filters → apps/koala-nest/src/filters}/global-exception.filter.d.ts +0 -0
- /package/{filters → apps/koala-nest/src/filters}/global-exception.filter.js +0 -0
- /package/{filters → apps/koala-nest/src/filters}/zod-errors.filter.d.ts +0 -0
- /package/{filters → apps/koala-nest/src/filters}/zod-errors.filter.js +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/ilogging.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/ilogging.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/logging.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/logging.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/iredis.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/iredis.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/redis.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/redis.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/ired-lock.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/ired-lock.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/red-lock.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/red-lock.service.js +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test-dependencies.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test-dependencies.js +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test.js +0 -0
- /package/{test → apps/koala-nest/src/test}/repositories/in-memory-base.repository.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/repositories/in-memory-base.repository.js +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-logging.service.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-logging.service.js +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-red-lock.service.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-red-lock.service.js +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/create-e2e-database.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/drop-e2e-database.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/wait-for.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/wait-for.js +0 -0
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
export type PersonPhoneModel = runtime.Types.Result.DefaultSelection<Prisma.$PersonPhonePayload>;
|
|
4
|
+
export type AggregatePersonPhone = {
|
|
5
|
+
_count: PersonPhoneCountAggregateOutputType | null;
|
|
6
|
+
_avg: PersonPhoneAvgAggregateOutputType | null;
|
|
7
|
+
_sum: PersonPhoneSumAggregateOutputType | null;
|
|
8
|
+
_min: PersonPhoneMinAggregateOutputType | null;
|
|
9
|
+
_max: PersonPhoneMaxAggregateOutputType | null;
|
|
10
|
+
};
|
|
11
|
+
export type PersonPhoneAvgAggregateOutputType = {
|
|
12
|
+
id: number | null;
|
|
13
|
+
personId: number | null;
|
|
14
|
+
};
|
|
15
|
+
export type PersonPhoneSumAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
personId: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type PersonPhoneMinAggregateOutputType = {
|
|
20
|
+
id: number | null;
|
|
21
|
+
phone: string | null;
|
|
22
|
+
personId: number | null;
|
|
23
|
+
};
|
|
24
|
+
export type PersonPhoneMaxAggregateOutputType = {
|
|
25
|
+
id: number | null;
|
|
26
|
+
phone: string | null;
|
|
27
|
+
personId: number | null;
|
|
28
|
+
};
|
|
29
|
+
export type PersonPhoneCountAggregateOutputType = {
|
|
30
|
+
id: number;
|
|
31
|
+
phone: number;
|
|
32
|
+
personId: number;
|
|
33
|
+
_all: number;
|
|
34
|
+
};
|
|
35
|
+
export type PersonPhoneAvgAggregateInputType = {
|
|
36
|
+
id?: true;
|
|
37
|
+
personId?: true;
|
|
38
|
+
};
|
|
39
|
+
export type PersonPhoneSumAggregateInputType = {
|
|
40
|
+
id?: true;
|
|
41
|
+
personId?: true;
|
|
42
|
+
};
|
|
43
|
+
export type PersonPhoneMinAggregateInputType = {
|
|
44
|
+
id?: true;
|
|
45
|
+
phone?: true;
|
|
46
|
+
personId?: true;
|
|
47
|
+
};
|
|
48
|
+
export type PersonPhoneMaxAggregateInputType = {
|
|
49
|
+
id?: true;
|
|
50
|
+
phone?: true;
|
|
51
|
+
personId?: true;
|
|
52
|
+
};
|
|
53
|
+
export type PersonPhoneCountAggregateInputType = {
|
|
54
|
+
id?: true;
|
|
55
|
+
phone?: true;
|
|
56
|
+
personId?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type PersonPhoneAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
61
|
+
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[];
|
|
62
|
+
cursor?: Prisma.PersonPhoneWhereUniqueInput;
|
|
63
|
+
take?: number;
|
|
64
|
+
skip?: number;
|
|
65
|
+
_count?: true | PersonPhoneCountAggregateInputType;
|
|
66
|
+
_avg?: PersonPhoneAvgAggregateInputType;
|
|
67
|
+
_sum?: PersonPhoneSumAggregateInputType;
|
|
68
|
+
_min?: PersonPhoneMinAggregateInputType;
|
|
69
|
+
_max?: PersonPhoneMaxAggregateInputType;
|
|
70
|
+
};
|
|
71
|
+
export type GetPersonPhoneAggregateType<T extends PersonPhoneAggregateArgs> = {
|
|
72
|
+
[P in keyof T & keyof AggregatePersonPhone]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePersonPhone[P]> : Prisma.GetScalarType<T[P], AggregatePersonPhone[P]>;
|
|
73
|
+
};
|
|
74
|
+
export type PersonPhoneGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
75
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
76
|
+
orderBy?: Prisma.PersonPhoneOrderByWithAggregationInput | Prisma.PersonPhoneOrderByWithAggregationInput[];
|
|
77
|
+
by: Prisma.PersonPhoneScalarFieldEnum[] | Prisma.PersonPhoneScalarFieldEnum;
|
|
78
|
+
having?: Prisma.PersonPhoneScalarWhereWithAggregatesInput;
|
|
79
|
+
take?: number;
|
|
80
|
+
skip?: number;
|
|
81
|
+
_count?: PersonPhoneCountAggregateInputType | true;
|
|
82
|
+
_avg?: PersonPhoneAvgAggregateInputType;
|
|
83
|
+
_sum?: PersonPhoneSumAggregateInputType;
|
|
84
|
+
_min?: PersonPhoneMinAggregateInputType;
|
|
85
|
+
_max?: PersonPhoneMaxAggregateInputType;
|
|
86
|
+
};
|
|
87
|
+
export type PersonPhoneGroupByOutputType = {
|
|
88
|
+
id: number;
|
|
89
|
+
phone: string;
|
|
90
|
+
personId: number;
|
|
91
|
+
_count: PersonPhoneCountAggregateOutputType | null;
|
|
92
|
+
_avg: PersonPhoneAvgAggregateOutputType | null;
|
|
93
|
+
_sum: PersonPhoneSumAggregateOutputType | null;
|
|
94
|
+
_min: PersonPhoneMinAggregateOutputType | null;
|
|
95
|
+
_max: PersonPhoneMaxAggregateOutputType | null;
|
|
96
|
+
};
|
|
97
|
+
type GetPersonPhoneGroupByPayload<T extends PersonPhoneGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PersonPhoneGroupByOutputType, T['by']> & {
|
|
98
|
+
[P in ((keyof T) & (keyof PersonPhoneGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PersonPhoneGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PersonPhoneGroupByOutputType[P]>;
|
|
99
|
+
}>>;
|
|
100
|
+
export type PersonPhoneWhereInput = {
|
|
101
|
+
AND?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[];
|
|
102
|
+
OR?: Prisma.PersonPhoneWhereInput[];
|
|
103
|
+
NOT?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[];
|
|
104
|
+
id?: Prisma.IntFilter<"PersonPhone"> | number;
|
|
105
|
+
phone?: Prisma.StringFilter<"PersonPhone"> | string;
|
|
106
|
+
personId?: Prisma.IntFilter<"PersonPhone"> | number;
|
|
107
|
+
person?: Prisma.XOR<Prisma.PersonScalarRelationFilter, Prisma.PersonWhereInput>;
|
|
108
|
+
};
|
|
109
|
+
export type PersonPhoneOrderByWithRelationInput = {
|
|
110
|
+
id?: Prisma.SortOrder;
|
|
111
|
+
phone?: Prisma.SortOrder;
|
|
112
|
+
personId?: Prisma.SortOrder;
|
|
113
|
+
person?: Prisma.PersonOrderByWithRelationInput;
|
|
114
|
+
};
|
|
115
|
+
export type PersonPhoneWhereUniqueInput = Prisma.AtLeast<{
|
|
116
|
+
id?: number;
|
|
117
|
+
AND?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[];
|
|
118
|
+
OR?: Prisma.PersonPhoneWhereInput[];
|
|
119
|
+
NOT?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[];
|
|
120
|
+
phone?: Prisma.StringFilter<"PersonPhone"> | string;
|
|
121
|
+
personId?: Prisma.IntFilter<"PersonPhone"> | number;
|
|
122
|
+
person?: Prisma.XOR<Prisma.PersonScalarRelationFilter, Prisma.PersonWhereInput>;
|
|
123
|
+
}, "id">;
|
|
124
|
+
export type PersonPhoneOrderByWithAggregationInput = {
|
|
125
|
+
id?: Prisma.SortOrder;
|
|
126
|
+
phone?: Prisma.SortOrder;
|
|
127
|
+
personId?: Prisma.SortOrder;
|
|
128
|
+
_count?: Prisma.PersonPhoneCountOrderByAggregateInput;
|
|
129
|
+
_avg?: Prisma.PersonPhoneAvgOrderByAggregateInput;
|
|
130
|
+
_max?: Prisma.PersonPhoneMaxOrderByAggregateInput;
|
|
131
|
+
_min?: Prisma.PersonPhoneMinOrderByAggregateInput;
|
|
132
|
+
_sum?: Prisma.PersonPhoneSumOrderByAggregateInput;
|
|
133
|
+
};
|
|
134
|
+
export type PersonPhoneScalarWhereWithAggregatesInput = {
|
|
135
|
+
AND?: Prisma.PersonPhoneScalarWhereWithAggregatesInput | Prisma.PersonPhoneScalarWhereWithAggregatesInput[];
|
|
136
|
+
OR?: Prisma.PersonPhoneScalarWhereWithAggregatesInput[];
|
|
137
|
+
NOT?: Prisma.PersonPhoneScalarWhereWithAggregatesInput | Prisma.PersonPhoneScalarWhereWithAggregatesInput[];
|
|
138
|
+
id?: Prisma.IntWithAggregatesFilter<"PersonPhone"> | number;
|
|
139
|
+
phone?: Prisma.StringWithAggregatesFilter<"PersonPhone"> | string;
|
|
140
|
+
personId?: Prisma.IntWithAggregatesFilter<"PersonPhone"> | number;
|
|
141
|
+
};
|
|
142
|
+
export type PersonPhoneCreateInput = {
|
|
143
|
+
phone: string;
|
|
144
|
+
person: Prisma.PersonCreateNestedOneWithoutPhonesInput;
|
|
145
|
+
};
|
|
146
|
+
export type PersonPhoneUncheckedCreateInput = {
|
|
147
|
+
id?: number;
|
|
148
|
+
phone: string;
|
|
149
|
+
personId: number;
|
|
150
|
+
};
|
|
151
|
+
export type PersonPhoneUpdateInput = {
|
|
152
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
153
|
+
person?: Prisma.PersonUpdateOneRequiredWithoutPhonesNestedInput;
|
|
154
|
+
};
|
|
155
|
+
export type PersonPhoneUncheckedUpdateInput = {
|
|
156
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
157
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
158
|
+
personId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
159
|
+
};
|
|
160
|
+
export type PersonPhoneCreateManyInput = {
|
|
161
|
+
id?: number;
|
|
162
|
+
phone: string;
|
|
163
|
+
personId: number;
|
|
164
|
+
};
|
|
165
|
+
export type PersonPhoneUpdateManyMutationInput = {
|
|
166
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
167
|
+
};
|
|
168
|
+
export type PersonPhoneUncheckedUpdateManyInput = {
|
|
169
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
170
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
171
|
+
personId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
172
|
+
};
|
|
173
|
+
export type PersonPhoneListRelationFilter = {
|
|
174
|
+
every?: Prisma.PersonPhoneWhereInput;
|
|
175
|
+
some?: Prisma.PersonPhoneWhereInput;
|
|
176
|
+
none?: Prisma.PersonPhoneWhereInput;
|
|
177
|
+
};
|
|
178
|
+
export type PersonPhoneOrderByRelationAggregateInput = {
|
|
179
|
+
_count?: Prisma.SortOrder;
|
|
180
|
+
};
|
|
181
|
+
export type PersonPhoneCountOrderByAggregateInput = {
|
|
182
|
+
id?: Prisma.SortOrder;
|
|
183
|
+
phone?: Prisma.SortOrder;
|
|
184
|
+
personId?: Prisma.SortOrder;
|
|
185
|
+
};
|
|
186
|
+
export type PersonPhoneAvgOrderByAggregateInput = {
|
|
187
|
+
id?: Prisma.SortOrder;
|
|
188
|
+
personId?: Prisma.SortOrder;
|
|
189
|
+
};
|
|
190
|
+
export type PersonPhoneMaxOrderByAggregateInput = {
|
|
191
|
+
id?: Prisma.SortOrder;
|
|
192
|
+
phone?: Prisma.SortOrder;
|
|
193
|
+
personId?: Prisma.SortOrder;
|
|
194
|
+
};
|
|
195
|
+
export type PersonPhoneMinOrderByAggregateInput = {
|
|
196
|
+
id?: Prisma.SortOrder;
|
|
197
|
+
phone?: Prisma.SortOrder;
|
|
198
|
+
personId?: Prisma.SortOrder;
|
|
199
|
+
};
|
|
200
|
+
export type PersonPhoneSumOrderByAggregateInput = {
|
|
201
|
+
id?: Prisma.SortOrder;
|
|
202
|
+
personId?: Prisma.SortOrder;
|
|
203
|
+
};
|
|
204
|
+
export type PersonPhoneCreateNestedManyWithoutPersonInput = {
|
|
205
|
+
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[];
|
|
206
|
+
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[];
|
|
207
|
+
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope;
|
|
208
|
+
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
209
|
+
};
|
|
210
|
+
export type PersonPhoneUncheckedCreateNestedManyWithoutPersonInput = {
|
|
211
|
+
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[];
|
|
212
|
+
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[];
|
|
213
|
+
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope;
|
|
214
|
+
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
215
|
+
};
|
|
216
|
+
export type PersonPhoneUpdateManyWithoutPersonNestedInput = {
|
|
217
|
+
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[];
|
|
218
|
+
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[];
|
|
219
|
+
upsert?: Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput[];
|
|
220
|
+
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope;
|
|
221
|
+
set?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
222
|
+
disconnect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
223
|
+
delete?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
224
|
+
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
225
|
+
update?: Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput[];
|
|
226
|
+
updateMany?: Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput | Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput[];
|
|
227
|
+
deleteMany?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[];
|
|
228
|
+
};
|
|
229
|
+
export type PersonPhoneUncheckedUpdateManyWithoutPersonNestedInput = {
|
|
230
|
+
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[];
|
|
231
|
+
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[];
|
|
232
|
+
upsert?: Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput[];
|
|
233
|
+
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope;
|
|
234
|
+
set?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
235
|
+
disconnect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
236
|
+
delete?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
237
|
+
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[];
|
|
238
|
+
update?: Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput[];
|
|
239
|
+
updateMany?: Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput | Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput[];
|
|
240
|
+
deleteMany?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[];
|
|
241
|
+
};
|
|
242
|
+
export type PersonPhoneCreateWithoutPersonInput = {
|
|
243
|
+
phone: string;
|
|
244
|
+
};
|
|
245
|
+
export type PersonPhoneUncheckedCreateWithoutPersonInput = {
|
|
246
|
+
id?: number;
|
|
247
|
+
phone: string;
|
|
248
|
+
};
|
|
249
|
+
export type PersonPhoneCreateOrConnectWithoutPersonInput = {
|
|
250
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
251
|
+
create: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput>;
|
|
252
|
+
};
|
|
253
|
+
export type PersonPhoneCreateManyPersonInputEnvelope = {
|
|
254
|
+
data: Prisma.PersonPhoneCreateManyPersonInput | Prisma.PersonPhoneCreateManyPersonInput[];
|
|
255
|
+
skipDuplicates?: boolean;
|
|
256
|
+
};
|
|
257
|
+
export type PersonPhoneUpsertWithWhereUniqueWithoutPersonInput = {
|
|
258
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
259
|
+
update: Prisma.XOR<Prisma.PersonPhoneUpdateWithoutPersonInput, Prisma.PersonPhoneUncheckedUpdateWithoutPersonInput>;
|
|
260
|
+
create: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput>;
|
|
261
|
+
};
|
|
262
|
+
export type PersonPhoneUpdateWithWhereUniqueWithoutPersonInput = {
|
|
263
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
264
|
+
data: Prisma.XOR<Prisma.PersonPhoneUpdateWithoutPersonInput, Prisma.PersonPhoneUncheckedUpdateWithoutPersonInput>;
|
|
265
|
+
};
|
|
266
|
+
export type PersonPhoneUpdateManyWithWhereWithoutPersonInput = {
|
|
267
|
+
where: Prisma.PersonPhoneScalarWhereInput;
|
|
268
|
+
data: Prisma.XOR<Prisma.PersonPhoneUpdateManyMutationInput, Prisma.PersonPhoneUncheckedUpdateManyWithoutPersonInput>;
|
|
269
|
+
};
|
|
270
|
+
export type PersonPhoneScalarWhereInput = {
|
|
271
|
+
AND?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[];
|
|
272
|
+
OR?: Prisma.PersonPhoneScalarWhereInput[];
|
|
273
|
+
NOT?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[];
|
|
274
|
+
id?: Prisma.IntFilter<"PersonPhone"> | number;
|
|
275
|
+
phone?: Prisma.StringFilter<"PersonPhone"> | string;
|
|
276
|
+
personId?: Prisma.IntFilter<"PersonPhone"> | number;
|
|
277
|
+
};
|
|
278
|
+
export type PersonPhoneCreateManyPersonInput = {
|
|
279
|
+
id?: number;
|
|
280
|
+
phone: string;
|
|
281
|
+
};
|
|
282
|
+
export type PersonPhoneUpdateWithoutPersonInput = {
|
|
283
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
};
|
|
285
|
+
export type PersonPhoneUncheckedUpdateWithoutPersonInput = {
|
|
286
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
287
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
};
|
|
289
|
+
export type PersonPhoneUncheckedUpdateManyWithoutPersonInput = {
|
|
290
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
291
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
292
|
+
};
|
|
293
|
+
export type PersonPhoneSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
294
|
+
id?: boolean;
|
|
295
|
+
phone?: boolean;
|
|
296
|
+
personId?: boolean;
|
|
297
|
+
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>;
|
|
298
|
+
}, ExtArgs["result"]["personPhone"]>;
|
|
299
|
+
export type PersonPhoneSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
300
|
+
id?: boolean;
|
|
301
|
+
phone?: boolean;
|
|
302
|
+
personId?: boolean;
|
|
303
|
+
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>;
|
|
304
|
+
}, ExtArgs["result"]["personPhone"]>;
|
|
305
|
+
export type PersonPhoneSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
306
|
+
id?: boolean;
|
|
307
|
+
phone?: boolean;
|
|
308
|
+
personId?: boolean;
|
|
309
|
+
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>;
|
|
310
|
+
}, ExtArgs["result"]["personPhone"]>;
|
|
311
|
+
export type PersonPhoneSelectScalar = {
|
|
312
|
+
id?: boolean;
|
|
313
|
+
phone?: boolean;
|
|
314
|
+
personId?: boolean;
|
|
315
|
+
};
|
|
316
|
+
export type PersonPhoneOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phone" | "personId", ExtArgs["result"]["personPhone"]>;
|
|
317
|
+
export type PersonPhoneInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
318
|
+
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>;
|
|
319
|
+
};
|
|
320
|
+
export type PersonPhoneIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
321
|
+
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>;
|
|
322
|
+
};
|
|
323
|
+
export type PersonPhoneIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
324
|
+
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>;
|
|
325
|
+
};
|
|
326
|
+
export type $PersonPhonePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
327
|
+
name: "PersonPhone";
|
|
328
|
+
objects: {
|
|
329
|
+
person: Prisma.$PersonPayload<ExtArgs>;
|
|
330
|
+
};
|
|
331
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
332
|
+
id: number;
|
|
333
|
+
phone: string;
|
|
334
|
+
personId: number;
|
|
335
|
+
}, ExtArgs["result"]["personPhone"]>;
|
|
336
|
+
composites: {};
|
|
337
|
+
};
|
|
338
|
+
export type PersonPhoneGetPayload<S extends boolean | null | undefined | PersonPhoneDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload, S>;
|
|
339
|
+
export type PersonPhoneCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PersonPhoneFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
340
|
+
select?: PersonPhoneCountAggregateInputType | true;
|
|
341
|
+
};
|
|
342
|
+
export interface PersonPhoneDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
343
|
+
[K: symbol]: {
|
|
344
|
+
types: Prisma.TypeMap<ExtArgs>['model']['PersonPhone'];
|
|
345
|
+
meta: {
|
|
346
|
+
name: 'PersonPhone';
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
findUnique<T extends PersonPhoneFindUniqueArgs>(args: Prisma.SelectSubset<T, PersonPhoneFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
350
|
+
findUniqueOrThrow<T extends PersonPhoneFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PersonPhoneFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
351
|
+
findFirst<T extends PersonPhoneFindFirstArgs>(args?: Prisma.SelectSubset<T, PersonPhoneFindFirstArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
352
|
+
findFirstOrThrow<T extends PersonPhoneFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PersonPhoneFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
353
|
+
findMany<T extends PersonPhoneFindManyArgs>(args?: Prisma.SelectSubset<T, PersonPhoneFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
354
|
+
create<T extends PersonPhoneCreateArgs>(args: Prisma.SelectSubset<T, PersonPhoneCreateArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
355
|
+
createMany<T extends PersonPhoneCreateManyArgs>(args?: Prisma.SelectSubset<T, PersonPhoneCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
356
|
+
createManyAndReturn<T extends PersonPhoneCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PersonPhoneCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
357
|
+
delete<T extends PersonPhoneDeleteArgs>(args: Prisma.SelectSubset<T, PersonPhoneDeleteArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
358
|
+
update<T extends PersonPhoneUpdateArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpdateArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
359
|
+
deleteMany<T extends PersonPhoneDeleteManyArgs>(args?: Prisma.SelectSubset<T, PersonPhoneDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
360
|
+
updateMany<T extends PersonPhoneUpdateManyArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
361
|
+
updateManyAndReturn<T extends PersonPhoneUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
362
|
+
upsert<T extends PersonPhoneUpsertArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpsertArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
363
|
+
count<T extends PersonPhoneCountArgs>(args?: Prisma.Subset<T, PersonPhoneCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PersonPhoneCountAggregateOutputType> : number>;
|
|
364
|
+
aggregate<T extends PersonPhoneAggregateArgs>(args: Prisma.Subset<T, PersonPhoneAggregateArgs>): Prisma.PrismaPromise<GetPersonPhoneAggregateType<T>>;
|
|
365
|
+
groupBy<T extends PersonPhoneGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
366
|
+
orderBy: PersonPhoneGroupByArgs['orderBy'];
|
|
367
|
+
} : {
|
|
368
|
+
orderBy?: PersonPhoneGroupByArgs['orderBy'];
|
|
369
|
+
}, 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 ? {
|
|
370
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
371
|
+
Error,
|
|
372
|
+
'Field ',
|
|
373
|
+
P,
|
|
374
|
+
` in "having" needs to be provided in "by"`
|
|
375
|
+
];
|
|
376
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
377
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
378
|
+
}[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 ? {} : {
|
|
379
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
380
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
381
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
382
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PersonPhoneGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPersonPhoneGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
383
|
+
readonly fields: PersonPhoneFieldRefs;
|
|
384
|
+
}
|
|
385
|
+
export interface Prisma__PersonPhoneClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
386
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
387
|
+
person<T extends Prisma.PersonDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PersonDefaultArgs<ExtArgs>>): Prisma.Prisma__PersonClient<runtime.Types.Result.GetResult<Prisma.$PersonPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
388
|
+
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>;
|
|
389
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
390
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
391
|
+
}
|
|
392
|
+
export interface PersonPhoneFieldRefs {
|
|
393
|
+
readonly id: Prisma.FieldRef<"PersonPhone", 'Int'>;
|
|
394
|
+
readonly phone: Prisma.FieldRef<"PersonPhone", 'String'>;
|
|
395
|
+
readonly personId: Prisma.FieldRef<"PersonPhone", 'Int'>;
|
|
396
|
+
}
|
|
397
|
+
export type PersonPhoneFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
398
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
399
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
400
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
401
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
402
|
+
};
|
|
403
|
+
export type PersonPhoneFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
404
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
405
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
406
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
407
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
408
|
+
};
|
|
409
|
+
export type PersonPhoneFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
410
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
411
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
412
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
413
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
414
|
+
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[];
|
|
415
|
+
cursor?: Prisma.PersonPhoneWhereUniqueInput;
|
|
416
|
+
take?: number;
|
|
417
|
+
skip?: number;
|
|
418
|
+
distinct?: Prisma.PersonPhoneScalarFieldEnum | Prisma.PersonPhoneScalarFieldEnum[];
|
|
419
|
+
};
|
|
420
|
+
export type PersonPhoneFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
421
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
422
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
423
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
424
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
425
|
+
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[];
|
|
426
|
+
cursor?: Prisma.PersonPhoneWhereUniqueInput;
|
|
427
|
+
take?: number;
|
|
428
|
+
skip?: number;
|
|
429
|
+
distinct?: Prisma.PersonPhoneScalarFieldEnum | Prisma.PersonPhoneScalarFieldEnum[];
|
|
430
|
+
};
|
|
431
|
+
export type PersonPhoneFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
432
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
433
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
434
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
435
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
436
|
+
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[];
|
|
437
|
+
cursor?: Prisma.PersonPhoneWhereUniqueInput;
|
|
438
|
+
take?: number;
|
|
439
|
+
skip?: number;
|
|
440
|
+
distinct?: Prisma.PersonPhoneScalarFieldEnum | Prisma.PersonPhoneScalarFieldEnum[];
|
|
441
|
+
};
|
|
442
|
+
export type PersonPhoneCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
443
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
444
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
445
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
446
|
+
data: Prisma.XOR<Prisma.PersonPhoneCreateInput, Prisma.PersonPhoneUncheckedCreateInput>;
|
|
447
|
+
};
|
|
448
|
+
export type PersonPhoneCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
449
|
+
data: Prisma.PersonPhoneCreateManyInput | Prisma.PersonPhoneCreateManyInput[];
|
|
450
|
+
skipDuplicates?: boolean;
|
|
451
|
+
};
|
|
452
|
+
export type PersonPhoneCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
453
|
+
select?: Prisma.PersonPhoneSelectCreateManyAndReturn<ExtArgs> | null;
|
|
454
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
455
|
+
data: Prisma.PersonPhoneCreateManyInput | Prisma.PersonPhoneCreateManyInput[];
|
|
456
|
+
skipDuplicates?: boolean;
|
|
457
|
+
include?: Prisma.PersonPhoneIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
458
|
+
};
|
|
459
|
+
export type PersonPhoneUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
460
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
461
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
462
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
463
|
+
data: Prisma.XOR<Prisma.PersonPhoneUpdateInput, Prisma.PersonPhoneUncheckedUpdateInput>;
|
|
464
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
465
|
+
};
|
|
466
|
+
export type PersonPhoneUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
467
|
+
data: Prisma.XOR<Prisma.PersonPhoneUpdateManyMutationInput, Prisma.PersonPhoneUncheckedUpdateManyInput>;
|
|
468
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
469
|
+
limit?: number;
|
|
470
|
+
};
|
|
471
|
+
export type PersonPhoneUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
472
|
+
select?: Prisma.PersonPhoneSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
473
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
474
|
+
data: Prisma.XOR<Prisma.PersonPhoneUpdateManyMutationInput, Prisma.PersonPhoneUncheckedUpdateManyInput>;
|
|
475
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
476
|
+
limit?: number;
|
|
477
|
+
include?: Prisma.PersonPhoneIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
478
|
+
};
|
|
479
|
+
export type PersonPhoneUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
480
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
481
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
482
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
483
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
484
|
+
create: Prisma.XOR<Prisma.PersonPhoneCreateInput, Prisma.PersonPhoneUncheckedCreateInput>;
|
|
485
|
+
update: Prisma.XOR<Prisma.PersonPhoneUpdateInput, Prisma.PersonPhoneUncheckedUpdateInput>;
|
|
486
|
+
};
|
|
487
|
+
export type PersonPhoneDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
488
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
489
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
490
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
491
|
+
where: Prisma.PersonPhoneWhereUniqueInput;
|
|
492
|
+
};
|
|
493
|
+
export type PersonPhoneDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
494
|
+
where?: Prisma.PersonPhoneWhereInput;
|
|
495
|
+
limit?: number;
|
|
496
|
+
};
|
|
497
|
+
export type PersonPhoneDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
498
|
+
select?: Prisma.PersonPhoneSelect<ExtArgs> | null;
|
|
499
|
+
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null;
|
|
500
|
+
include?: Prisma.PersonPhoneInclude<ExtArgs> | null;
|
|
501
|
+
};
|
|
502
|
+
export {};
|