diff --git a/package-lock.json b/package-lock.json index b367ebd..3ab4f67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@apollo/server": "^4.11.0", "@clerk/express": "^1.2.2", - "@graphql-codegen/cli": "^5.0.2", "@graphql-codegen/introspection": "^4.0.3", "@graphql-codegen/typescript": "^4.0.9", "@graphql-codegen/typescript-operations": "^4.2.3", @@ -28,7 +27,10 @@ "@pothos/plugin-add-graphql": "^4.1.0", "@pothos/plugin-prisma": "^4.2.1", "@pothos/plugin-prisma-utils": "^1.2.0", + "@pothos/plugin-relay": "^4.3.0", "@pothos/plugin-scope-auth": "^4.1.0", + "@pothos/plugin-simple-objects": "^4.1.0", + "@pothos/plugin-smart-subscriptions": "^4.1.0", "@prisma/client": "^5.20.0", "@smatch-corp/nestjs-pothos": "^0.3.0", "@smatch-corp/nestjs-pothos-apollo-driver": "^0.1.0", @@ -57,7 +59,8 @@ "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.12.0", "@faker-js/faker": "^9.0.3", - "@graphql-codegen/cli": "5.0.2", + "@graphql-codegen/cli": "^5.0.2", + "@graphql-codegen/client-preset": "^4.4.0", "@graphql-codegen/typescript": "4.0.9", "@graphql-codegen/typescript-resolvers": "4.2.1", "@nestjs/cli": "^10.0.0", @@ -86,7 +89,7 @@ "ts-loader": "^9.4.3", "ts-node": "^10.9.1", "tsconfig-paths": "^4.2.0", - "typescript": "^5.1.3", + "typescript": "^5.6.3", "ws": "^8.18.0" } }, @@ -4890,6 +4893,16 @@ "graphql": ">=16.6.0" } }, + "node_modules/@pothos/plugin-relay": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@pothos/plugin-relay/-/plugin-relay-4.3.0.tgz", + "integrity": "sha512-sa8PWNQJLSNf7AVY43T3rSq4EnspuAcrPWcH3mCyocaqKzCqZA8DOdJ0tTWeGCJp1lsWkKFSrdb81g9FVJGTIg==", + "license": "ISC", + "peerDependencies": { + "@pothos/core": "*", + "graphql": ">=16.6.0" + } + }, "node_modules/@pothos/plugin-scope-auth": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@pothos/plugin-scope-auth/-/plugin-scope-auth-4.1.0.tgz", @@ -4900,6 +4913,26 @@ "graphql": ">=16.6.0" } }, + "node_modules/@pothos/plugin-simple-objects": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@pothos/plugin-simple-objects/-/plugin-simple-objects-4.1.0.tgz", + "integrity": "sha512-R4u3Hnd6btWt1XHG3bgBa463XbDgH380GRWg88FMrDfoqqkB1EI02gsWgmASqHHJgFI35V9Tc62loGy2XpTUyA==", + "license": "ISC", + "peerDependencies": { + "@pothos/core": "*", + "graphql": ">=16.6.0" + } + }, + "node_modules/@pothos/plugin-smart-subscriptions": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@pothos/plugin-smart-subscriptions/-/plugin-smart-subscriptions-4.1.0.tgz", + "integrity": "sha512-6FzJHOSDixmIZpGKptMD3n79/qjY/kee5hTQZURdiBlHp3asvNy0NBaNsIONdlUMOKjUUd0vQDjGPVw9yOMqRg==", + "license": "ISC", + "peerDependencies": { + "@pothos/core": "*", + "graphql": ">=16.6.0" + } + }, "node_modules/@prisma/client": { "version": "5.20.0", "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.20.0.tgz", diff --git a/package.json b/package.json index 3016281..7c7bf4a 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "dependencies": { "@apollo/server": "^4.11.0", "@clerk/express": "^1.2.2", - "@graphql-codegen/cli": "^5.0.2", "@graphql-codegen/introspection": "^4.0.3", "@graphql-codegen/typescript": "^4.0.9", "@graphql-codegen/typescript-operations": "^4.2.3", @@ -46,7 +45,10 @@ "@pothos/plugin-add-graphql": "^4.1.0", "@pothos/plugin-prisma": "^4.2.1", "@pothos/plugin-prisma-utils": "^1.2.0", + "@pothos/plugin-relay": "^4.3.0", "@pothos/plugin-scope-auth": "^4.1.0", + "@pothos/plugin-simple-objects": "^4.1.0", + "@pothos/plugin-smart-subscriptions": "^4.1.0", "@prisma/client": "^5.20.0", "@smatch-corp/nestjs-pothos": "^0.3.0", "@smatch-corp/nestjs-pothos-apollo-driver": "^0.1.0", @@ -75,7 +77,8 @@ "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.12.0", "@faker-js/faker": "^9.0.3", - "@graphql-codegen/cli": "5.0.2", + "@graphql-codegen/cli": "^5.0.2", + "@graphql-codegen/client-preset": "^4.4.0", "@graphql-codegen/typescript": "4.0.9", "@graphql-codegen/typescript-resolvers": "4.2.1", "@nestjs/cli": "^10.0.0", @@ -104,7 +107,7 @@ "ts-loader": "^9.4.3", "ts-node": "^10.9.1", "tsconfig-paths": "^4.2.0", - "typescript": "^5.1.3", + "typescript": "^5.6.3", "ws": "^8.18.0" }, "jest": { diff --git a/src/Graphql/graphql.builder.ts b/src/Graphql/graphql.builder.ts index db92914..161651a 100644 --- a/src/Graphql/graphql.builder.ts +++ b/src/Graphql/graphql.builder.ts @@ -13,6 +13,11 @@ import GraphQLUpload from 'graphql-upload/GraphQLUpload.js'; import type { FileUpload } from 'graphql-upload/processRequest.js'; import { PrismaCrudGenerator } from './graphql.generator'; import { PubSub } from 'graphql-subscriptions'; +import SimpleObjectPlugin from '@pothos/plugin-simple-objects'; +import SmartSubscriptionPlugin, { + subscribeOptionsFromIterator, +} from '@pothos/plugin-smart-subscriptions'; +import RelayPlugin from '@pothos/plugin-relay'; export interface SchemaContext { req: Request; res: Response; @@ -24,6 +29,9 @@ export interface SchemaBuilderOption { Context: SchemaContext; PrismaTypes: PrismaTypes; DataModel: PothosPrismaDatamodel; + Connection: { + totalCount: number | (() => number | Promise); + }; Scalars: { DateTime: { Input: Date; @@ -46,7 +54,20 @@ export class Builder extends SchemaBuilder { constructor(private readonly prisma: PrismaClient) { super({ - plugins: [PrismaPlugin, PrismaUtils], + plugins: [ + PrismaPlugin, + PrismaUtils, + SimpleObjectPlugin, + SmartSubscriptionPlugin, + RelayPlugin, + ], + smartSubscriptions: { + debounceDelay: 1000, + ...subscribeOptionsFromIterator((name, { pubSub }) => { + return pubSub.asyncIterator(name); + }), + }, + relay: {}, prisma: { client: prisma, exposeDescriptions: true, @@ -62,6 +83,19 @@ export class Builder extends SchemaBuilder { this.queryType({}); this.mutationType({}); + // this.subscriptionType({}); + + this.globalConnectionField('totalCount', (t) => + t.int({ + nullable: true, + resolve: (parent) => + typeof parent.totalCount === 'function' + ? parent.totalCount() + : parent.totalCount, + }), + ); + + // test print ManagedServiceWhereUniqueInput } } export type BuilderTypes = diff --git a/src/Graphql/types/graphql.d.ts b/src/Graphql/types/graphql.d.ts new file mode 100644 index 0000000..e832d13 --- /dev/null +++ b/src/Graphql/types/graphql.d.ts @@ -0,0 +1,7311 @@ +import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type MakeEmpty = { [_ in K]?: never }; +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type RequireFields = Omit & { [P in K]-?: NonNullable }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } + DateTime: { input: any; output: any; } + Json: { input: any; output: any; } + Upload: { input: any; output: any; } +}; + +export type BooleanFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +/** A category of services. */ +export type Category = { + __typename?: 'Category'; + /** The unique identifier of the category. */ + id?: Maybe; + /** The name of the category. */ + name?: Maybe; + /** The subcategory of the category. */ + subCategory?: Maybe>; +}; + +export type CategoryCreateInput = { + SubCategory?: InputMaybe; + id?: InputMaybe; + name: Scalars['String']['input']; +}; + +export type CategoryCreateSubCategoryRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type CategoryCreateWithoutSubCategoryInput = { + id?: InputMaybe; + name: Scalars['String']['input']; +}; + +export type CategoryFilter = { + SubCategory?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +export type CategoryOrderBy = { + SubCategory?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +export type CategoryUniqueFilter = { + id?: InputMaybe; + name?: InputMaybe; +}; + +export type CategoryUpdateWithoutSubCategoryInput = { + id?: InputMaybe; + name?: InputMaybe; +}; + +/** A center in the system. */ +export type Center = { + __typename?: 'Center'; + /** The bank of the center. */ + bank?: Maybe; + /** The bank account number of the center. */ + bankAccountNumber?: Maybe; + /** The owner of the center. */ + centerOwner?: Maybe; + /** The ID of the center owner. */ + centerOwnerId?: Maybe; + /** The staff members of the center. */ + centerStaff?: Maybe>; + /** The status of the center. */ + centerStatus?: Maybe; + /** The chat room associated with the center. */ + chatRoom?: Maybe>; + createdAt?: Maybe; + /** The description of the center. */ + description?: Maybe; + /** The unique identifier of the center. */ + id?: Maybe; + /** Whether the center is an individual center. */ + individual?: Maybe; + /** The location of the center. */ + location?: Maybe; + /** The file associated with the center logo. */ + logoFile?: Maybe; + /** The URL of the center logo. */ + logoUrl?: Maybe; + /** The name of the center. */ + name?: Maybe; + /** The resume of the center. */ + resume?: Maybe>; + /** The services provided by the center. */ + services?: Maybe>; + updatedAt?: Maybe; + /** The ID of the uploaded file. */ + uploadedFileId?: Maybe; +}; + +export type CenterCreateCenterOwnerRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type CenterCreateCenterStaffRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type CenterCreateChatRoomRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type CenterCreateInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + individual: Scalars['Boolean']['input']; + location: Scalars['String']['input']; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name: Scalars['String']['input']; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterCreateLogoFileRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type CenterCreateResumeRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type CenterCreateServicesRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type CenterCreateWithoutCenterOwnerInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + individual: Scalars['Boolean']['input']; + location: Scalars['String']['input']; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name: Scalars['String']['input']; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterCreateWithoutCenterStaffInput = { + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + individual: Scalars['Boolean']['input']; + location: Scalars['String']['input']; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name: Scalars['String']['input']; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterCreateWithoutChatRoomInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + individual: Scalars['Boolean']['input']; + location: Scalars['String']['input']; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name: Scalars['String']['input']; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterCreateWithoutLogoFileInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + individual: Scalars['Boolean']['input']; + location: Scalars['String']['input']; + logoUrl?: InputMaybe; + name: Scalars['String']['input']; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterCreateWithoutServicesInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + individual: Scalars['Boolean']['input']; + location: Scalars['String']['input']; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type CenterFilter = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerOwnerId?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; + uploadedFileId?: InputMaybe; +}; + +export type CenterListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type CenterOrderBy = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerOwnerId?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; + uploadedFileId?: InputMaybe; +}; + +/** A staff member of a center. */ +export type CenterStaff = { + __typename?: 'CenterStaff'; + /** The managed services of the center staff. */ + ManagedService?: Maybe>; + /** The center. */ + center?: Maybe
; + /** The ID of the center. */ + centerId?: Maybe; + /** The workshops created by the center staff. */ + createdWorkshop?: Maybe>; + /** The staff member. */ + staff?: Maybe; + /** The ID of the staff member. */ + staffId?: Maybe; +}; + +export type CenterStaffCreateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type CenterStaffCreateCreatedWorkshopRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type CenterStaffCreateInput = { + ManagedService?: InputMaybe; + center: CenterStaffCreateCenterRelationInput; + createdWorkshop?: InputMaybe; + staff: CenterStaffCreateStaffRelationInput; +}; + +export type CenterStaffCreateManagedServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type CenterStaffCreateStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type CenterStaffCreateWithoutCenterInput = { + ManagedService?: InputMaybe; + createdWorkshop?: InputMaybe; + staff: CenterStaffCreateStaffRelationInput; +}; + +export type CenterStaffCreateWithoutCreatedWorkshopInput = { + ManagedService?: InputMaybe; + center: CenterStaffCreateCenterRelationInput; + staff: CenterStaffCreateStaffRelationInput; +}; + +export type CenterStaffCreateWithoutManagedServiceInput = { + center: CenterStaffCreateCenterRelationInput; + createdWorkshop?: InputMaybe; + staff: CenterStaffCreateStaffRelationInput; +}; + +export type CenterStaffCreateWithoutStaffInput = { + ManagedService?: InputMaybe; + center: CenterStaffCreateCenterRelationInput; + createdWorkshop?: InputMaybe; +}; + +export type CenterStaffFilter = { + ManagedService?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdWorkshop?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; +}; + +export type CenterStaffListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type CenterStaffOrderBy = { + ManagedService?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdWorkshop?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; +}; + +export type CenterStaffUniqueFilter = { + centerId?: InputMaybe; + staffId?: InputMaybe; +}; + +export type CenterStaffUpdateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type CenterStaffUpdateCreatedWorkshopRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type CenterStaffUpdateCreatedWorkshopRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type CenterStaffUpdateCreatedWorkshopRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterStaffUpdateCreatedWorkshopRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterStaffUpdateInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdWorkshop?: InputMaybe; + staff?: InputMaybe; +}; + +export type CenterStaffUpdateManagedServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type CenterStaffUpdateManagedServiceRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type CenterStaffUpdateManagedServiceRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterStaffUpdateManagedServiceRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterStaffUpdateStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type CenterStaffUpdateWithoutCenterInput = { + ManagedService?: InputMaybe; + createdWorkshop?: InputMaybe; + staff?: InputMaybe; +}; + +export type CenterStaffUpdateWithoutCreatedWorkshopInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + staff?: InputMaybe; +}; + +export type CenterStaffUpdateWithoutManagedServiceInput = { + center?: InputMaybe; + createdWorkshop?: InputMaybe; + staff?: InputMaybe; +}; + +export type CenterStaffUpdateWithoutStaffInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdWorkshop?: InputMaybe; +}; + +export type CenterStaffWithoutCenterFilter = { + ManagedService?: InputMaybe; + createdWorkshop?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; +}; + +export enum CenterStatus { + Approved = 'APPROVED', + Pending = 'PENDING', + Rejected = 'REJECTED' +} + +export type CenterStatusFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type CenterUniqueFilter = { + centerOwnerId?: InputMaybe; + id?: InputMaybe; +}; + +export type CenterUpdateCenterOwnerRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type CenterUpdateCenterStaffRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type CenterUpdateCenterStaffRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type CenterUpdateCenterStaffRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateCenterStaffRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateChatRoomRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type CenterUpdateChatRoomRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type CenterUpdateChatRoomRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateChatRoomRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterUpdateLogoFileRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type CenterUpdateResumeRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type CenterUpdateResumeRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type CenterUpdateResumeRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateResumeRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateServicesRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type CenterUpdateServicesRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type CenterUpdateServicesRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateServicesRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type CenterUpdateWithoutCenterOwnerInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterUpdateWithoutCenterStaffInput = { + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterUpdateWithoutChatRoomInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterUpdateWithoutLogoFileInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterUpdateWithoutServicesInput = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoFile?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CenterWithoutLogoFileFilter = { + CenterStaff?: InputMaybe; + Resume?: InputMaybe; + bank?: InputMaybe; + bankAccountNumber?: InputMaybe; + centerOwner?: InputMaybe; + centerOwnerId?: InputMaybe; + centerStatus?: InputMaybe; + chatRoom?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + individual?: InputMaybe; + location?: InputMaybe; + logoUrl?: InputMaybe; + name?: InputMaybe; + services?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** A chat room in the system. */ +export type ChatRoom = { + __typename?: 'ChatRoom'; + /** The center. */ + center?: Maybe
; + /** The ID of the center. */ + centerId?: Maybe; + /** The center staff member. */ + centerStaff?: Maybe; + /** The ID of the center staff member. */ + centerStaffId?: Maybe; + createdAt?: Maybe; + /** The customer. */ + customer?: Maybe; + /** The ID of the customer. */ + customerId?: Maybe; + /** The ID of the chat room. */ + id?: Maybe; + /** The meeting room. */ + meetingRoom?: Maybe; + /** The messages in the chat room. */ + message?: Maybe>; + /** The type of the chat room. */ + type?: Maybe; +}; + +export type ChatRoomCreateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ChatRoomCreateCenterStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ChatRoomCreateCustomerRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ChatRoomCreateMeetingRoomRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ChatRoomCreateMessageRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ChatRoomCreateWithoutCenterInput = { + centerStaff?: InputMaybe; + createdAt: Scalars['DateTime']['input']; + customer: ChatRoomCreateCustomerRelationInput; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type: ChatRoomType; +}; + +export type ChatRoomCreateWithoutCenterStaffInput = { + center: ChatRoomCreateCenterRelationInput; + createdAt: Scalars['DateTime']['input']; + customer: ChatRoomCreateCustomerRelationInput; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type: ChatRoomType; +}; + +export type ChatRoomCreateWithoutCustomerInput = { + center: ChatRoomCreateCenterRelationInput; + centerStaff?: InputMaybe; + createdAt: Scalars['DateTime']['input']; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type: ChatRoomType; +}; + +export type ChatRoomCreateWithoutMessageInput = { + center: ChatRoomCreateCenterRelationInput; + centerStaff?: InputMaybe; + createdAt: Scalars['DateTime']['input']; + customer: ChatRoomCreateCustomerRelationInput; + id?: InputMaybe; + meetingRoom?: InputMaybe; + type: ChatRoomType; +}; + +export type ChatRoomFilter = { + center?: InputMaybe; + centerId?: InputMaybe; + centerStaff?: InputMaybe; + centerStaffId?: InputMaybe; + createdAt?: InputMaybe; + customer?: InputMaybe; + customerId?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export type ChatRoomListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ChatRoomOrderBy = { + center?: InputMaybe; + centerId?: InputMaybe; + centerStaff?: InputMaybe; + centerStaffId?: InputMaybe; + createdAt?: InputMaybe; + customer?: InputMaybe; + customerId?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export enum ChatRoomType { + Consultation = 'CONSULTATION', + Support = 'SUPPORT' +} + +export type ChatRoomTypeFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type ChatRoomUniqueFilter = { + id?: InputMaybe; +}; + +export type ChatRoomUpdateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type ChatRoomUpdateCenterStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type ChatRoomUpdateCustomerRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type ChatRoomUpdateMeetingRoomRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type ChatRoomUpdateMessageRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ChatRoomUpdateMessageRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ChatRoomUpdateMessageRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ChatRoomUpdateMessageRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ChatRoomUpdateWithoutCenterInput = { + centerStaff?: InputMaybe; + createdAt?: InputMaybe; + customer?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export type ChatRoomUpdateWithoutCenterStaffInput = { + center?: InputMaybe; + createdAt?: InputMaybe; + customer?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export type ChatRoomUpdateWithoutCustomerInput = { + center?: InputMaybe; + centerStaff?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export type ChatRoomUpdateWithoutMessageInput = { + center?: InputMaybe; + centerStaff?: InputMaybe; + createdAt?: InputMaybe; + customer?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + type?: InputMaybe; +}; + +export type ChatRoomWithoutCenterFilter = { + centerStaff?: InputMaybe; + centerStaffId?: InputMaybe; + createdAt?: InputMaybe; + customer?: InputMaybe; + customerId?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export type ChatRoomWithoutCenterStaffFilter = { + center?: InputMaybe; + centerId?: InputMaybe; + createdAt?: InputMaybe; + customer?: InputMaybe; + customerId?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export type ChatRoomWithoutCustomerFilter = { + center?: InputMaybe; + centerId?: InputMaybe; + centerStaff?: InputMaybe; + centerStaffId?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + meetingRoom?: InputMaybe; + message?: InputMaybe; + type?: InputMaybe; +}; + +export type DateTimeFilter = { + equals?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + in?: InputMaybe>; + lt?: InputMaybe; + lte?: InputMaybe; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type FloatFilter = { + equals?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + in?: InputMaybe>; + lt?: InputMaybe; + lte?: InputMaybe; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type IntFilter = { + equals?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + in?: InputMaybe>; + lt?: InputMaybe; + lte?: InputMaybe; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type JsonFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +/** A managed service */ +export type ManagedService = { + __typename?: 'ManagedService'; + service?: Maybe; + /** The ID of the service. */ + serviceId?: Maybe; + staff?: Maybe; + /** The ID of the staff member. */ + staffId?: Maybe; +}; + +export type ManagedServiceCreateInput = { + service?: InputMaybe; + staff?: InputMaybe; +}; + +export type ManagedServiceCreateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ManagedServiceCreateStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ManagedServiceCreateWithoutServiceInput = { + staff?: InputMaybe; +}; + +export type ManagedServiceCreateWithoutStaffInput = { + service?: InputMaybe; +}; + +export type ManagedServiceFilter = { + service?: InputMaybe; + serviceId?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; +}; + +export type ManagedServiceListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ManagedServiceOrderBy = { + service?: InputMaybe; + serviceId?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; +}; + +export type ManagedServiceUniqueFilter = { + serviceId?: InputMaybe; + staffId?: InputMaybe; +}; + +export type ManagedServiceUpdateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type ManagedServiceUpdateStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type ManagedServiceUpdateWithoutServiceInput = { + staff?: InputMaybe; +}; + +export type ManagedServiceUpdateWithoutStaffInput = { + service?: InputMaybe; +}; + +export type ManagedServiceWithoutServiceFilter = { + staff?: InputMaybe; + staffId?: InputMaybe; +}; + +export type ManagedServiceWithoutStaffFilter = { + service?: InputMaybe; + serviceId?: InputMaybe; +}; + +/** A message in the system. */ +export type Message = { + __typename?: 'Message'; + /** The chat room. */ + chatRoom?: Maybe; + /** The ID of the chat room. */ + chatRoomId?: Maybe; + /** The ID of the message. */ + id?: Maybe; + /** The message content. */ + message?: Maybe; + /** The sender of the message. */ + sender?: Maybe; + /** The ID of the sender. */ + senderId?: Maybe; + /** The date and time the message was sent. */ + sentAt?: Maybe; +}; + +export type MessageCreateChatRoomRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type MessageCreateSenderRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type MessageCreateWithoutChatRoomInput = { + id?: InputMaybe; + message: Scalars['Json']['input']; + sender: MessageCreateSenderRelationInput; + sentAt: Scalars['DateTime']['input']; +}; + +export type MessageCreateWithoutSenderInput = { + chatRoom: MessageCreateChatRoomRelationInput; + id?: InputMaybe; + message: Scalars['Json']['input']; + sentAt: Scalars['DateTime']['input']; +}; + +export type MessageFilter = { + chatRoom?: InputMaybe; + chatRoomId?: InputMaybe; + id?: InputMaybe; + message?: InputMaybe; + sender?: InputMaybe; + senderId?: InputMaybe; + sentAt?: InputMaybe; +}; + +export type MessageListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type MessageOrderBy = { + chatRoom?: InputMaybe; + chatRoomId?: InputMaybe; + id?: InputMaybe; + message?: InputMaybe; + sender?: InputMaybe; + senderId?: InputMaybe; + sentAt?: InputMaybe; +}; + +export type MessageUniqueFilter = { + id?: InputMaybe; +}; + +export type MessageUpdateChatRoomRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type MessageUpdateSenderRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type MessageUpdateWithoutChatRoomInput = { + id?: InputMaybe; + message?: InputMaybe; + sender?: InputMaybe; + sentAt?: InputMaybe; +}; + +export type MessageUpdateWithoutSenderInput = { + chatRoom?: InputMaybe; + id?: InputMaybe; + message?: InputMaybe; + sentAt?: InputMaybe; +}; + +export type MessageWithoutChatRoomFilter = { + id?: InputMaybe; + message?: InputMaybe; + sender?: InputMaybe; + senderId?: InputMaybe; + sentAt?: InputMaybe; +}; + +export type MessageWithoutSenderFilter = { + chatRoom?: InputMaybe; + chatRoomId?: InputMaybe; + id?: InputMaybe; + message?: InputMaybe; + sentAt?: InputMaybe; +}; + +/** A milestone in the system. */ +export type Milestone = { + __typename?: 'Milestone'; + /** The date and time the milestone was created. */ + createdAt?: Maybe; + /** The description of the milestone. */ + description?: Maybe; + /** The ID of the milestone. */ + id?: Maybe; + /** The order of the milestone. */ + milestoneOrder?: Maybe; + /** The name of the milestone. */ + name?: Maybe; + service?: Maybe; + /** The ID of the service the milestone belongs to. */ + serviceId?: Maybe; + /** The date and time the milestone was last updated. */ + updatedAt?: Maybe; +}; + +export type MilestoneCreateWithoutServiceInput = { + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + milestoneOrder: Scalars['Int']['input']; + name: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type MilestoneFilter = { + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + milestoneOrder?: InputMaybe; + name?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type MilestoneListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type MilestoneOrderBy = { + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + milestoneOrder?: InputMaybe; + name?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type MilestoneUniqueFilter = { + id?: InputMaybe; +}; + +export type MilestoneUpdateWithoutServiceInput = { + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + milestoneOrder?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type MilestoneWithoutServiceFilter = { + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + milestoneOrder?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Mutation = { + __typename?: 'Mutation'; + /** Create a new category. */ + createCategory?: Maybe; + /** Create a new center. */ + createCenter?: Maybe
; + /** Create a new center staff member. */ + createCenterStaff?: Maybe; + createManagedService?: Maybe; + /** Create multiple new categories. */ + createManyCategories?: Maybe>; + /** Create a new order. */ + createOrder?: Maybe; + /** Create a new service. */ + createService?: Maybe; + /** Create a new subcategory. */ + createSubCategory?: Maybe; + /** Create a new workshop. */ + createWorkshop?: Maybe; + /** Delete an existing center. */ + deleteCenter?: Maybe
; + /** Delete an existing center staff member. */ + deleteCenterStaff?: Maybe; + /** Delete an existing order. */ + deleteOrder?: Maybe; + /** Delete a resume file by its unique identifier. */ + deleteResumeFile?: Maybe; + /** Delete an existing service. */ + deleteService?: Maybe; + /** Delete a single uploaded file by its unique identifier. */ + deleteUploadedFile?: Maybe; + /** Delete multiple uploaded files by their unique identifiers. */ + deleteUploadedFiles?: Maybe>; + /** Upload multiple files for a user. */ + multipleUpload?: Maybe>; + /** Upload a single file for a user. */ + singleUpload?: Maybe; + /** Update an existing center. */ + updateCenter?: Maybe
; + /** Update an existing center staff member. */ + updateCenterStaff?: Maybe; + /** Update an existing order. */ + updateOrder?: Maybe; + /** Update the status of a resume. */ + updateResumeStatus?: Maybe; + /** Update an existing service. */ + updateService?: Maybe; + /** Update an existing user. */ + updateUser?: Maybe; + /** Update an existing workshop. */ + updateWorkshop?: Maybe; + /** Create or update a resume. */ + upsertResume?: Maybe; +}; + + +export type MutationCreateCategoryArgs = { + input: CategoryCreateInput; +}; + + +export type MutationCreateCenterArgs = { + input: CenterCreateInput; +}; + + +export type MutationCreateCenterStaffArgs = { + data: CenterStaffCreateInput; +}; + + +export type MutationCreateManagedServiceArgs = { + input: ManagedServiceCreateInput; +}; + + +export type MutationCreateManyCategoriesArgs = { + data: Array; +}; + + +export type MutationCreateOrderArgs = { + data: OrderCreateInput; +}; + + +export type MutationCreateServiceArgs = { + input: ServiceCreateInput; +}; + + +export type MutationCreateSubCategoryArgs = { + input: SubCategoryCreateInput; +}; + + +export type MutationCreateWorkshopArgs = { + input: WorkshopCreateInput; +}; + + +export type MutationDeleteCenterArgs = { + where: CenterUniqueFilter; +}; + + +export type MutationDeleteCenterStaffArgs = { + where: CenterStaffUniqueFilter; +}; + + +export type MutationDeleteOrderArgs = { + where: OrderUniqueFilter; +}; + + +export type MutationDeleteResumeFileArgs = { + resumeFileId: Scalars['String']['input']; +}; + + +export type MutationDeleteServiceArgs = { + where: ServiceUniqueFilter; +}; + + +export type MutationDeleteUploadedFileArgs = { + id: Scalars['String']['input']; +}; + + +export type MutationDeleteUploadedFilesArgs = { + ids: Array; +}; + + +export type MutationMultipleUploadArgs = { + fileType: UploadedFileType; + files: Array; + userId: Scalars['String']['input']; +}; + + +export type MutationSingleUploadArgs = { + file: Scalars['Upload']['input']; + fileType: UploadedFileType; + userId: Scalars['String']['input']; +}; + + +export type MutationUpdateCenterArgs = { + input: CenterUpdateInput; + where: CenterUniqueFilter; +}; + + +export type MutationUpdateCenterStaffArgs = { + data: CenterStaffUpdateInput; + where: CenterStaffUniqueFilter; +}; + + +export type MutationUpdateOrderArgs = { + data: OrderUpdateInput; + where: OrderUniqueFilter; +}; + + +export type MutationUpdateResumeStatusArgs = { + resumeId: Scalars['String']['input']; + status: ResumeStatus; +}; + + +export type MutationUpdateServiceArgs = { + input: ServiceUpdateInput; + where: ServiceUniqueFilter; +}; + + +export type MutationUpdateUserArgs = { + input: UserUpdateInput; + where: UserUniqueFilter; +}; + + +export type MutationUpdateWorkshopArgs = { + input: WorkshopUpdateInput; + where: WorkshopUniqueFilter; +}; + + +export type MutationUpsertResumeArgs = { + centerId: Scalars['String']['input']; + resumeFile: Scalars['Upload']['input']; + userId: Scalars['String']['input']; +}; + +/** An order in the system. */ +export type Order = { + __typename?: 'Order'; + /** The date and time the order was created. */ + createdAt?: Maybe; + /** The ID of the order. */ + id?: Maybe; + /** The payment for the order. */ + payment?: Maybe>; + /** The ID of the payment. */ + paymentId?: Maybe; + /** The refund ticket for the order. */ + refundTicket?: Maybe; + /** The service for the order. */ + service?: Maybe; + /** The ID of the service. */ + serviceId?: Maybe; + /** The status of the order. */ + status?: Maybe; + /** The total price of the order. */ + total?: Maybe; + /** The date and time the order was updated. */ + updatedAt?: Maybe; + /** The user who made the order. */ + user?: Maybe; + /** The ID of the user. */ + userId?: Maybe; +}; + +export enum OrderBy { + Asc = 'Asc', + Desc = 'Desc' +} + +export type OrderCreateInput = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + service: OrderCreateServiceRelationInput; + status: OrderStatus; + total: Scalars['Int']['input']; + updatedAt?: InputMaybe; + user: OrderCreateUserRelationInput; +}; + +export type OrderCreatePaymentRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type OrderCreateRefundTicketRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type OrderCreateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type OrderCreateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type OrderCreateWithoutServiceInput = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + status: OrderStatus; + total: Scalars['Int']['input']; + updatedAt?: InputMaybe; + user: OrderCreateUserRelationInput; +}; + +export type OrderCreateWithoutUserInput = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + service: OrderCreateServiceRelationInput; + status: OrderStatus; + total: Scalars['Int']['input']; + updatedAt?: InputMaybe; +}; + +export type OrderFilter = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + status?: InputMaybe; + total?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export type OrderListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type OrderOrderBy = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + status?: InputMaybe; + total?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export enum OrderStatus { + Failed = 'FAILED', + Paid = 'PAID', + Pending = 'PENDING', + PendingRefund = 'PENDING_REFUND', + Refunded = 'REFUNDED' +} + +export type OrderStatusFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type OrderUniqueFilter = { + id?: InputMaybe; +}; + +export type OrderUpdateInput = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + service?: InputMaybe; + status?: InputMaybe; + total?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; +}; + +export type OrderUpdatePaymentRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type OrderUpdatePaymentRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type OrderUpdatePaymentRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type OrderUpdatePaymentRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type OrderUpdateRefundTicketRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type OrderUpdateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type OrderUpdateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type OrderUpdateWithoutServiceInput = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + status?: InputMaybe; + total?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; +}; + +export type OrderUpdateWithoutUserInput = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + service?: InputMaybe; + status?: InputMaybe; + total?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type OrderWithoutServiceFilter = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + status?: InputMaybe; + total?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export type OrderWithoutUserFilter = { + Payment?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + paymentId?: InputMaybe; + refundTicket?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + status?: InputMaybe; + total?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** A payment in the system. */ +export type Payment = { + __typename?: 'Payment'; + /** The amount of the payment. */ + amount?: Maybe; + /** The date and time the payment was created. */ + createdAt?: Maybe; + /** The ID of the payment. */ + id?: Maybe; + /** The order for the payment. */ + order?: Maybe; + /** The status of the payment. */ + status: PaymentStatus; + /** The date and time the payment was updated. */ + updatedAt?: Maybe; +}; + +export type PaymentCreateWithoutOrderInput = { + amount: Scalars['Float']['input']; + createdAt?: InputMaybe; + id?: InputMaybe; + status: PaymentStatus; + updatedAt?: InputMaybe; +}; + +export type PaymentFilter = { + Order?: InputMaybe; + amount?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type PaymentListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type PaymentOrderBy = { + Order?: InputMaybe; + amount?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export enum PaymentStatus { + Cancelled = 'CANCELLED', + Paid = 'PAID', + Pending = 'PENDING', + Processing = 'PROCESSING' +} + +export type PaymentStatusFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type PaymentUniqueFilter = { + id?: InputMaybe; +}; + +export type PaymentUpdateWithoutOrderInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type PaymentWithoutOrderFilter = { + amount?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Query = { + __typename?: 'Query'; + /** Retrieve a list of categories with optional filtering, ordering, and pagination. */ + categories?: Maybe>; + /** Retrieve a single category by its unique identifier. */ + category?: Maybe; + /** Retrieve a single center by its unique identifier. */ + center?: Maybe
; + /** Retrieve a single center by its unique identifier. */ + centerByCenterStaff?: Maybe
; + /** Retrieve a list of center staff members with optional filtering, ordering, and pagination. */ + centerStaff?: Maybe>; + /** Retrieve a list of centers with optional filtering, ordering, and pagination. */ + centers?: Maybe>; + /** Retrieve a single chat room by its unique identifier. */ + chatRoom?: Maybe; + /** Retrieve a list of chat rooms with optional filtering, ordering, and pagination. */ + chatRooms?: Maybe>; + managedService?: Maybe; + managedServices?: Maybe>; + /** Retrieve a single message by its unique identifier. */ + message?: Maybe; + /** Retrieve a list of messages with optional filtering, ordering, and pagination. */ + messages?: Maybe>; + /** Retrieve a single milestone by its unique identifier. */ + milestone?: Maybe; + /** Retrieve a list of milestones with optional filtering, ordering, and pagination. */ + milestones?: Maybe>; + /** Retrieve a single order by its unique identifier. */ + order?: Maybe; + /** Retrieve a list of orders with optional filtering, ordering, and pagination. */ + orders?: Maybe>; + /** Retrieve a single payment by its unique identifier. */ + payment?: Maybe; + /** Retrieve a list of payments with optional filtering, ordering, and pagination. */ + payments?: Maybe>; + /** Retrieve a list of refund tickets with optional filtering, ordering, and pagination. */ + refundTickets?: Maybe>; + /** Retrieve a single resume by its unique identifier. */ + resume?: Maybe; + /** Retrieve a single resume file by its unique identifier. */ + resumeFile?: Maybe; + /** Retrieve a list of resume files with optional filtering, ordering, and pagination. */ + resumeFiles?: Maybe>; + /** Retrieve a list of resumes with optional filtering, ordering, and pagination. */ + resumes?: Maybe>; + /** Retrieve a single schedule by its unique identifier. */ + schedule?: Maybe; + /** Retrieve a list of schedules with optional filtering, ordering, and pagination. */ + schedules?: Maybe>; + /** Retrieve a single service by its unique identifier. */ + service?: Maybe; + /** Retrieve a list of service and categories with optional filtering, ordering, and pagination. */ + serviceAndCategories?: Maybe>; + /** Retrieve a list of service feedbacks with optional filtering, ordering, and pagination. */ + serviceFeedbacks?: Maybe>; + /** Retrieve a single service meeting room by its unique identifier. */ + serviceMeetingRoom?: Maybe; + /** Retrieve a list of service meeting rooms with optional filtering, ordering, and pagination. */ + serviceMeetingRooms?: Maybe>; + /** Retrieve a list of services with optional filtering, ordering, and pagination. */ + services?: Maybe>; + /** Retrieve a list of subcategories with optional filtering, ordering, and pagination. */ + subCategories?: Maybe>; + /** Retrieve a single uploaded file by its unique identifier. */ + uploadedFile?: Maybe; + /** Retrieve a list of uploaded files with optional filtering, ordering, and pagination. */ + uploadedFiles?: Maybe>; + /** Retrieve a single user by their unique identifier. */ + user?: Maybe; + /** Retrieve a single user by their session ID. */ + userBySession?: Maybe; + /** Retrieve a list of users with optional filtering, ordering, and pagination. */ + users?: Maybe>; + /** Retrieve a single workshop by its unique identifier. */ + workshop?: Maybe; + /** Retrieve a single workshop subscription by its unique identifier. */ + workshopSubscription?: Maybe; + /** Retrieve a list of workshop subscriptions with optional filtering, ordering, and pagination. */ + workshopSubscriptions?: Maybe>; + /** Retrieve a list of workshops with optional filtering, ordering, and pagination. */ + workshops?: Maybe>; +}; + + +export type QueryCategoriesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryCategoryArgs = { + where: CategoryUniqueFilter; +}; + + +export type QueryCenterArgs = { + where: CenterUniqueFilter; +}; + + +export type QueryCenterByCenterStaffArgs = { + userId: Scalars['String']['input']; +}; + + +export type QueryCenterStaffArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryCentersArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryChatRoomArgs = { + where: ChatRoomUniqueFilter; +}; + + +export type QueryChatRoomsArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryManagedServiceArgs = { + where: ManagedServiceUniqueFilter; +}; + + +export type QueryManagedServicesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryMessageArgs = { + where: MessageUniqueFilter; +}; + + +export type QueryMessagesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryMilestoneArgs = { + where: MilestoneUniqueFilter; +}; + + +export type QueryMilestonesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryOrderArgs = { + where: OrderUniqueFilter; +}; + + +export type QueryOrdersArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryPaymentArgs = { + where: PaymentUniqueFilter; +}; + + +export type QueryPaymentsArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryRefundTicketsArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryResumeArgs = { + where: ResumeUniqueFilter; +}; + + +export type QueryResumeFileArgs = { + where: ResumeFileUniqueFilter; +}; + + +export type QueryResumeFilesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryResumesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryScheduleArgs = { + where: ScheduleUniqueFilter; +}; + + +export type QuerySchedulesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryServiceArgs = { + input: ServiceUniqueFilter; +}; + + +export type QueryServiceAndCategoriesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryServiceFeedbacksArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryServiceMeetingRoomArgs = { + where: ServiceMeetingRoomUniqueFilter; +}; + + +export type QueryServiceMeetingRoomsArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryServicesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QuerySubCategoriesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryUploadedFileArgs = { + where: UploadedFileUniqueFilter; +}; + + +export type QueryUploadedFilesArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryUserArgs = { + where: UserUniqueFilter; +}; + + +export type QueryUserBySessionArgs = { + sessionId: Scalars['String']['input']; +}; + + +export type QueryUsersArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryWorkshopArgs = { + where: WorkshopUniqueFilter; +}; + + +export type QueryWorkshopSubscriptionArgs = { + where: WorkshopSubscriptionUniqueFilter; +}; + + +export type QueryWorkshopSubscriptionsArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + + +export type QueryWorkshopsArgs = { + cursor?: InputMaybe; + filter?: InputMaybe; + orderBy?: InputMaybe>; + skip?: InputMaybe; + take?: InputMaybe; +}; + +export type RefundTicket = { + __typename?: 'RefundTicket'; + /** The amount of the refund ticket. */ + amount?: Maybe; + /** The date and time the refund ticket was created. */ + createdAt?: Maybe; + /** The ID of the refund ticket. */ + id?: Maybe; + /** The order for the refund ticket. */ + order?: Maybe; + /** The status of the refund ticket. */ + status?: Maybe; + /** The date and time the refund ticket was updated. */ + updatedAt?: Maybe; +}; + +export type RefundTicketCreateWithoutOrderInput = { + amount: Scalars['Float']['input']; + createdAt?: InputMaybe; + id?: InputMaybe; + status: PaymentStatus; + updatedAt?: InputMaybe; +}; + +export type RefundTicketFilter = { + amount?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type RefundTicketOrderBy = { + amount?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type RefundTicketUniqueFilter = { + id?: InputMaybe; + orderId?: InputMaybe; +}; + +export type RefundTicketUpdateWithoutOrderInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** A resume in the system. */ +export type Resume = { + __typename?: 'Resume'; + /** The center for the resume. */ + center?: Maybe
; + /** The ID of the center. */ + centerId?: Maybe; + /** The date and time the resume was created. */ + createdAt?: Maybe; + /** The ID of the resume. */ + id?: Maybe; + /** The resume file for the resume. */ + resumeFile?: Maybe>; + /** The status of the resume. */ + status?: Maybe; + /** The date and time the resume was updated. */ + updatedAt?: Maybe; + /** The ID of the user. */ + userId?: Maybe; +}; + +export type ResumeCreateResumeFileRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ResumeCreateWithoutCenterInput = { + ResumeFile?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; + userId: Scalars['String']['input']; +}; + +/** A file associated with a resume. */ +export type ResumeFile = { + __typename?: 'ResumeFile'; + /** The original name of the resume file. */ + actualFileName?: Maybe; + /** The date and time the resume file was created. */ + createdAt?: Maybe; + /** The URL of the resume file. */ + fileUrl?: Maybe; + /** The ID of the resume file. */ + id?: Maybe; + /** The resume for the resume file. */ + resume?: Maybe; + /** The ID of the resume. */ + resumeId?: Maybe; + /** The type of the resume file. */ + type?: Maybe; + /** The date and time the resume file was updated. */ + updatedAt?: Maybe; +}; + +export type ResumeFileCreateWithoutResumeInput = { + actualFileName: Scalars['String']['input']; + createdAt?: InputMaybe; + fileUrl: Scalars['String']['input']; + id?: InputMaybe; + type: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type ResumeFileFilter = { + actualFileName?: InputMaybe; + createdAt?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + resume?: InputMaybe; + resumeId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ResumeFileListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ResumeFileOrderBy = { + actualFileName?: InputMaybe; + createdAt?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + resume?: InputMaybe; + resumeId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ResumeFileUniqueFilter = { + id?: InputMaybe; +}; + +export type ResumeFileUpdateWithoutResumeInput = { + actualFileName?: InputMaybe; + createdAt?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ResumeFileWithoutResumeFilter = { + actualFileName?: InputMaybe; + createdAt?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ResumeFilter = { + ResumeFile?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; + userId?: InputMaybe; +}; + +export type ResumeListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ResumeOrderBy = { + ResumeFile?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; + userId?: InputMaybe; +}; + +export enum ResumeStatus { + Approved = 'APPROVED', + Rejected = 'REJECTED', + Requested = 'REQUESTED', + Reviewing = 'REVIEWING' +} + +export type ResumeStatusFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type ResumeUniqueFilter = { + centerId?: InputMaybe; + id?: InputMaybe; + userId?: InputMaybe; +}; + +export type ResumeUpdateResumeFileRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ResumeUpdateResumeFileRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ResumeUpdateResumeFileRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ResumeUpdateResumeFileRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ResumeUpdateWithoutCenterInput = { + ResumeFile?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; + userId?: InputMaybe; +}; + +export type ResumeWithoutCenterFilter = { + ResumeFile?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + updatedAt?: InputMaybe; + userId?: InputMaybe; +}; + +export enum Role { + Admin = 'ADMIN', + CenterOwner = 'CENTER_OWNER', + CenterStaff = 'CENTER_STAFF', + Customer = 'CUSTOMER', + Moderator = 'MODERATOR' +} + +export type RoleFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +/** A schedule in the system. */ +export type Schedule = { + __typename?: 'Schedule'; + dates?: Maybe>; + id?: Maybe; + scheduleEnd: Scalars['DateTime']['output']; + scheduleStart: Scalars['DateTime']['output']; + /** The service the schedule belongs to. */ + service: Service; + /** The ID of the service the schedule belongs to. */ + serviceId: Scalars['ID']['output']; + status: ScheduleStatus; +}; + +export type ScheduleCreateDatesRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ScheduleCreateWithoutServiceInput = { + ScheduleEnd: Scalars['DateTime']['input']; + ScheduleStart: Scalars['DateTime']['input']; + dates?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; +}; + +/** A schedule date in the system. */ +export type ScheduleDate = { + __typename?: 'ScheduleDate'; + end: Scalars['DateTime']['output']; + /** The ID of the schedule date. */ + id?: Maybe; + /** The schedule the schedule date belongs to. */ + schedule?: Maybe; + /** The ID of the schedule the schedule date belongs to. */ + scheduleId?: Maybe; + start: Scalars['DateTime']['output']; +}; + +export type ScheduleDateCreateWithoutScheduleInput = { + end: Scalars['DateTime']['input']; + id?: InputMaybe; + start: Scalars['DateTime']['input']; +}; + +export type ScheduleDateFilter = { + Schedule?: InputMaybe; + end?: InputMaybe; + id?: InputMaybe; + scheduleId?: InputMaybe; + start?: InputMaybe; +}; + +export type ScheduleDateListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ScheduleDateOrderBy = { + Schedule?: InputMaybe; + end?: InputMaybe; + id?: InputMaybe; + scheduleId?: InputMaybe; + start?: InputMaybe; +}; + +export type ScheduleDateUniqueFilter = { + id?: InputMaybe; +}; + +export type ScheduleDateUpdateWithoutScheduleInput = { + end?: InputMaybe; + id?: InputMaybe; + start?: InputMaybe; +}; + +export type ScheduleDateWithoutScheduleFilter = { + end?: InputMaybe; + id?: InputMaybe; + start?: InputMaybe; +}; + +export type ScheduleFilter = { + ScheduleEnd?: InputMaybe; + ScheduleStart?: InputMaybe; + dates?: InputMaybe; + id?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + status?: InputMaybe; +}; + +export type ScheduleListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ScheduleOrderBy = { + ScheduleEnd?: InputMaybe; + ScheduleStart?: InputMaybe; + dates?: InputMaybe; + id?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + status?: InputMaybe; +}; + +export enum ScheduleStatus { + Completed = 'COMPLETED', + Expired = 'EXPIRED', + InProgress = 'IN_PROGRESS', + Published = 'PUBLISHED', + Unpublished = 'UNPUBLISHED' +} + +export type ScheduleStatusFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type ScheduleUniqueFilter = { + id?: InputMaybe; +}; + +export type ScheduleUpdateDatesRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ScheduleUpdateDatesRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ScheduleUpdateDatesRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ScheduleUpdateDatesRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ScheduleUpdateWithoutServiceInput = { + ScheduleEnd?: InputMaybe; + ScheduleStart?: InputMaybe; + dates?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; +}; + +export type ScheduleWithoutServiceFilter = { + ScheduleEnd?: InputMaybe; + ScheduleStart?: InputMaybe; + dates?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; +}; + +/** A service offered by a center. */ +export type Service = { + __typename?: 'Service'; + /** The center that offers the service. */ + center?: Maybe
; + /** The ID of the center that offers the service. */ + centerId?: Maybe; + /** The date and time the service was created. */ + createdAt?: Maybe; + /** The description of the service. */ + description?: Maybe; + /** The feedbacks for the service. */ + feedbacks?: Maybe>; + /** The ID of the service. */ + id?: Maybe; + /** The image file for the service. */ + imageFile?: Maybe; + /** The ID of the image file for the service. */ + imageFileId?: Maybe; + /** The URL of the image file for the service. */ + imageFileUrl?: Maybe; + /** The managed service for the service. */ + managedService?: Maybe>; + /** The milestone for the service. */ + milestone?: Maybe>; + /** The name of the service. */ + name?: Maybe; + /** The order for the service. */ + order?: Maybe>; + /** The price of the service. */ + price?: Maybe; + /** The rating of the service. */ + rating?: Maybe; + /** The schedule for the service. */ + schedule?: Maybe>; + /** The service and category for the service. */ + serviceAndCategory?: Maybe>; + /** The date and time the service was updated. */ + updatedAt?: Maybe; + /** The user who requested the service. */ + user?: Maybe; + /** The ID of the user who requested the service. */ + userId?: Maybe; + /** The workshop for the service. */ + workshop?: Maybe>; + /** The workshop organization for the service. */ + workshopOrganization?: Maybe>; +}; + +/** A service and category in the system. */ +export type ServiceAndCategory = { + __typename?: 'ServiceAndCategory'; + /** The service for the service and category. */ + service?: Maybe; + /** The ID of the service. */ + serviceId?: Maybe; + /** The sub category for the service and category. */ + subCategory?: Maybe; + /** The ID of the sub category. */ + subCategoryId?: Maybe; +}; + +export type ServiceAndCategoryCreateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ServiceAndCategoryCreateSubCategoryRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ServiceAndCategoryCreateWithoutServiceInput = { + SubCategory: ServiceAndCategoryCreateSubCategoryRelationInput; +}; + +export type ServiceAndCategoryCreateWithoutSubCategoryInput = { + service: ServiceAndCategoryCreateServiceRelationInput; +}; + +export type ServiceAndCategoryFilter = { + SubCategory?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + subCategoryId?: InputMaybe; +}; + +export type ServiceAndCategoryListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ServiceAndCategoryOrderBy = { + SubCategory?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + subCategoryId?: InputMaybe; +}; + +export type ServiceAndCategoryUniqueFilter = { + serviceId?: InputMaybe; + subCategoryId?: InputMaybe; +}; + +export type ServiceAndCategoryUpdateSubCategoryRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type ServiceAndCategoryUpdateWithoutServiceInput = { + SubCategory?: InputMaybe; +}; + +export type ServiceAndCategoryWithoutServiceFilter = { + SubCategory?: InputMaybe; + subCategoryId?: InputMaybe; +}; + +export type ServiceCreateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ServiceCreateFeedbacksRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ServiceCreateImageFileRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ServiceCreateInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateManagedServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ServiceCreateMilestoneRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ServiceCreateOrderRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ServiceCreateScheduleRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ServiceCreateServiceAndCategoryRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ServiceCreateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ServiceCreateWithoutCenterInput = { + ManagedService?: InputMaybe; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutFeedbacksInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutImageFileInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutManagedServiceInput = { + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutOrderInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutServiceAndCategoryInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutUserInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutWorkshopInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceCreateWithoutWorkshopOrganizationInput = { + ManagedService?: InputMaybe; + center: ServiceCreateCenterRelationInput; + createdAt?: InputMaybe; + description: Scalars['String']['input']; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name: Scalars['String']['input']; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; +}; + +export type ServiceCreateWorkshopOrganizationRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type ServiceCreateWorkshopRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +/** A feedback for a service. */ +export type ServiceFeedback = { + __typename?: 'ServiceFeedback'; + /** The comments of the service feedback. */ + comments?: Maybe; + /** The date and time the service feedback was created. */ + createdAt?: Maybe; + /** The ID of the service feedback. */ + id?: Maybe; + /** The rating of the service. */ + rating?: Maybe; + /** The service that was provided. */ + service?: Maybe; + /** The ID of the service that was provided. */ + serviceId?: Maybe; + /** The date and time the service feedback was updated. */ + updatedAt?: Maybe; + /** The user who provided the feedback. */ + user?: Maybe; + /** The ID of the user who provided the feedback. */ + userId?: Maybe; +}; + +export type ServiceFeedbackCreateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ServiceFeedbackCreateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type ServiceFeedbackCreateWithoutServiceInput = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating: Scalars['Float']['input']; + updatedAt?: InputMaybe; + user: ServiceFeedbackCreateUserRelationInput; +}; + +export type ServiceFeedbackCreateWithoutUserInput = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating: Scalars['Float']['input']; + service: ServiceFeedbackCreateServiceRelationInput; + updatedAt?: InputMaybe; +}; + +export type ServiceFeedbackFilter = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export type ServiceFeedbackListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type ServiceFeedbackOrderBy = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export type ServiceFeedbackUniqueFilter = { + id?: InputMaybe; +}; + +export type ServiceFeedbackUpdateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type ServiceFeedbackUpdateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type ServiceFeedbackUpdateWithoutServiceInput = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; +}; + +export type ServiceFeedbackUpdateWithoutUserInput = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + service?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ServiceFeedbackWithoutServiceFilter = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export type ServiceFeedbackWithoutUserFilter = { + comments?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ServiceFilter = { + ManagedService?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +/** A service meeting room in the system. */ +export type ServiceMeetingRoom = { + __typename?: 'ServiceMeetingRoom'; + chattingRoom?: Maybe; + chattingRoomId?: Maybe; + id?: Maybe; +}; + +export type ServiceMeetingRoomCreateWithoutChattingRoomInput = { + id?: InputMaybe; +}; + +export type ServiceMeetingRoomFilter = { + chattingRoom?: InputMaybe; + chattingRoomId?: InputMaybe; + id?: InputMaybe; +}; + +export type ServiceMeetingRoomOrderBy = { + chattingRoom?: InputMaybe; + chattingRoomId?: InputMaybe; + id?: InputMaybe; +}; + +export type ServiceMeetingRoomUniqueFilter = { + chattingRoomId?: InputMaybe; + id?: InputMaybe; +}; + +export type ServiceMeetingRoomUpdateWithoutChattingRoomInput = { + id?: InputMaybe; +}; + +export type ServiceOrderBy = { + ManagedService?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUniqueFilter = { + id?: InputMaybe; +}; + +export type ServiceUpdateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type ServiceUpdateFeedbacksRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateFeedbacksRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateFeedbacksRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateFeedbacksRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateImageFileRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type ServiceUpdateInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateManagedServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateManagedServiceRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateManagedServiceRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateManagedServiceRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateMilestoneRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateMilestoneRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateMilestoneRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateMilestoneRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateOrderRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateOrderRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateOrderRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateOrderRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateScheduleRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateScheduleRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateScheduleRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateScheduleRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateServiceAndCategoryRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateServiceAndCategoryRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateServiceAndCategoryRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateServiceAndCategoryRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type ServiceUpdateWithoutCenterInput = { + ManagedService?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateWithoutFeedbacksInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateWithoutImageFileInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateWithoutManagedServiceInput = { + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateWithoutOrderInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateWithoutUserInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateWithoutWorkshopInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceUpdateWithoutWorkshopOrganizationInput = { + ManagedService?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + workshop?: InputMaybe; +}; + +export type ServiceUpdateWorkshopOrganizationRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateWorkshopOrganizationRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateWorkshopOrganizationRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateWorkshopOrganizationRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateWorkshopRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type ServiceUpdateWorkshopRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type ServiceUpdateWorkshopRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceUpdateWorkshopRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type ServiceWithoutCenterFilter = { + ManagedService?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceWithoutImageFileFilter = { + ManagedService?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type ServiceWithoutUserFilter = { + ManagedService?: InputMaybe; + center?: InputMaybe; + centerId?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + feedbacks?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + milestone?: InputMaybe; + name?: InputMaybe; + order?: InputMaybe; + price?: InputMaybe; + rating?: InputMaybe; + schedule?: InputMaybe; + serviceAndCategory?: InputMaybe; + updatedAt?: InputMaybe; + workshop?: InputMaybe; + workshopOrganization?: InputMaybe; +}; + +export type StringFilter = { + contains?: InputMaybe; + endsWith?: InputMaybe; + equals?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + in?: InputMaybe>; + lt?: InputMaybe; + lte?: InputMaybe; + mode?: InputMaybe; + not?: InputMaybe; + notIn?: InputMaybe>; + startsWith?: InputMaybe; +}; + +export enum StringFilterMode { + Default = 'Default', + Insensitive = 'Insensitive' +} + +/** A subcategory of services. */ +export type SubCategory = { + __typename?: 'SubCategory'; + /** The category that the subcategory belongs to. */ + category?: Maybe; + /** The ID of the category that the subcategory belongs to. */ + categoryId?: Maybe; + /** The unique identifier of the subcategory. */ + id?: Maybe; + /** The name of the subcategory. */ + name?: Maybe; + /** The service and category that the subcategory belongs to. */ + serviceAndCategory?: Maybe>; +}; + +export type SubCategoryCreateCategoryRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type SubCategoryCreateInput = { + category: SubCategoryCreateCategoryRelationInput; + id?: InputMaybe; + name: Scalars['String']['input']; + serviceAndCategory?: InputMaybe; +}; + +export type SubCategoryCreateServiceAndCategoryRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type SubCategoryCreateWithoutCategoryInput = { + id?: InputMaybe; + name: Scalars['String']['input']; + serviceAndCategory?: InputMaybe; +}; + +export type SubCategoryCreateWithoutServiceAndCategoryInput = { + category: SubCategoryCreateCategoryRelationInput; + id?: InputMaybe; + name: Scalars['String']['input']; +}; + +export type SubCategoryFilter = { + category?: InputMaybe; + categoryId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + serviceAndCategory?: InputMaybe; +}; + +export type SubCategoryListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type SubCategoryOrderBy = { + category?: InputMaybe; + categoryId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + serviceAndCategory?: InputMaybe; +}; + +export type SubCategoryUniqueFilter = { + id?: InputMaybe; + name?: InputMaybe; +}; + +export type SubCategoryUpdateCategoryRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type SubCategoryUpdateWithoutServiceAndCategoryInput = { + category?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** A file uploaded by a user. */ +export type UploadedFile = { + __typename?: 'UploadedFile'; + /** The original name of the file. */ + actualFileName?: Maybe; + /** The name of the file. */ + fileName?: Maybe; + /** The type of the file. */ + fileType: UploadedFileType; + /** The URL of the file. */ + fileUrl?: Maybe; + /** The ID of the uploaded file. */ + id?: Maybe; + /** The date and time the file was uploaded. */ + uploadedAt?: Maybe; + /** The user who uploaded the file. */ + user?: Maybe; + /** The ID of the user who uploaded the file. */ + userId?: Maybe; +}; + +export type UploadedFileCreateCenterRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UploadedFileCreateServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UploadedFileCreateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type UploadedFileCreateWithoutCenterInput = { + Service?: InputMaybe; + Workshop?: InputMaybe; + actualFileName: Scalars['String']['input']; + fileName: Scalars['String']['input']; + fileType: UploadedFileType; + fileUrl: Scalars['String']['input']; + id?: InputMaybe; + type: Scalars['String']['input']; + uploadedAt?: InputMaybe; + user: UploadedFileCreateUserRelationInput; +}; + +export type UploadedFileCreateWithoutServiceInput = { + Center?: InputMaybe; + Workshop?: InputMaybe; + actualFileName: Scalars['String']['input']; + fileName: Scalars['String']['input']; + fileType: UploadedFileType; + fileUrl: Scalars['String']['input']; + id?: InputMaybe; + type: Scalars['String']['input']; + uploadedAt?: InputMaybe; + user: UploadedFileCreateUserRelationInput; +}; + +export type UploadedFileCreateWithoutUserInput = { + Center?: InputMaybe; + Service?: InputMaybe; + Workshop?: InputMaybe; + actualFileName: Scalars['String']['input']; + fileName: Scalars['String']['input']; + fileType: UploadedFileType; + fileUrl: Scalars['String']['input']; + id?: InputMaybe; + type: Scalars['String']['input']; + uploadedAt?: InputMaybe; +}; + +export type UploadedFileCreateWithoutWorkshopInput = { + Center?: InputMaybe; + Service?: InputMaybe; + actualFileName: Scalars['String']['input']; + fileName: Scalars['String']['input']; + fileType: UploadedFileType; + fileUrl: Scalars['String']['input']; + id?: InputMaybe; + type: Scalars['String']['input']; + uploadedAt?: InputMaybe; + user: UploadedFileCreateUserRelationInput; +}; + +export type UploadedFileCreateWorkshopRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UploadedFileFilter = { + Center?: InputMaybe; + Service?: InputMaybe; + Workshop?: InputMaybe; + actualFileName?: InputMaybe; + fileName?: InputMaybe; + fileType?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + uploadedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export type UploadedFileListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type UploadedFileOrderBy = { + Center?: InputMaybe; + Service?: InputMaybe; + Workshop?: InputMaybe; + actualFileName?: InputMaybe; + fileName?: InputMaybe; + fileType?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + uploadedAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export enum UploadedFileType { + Document = 'DOCUMENT', + Image = 'IMAGE', + Other = 'OTHER' +} + +export type UploadedFileTypeFilter = { + equals?: InputMaybe; + in?: InputMaybe>; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + +export type UploadedFileUniqueFilter = { + id?: InputMaybe; +}; + +export type UploadedFileUpdateCenterRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UploadedFileUpdateCenterRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UploadedFileUpdateCenterRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UploadedFileUpdateCenterRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UploadedFileUpdateServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UploadedFileUpdateServiceRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UploadedFileUpdateServiceRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UploadedFileUpdateServiceRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UploadedFileUpdateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type UploadedFileUpdateWithoutCenterInput = { + Service?: InputMaybe; + Workshop?: InputMaybe; + actualFileName?: InputMaybe; + fileName?: InputMaybe; + fileType?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + uploadedAt?: InputMaybe; + user?: InputMaybe; +}; + +export type UploadedFileUpdateWithoutServiceInput = { + Center?: InputMaybe; + Workshop?: InputMaybe; + actualFileName?: InputMaybe; + fileName?: InputMaybe; + fileType?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + uploadedAt?: InputMaybe; + user?: InputMaybe; +}; + +export type UploadedFileUpdateWithoutUserInput = { + Center?: InputMaybe; + Service?: InputMaybe; + Workshop?: InputMaybe; + actualFileName?: InputMaybe; + fileName?: InputMaybe; + fileType?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + uploadedAt?: InputMaybe; +}; + +export type UploadedFileUpdateWithoutWorkshopInput = { + Center?: InputMaybe; + Service?: InputMaybe; + actualFileName?: InputMaybe; + fileName?: InputMaybe; + fileType?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + uploadedAt?: InputMaybe; + user?: InputMaybe; +}; + +export type UploadedFileUpdateWorkshopRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UploadedFileUpdateWorkshopRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UploadedFileUpdateWorkshopRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UploadedFileUpdateWorkshopRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UploadedFileWithoutUserFilter = { + Center?: InputMaybe; + Service?: InputMaybe; + Workshop?: InputMaybe; + actualFileName?: InputMaybe; + fileName?: InputMaybe; + fileType?: InputMaybe; + fileUrl?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + uploadedAt?: InputMaybe; +}; + +/** A user in the system. */ +export type User = { + __typename?: 'User'; + /** The center staff of the user. */ + CenterStaff?: Maybe; + /** The workshop subscription of the user. */ + WorkshopSubscription?: Maybe>; + /** The bank account number of the user. */ + bankAccountNumber?: Maybe; + /** The bank bin of the user. */ + bankBin?: Maybe; + /** The center of the user. */ + center?: Maybe
; + /** The center staff chat room of the user. */ + centerStaffChatRoom?: Maybe>; + /** The date and time the user was created. */ + createdAt?: Maybe; + /** The customer chat room of the user. */ + customerChatRoom?: Maybe>; + /** The email of the user. */ + email?: Maybe; + /** The files of the user. */ + files?: Maybe>; + /** The ID of the user. */ + id?: Maybe; + /** The name of the user. */ + name?: Maybe; + /** The orders of the user. */ + orders?: Maybe>; + /** The phone number of the user. */ + phoneNumber?: Maybe; + /** The role of the user. */ + role?: Maybe; + /** The sending message of the user. */ + sendingMessage?: Maybe>; + /** The service feedbacks of the user. */ + serviceFeedbacks?: Maybe>; + /** The date and time the user was updated. */ + updatedAt?: Maybe; +}; + +export type UserCreateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type UserCreateCenterStaffChatRoomRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserCreateCenterStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type UserCreateCustomerChatRoomRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserCreateFilesRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserCreateOrdersRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserCreateSendingMessageRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserCreateServiceFeedbacksRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserCreateServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserCreateWithoutCenterInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutCenterStaffChatRoomInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutCenterStaffInput = { + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutCustomerChatRoomInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutFilesInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutOrdersInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutSendingMessageInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutServiceFeedbacksInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutServiceInput = { + CenterStaff?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWithoutWorkshopSubscriptionInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email: Scalars['String']['input']; + files?: InputMaybe; + id: Scalars['String']['input']; + name: Scalars['String']['input']; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserCreateWorkshopSubscriptionRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type UserFilter = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserOrderBy = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUniqueFilter = { + email?: InputMaybe; + id?: InputMaybe; +}; + +export type UserUpdateCenterRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type UserUpdateCenterStaffChatRoomRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateCenterStaffChatRoomRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateCenterStaffChatRoomRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateCenterStaffChatRoomRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateCenterStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type UserUpdateCustomerChatRoomRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateCustomerChatRoomRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateCustomerChatRoomRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateCustomerChatRoomRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateFilesRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateFilesRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateFilesRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateFilesRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateOrdersRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateOrdersRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateOrdersRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateOrdersRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateSendingMessageRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateSendingMessageRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateSendingMessageRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateSendingMessageRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateServiceFeedbacksRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateServiceFeedbacksRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateServiceFeedbacksRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateServiceFeedbacksRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateServiceRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateServiceRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateServiceRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateServiceRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateWithoutCenterInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutCenterStaffChatRoomInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutCenterStaffInput = { + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutCustomerChatRoomInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutFilesInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutOrdersInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutSendingMessageInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutServiceFeedbacksInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutServiceInput = { + CenterStaff?: InputMaybe; + WorkshopSubscription?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWithoutWorkshopSubscriptionInput = { + CenterStaff?: InputMaybe; + Service?: InputMaybe; + bankAccountNumber?: InputMaybe; + bankBin?: InputMaybe; + center?: InputMaybe; + centerStaffChatRoom?: InputMaybe; + createdAt?: InputMaybe; + customerChatRoom?: InputMaybe; + email?: InputMaybe; + files?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + phoneNumber?: InputMaybe; + role?: InputMaybe; + sendingMessage?: InputMaybe; + serviceFeedbacks?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type UserUpdateWorkshopSubscriptionRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type UserUpdateWorkshopSubscriptionRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type UserUpdateWorkshopSubscriptionRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type UserUpdateWorkshopSubscriptionRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +/** A workshop in the system. */ +export type Workshop = { + __typename?: 'Workshop'; + /** The date and time the workshop was created. */ + createdAt?: Maybe; + /** The date and time the workshop is scheduled. */ + date?: Maybe; + /** The description of the workshop. */ + description?: Maybe; + /** The ID of the workshop. */ + id?: Maybe; + imageFile?: Maybe; + /** The ID of the image file for the workshop. */ + imageFileId?: Maybe; + /** The URL of the image file for the workshop. */ + imageFileUrl?: Maybe; + /** The organization that the workshop is for. */ + organization?: Maybe>; + /** The service that the workshop is for. */ + service?: Maybe; + /** The ID of the service that the workshop is for. */ + serviceId?: Maybe; + /** The staff member who is leading the workshop. */ + staff?: Maybe; + /** The ID of the staff member who is leading the workshop. */ + staffId?: Maybe; + /** The subscription that the workshop is for. */ + subscription?: Maybe>; + /** The title of the workshop. */ + title?: Maybe; + /** The date and time the workshop was updated. */ + updatedAt?: Maybe; +}; + +export type WorkshopCreateImageFileRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopCreateInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date: Scalars['DateTime']['input']; + description: Scalars['String']['input']; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service: WorkshopCreateServiceRelationInput; + staff: WorkshopCreateStaffRelationInput; + subscription?: InputMaybe; + title: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type WorkshopCreateOrganizationRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type WorkshopCreateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopCreateStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopCreateSubscriptionRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; +}; + +export type WorkshopCreateWithoutImageFileInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date: Scalars['DateTime']['input']; + description: Scalars['String']['input']; + id?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service: WorkshopCreateServiceRelationInput; + staff: WorkshopCreateStaffRelationInput; + subscription?: InputMaybe; + title: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type WorkshopCreateWithoutOrganizationInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date: Scalars['DateTime']['input']; + description: Scalars['String']['input']; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + service: WorkshopCreateServiceRelationInput; + staff: WorkshopCreateStaffRelationInput; + subscription?: InputMaybe; + title: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type WorkshopCreateWithoutServiceInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date: Scalars['DateTime']['input']; + description: Scalars['String']['input']; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + staff: WorkshopCreateStaffRelationInput; + subscription?: InputMaybe; + title: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type WorkshopCreateWithoutStaffInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date: Scalars['DateTime']['input']; + description: Scalars['String']['input']; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service: WorkshopCreateServiceRelationInput; + subscription?: InputMaybe; + title: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type WorkshopCreateWithoutSubscriptionInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date: Scalars['DateTime']['input']; + description: Scalars['String']['input']; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service: WorkshopCreateServiceRelationInput; + staff: WorkshopCreateStaffRelationInput; + title: Scalars['String']['input']; + updatedAt?: InputMaybe; +}; + +export type WorkshopCreateWorkshopMeetingRoomRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopFilter = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type WorkshopMeetingRoomCreateWithoutWorkshopInput = { + id?: InputMaybe; +}; + +export type WorkshopMeetingRoomFilter = { + id?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopMeetingRoomOrderBy = { + id?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopMeetingRoomUniqueFilter = { + id?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopMeetingRoomUpdateWithoutWorkshopInput = { + id?: InputMaybe; +}; + +export type WorkshopOrderBy = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopOrganization = { + __typename?: 'WorkshopOrganization'; + /** The service that the organization is for. */ + service?: Maybe; + /** The ID of the service that the organization is for. */ + serviceId?: Maybe; + /** The workshop that the organization is for. */ + workshop?: Maybe; + /** The ID of the workshop that the organization is for. */ + workshopId?: Maybe; +}; + +export type WorkshopOrganizationCreateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopOrganizationCreateWithoutServiceInput = { + createdAt?: InputMaybe; + workshop: WorkshopOrganizationCreateWorkshopRelationInput; +}; + +export type WorkshopOrganizationCreateWithoutWorkshopInput = { + createdAt?: InputMaybe; + service: WorkshopOrganizationCreateServiceRelationInput; +}; + +export type WorkshopOrganizationCreateWorkshopRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopOrganizationFilter = { + createdAt?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopOrganizationListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type WorkshopOrganizationOrderBy = { + createdAt?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopOrganizationUniqueFilter = { + serviceId?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopOrganizationUpdateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopOrganizationUpdateWithoutServiceInput = { + createdAt?: InputMaybe; + workshop?: InputMaybe; +}; + +export type WorkshopOrganizationUpdateWithoutWorkshopInput = { + createdAt?: InputMaybe; + service?: InputMaybe; +}; + +export type WorkshopOrganizationUpdateWorkshopRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopOrganizationWithoutServiceFilter = { + createdAt?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopOrganizationWithoutWorkshopFilter = { + createdAt?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; +}; + +/** A workshop subscription in the system. */ +export type WorkshopSubscription = { + __typename?: 'WorkshopSubscription'; + /** The user who subscribed to the workshop. */ + user?: Maybe; + /** The ID of the user who subscribed to the workshop. */ + userId?: Maybe; + /** The workshop that the user subscribed to. */ + workshop?: Maybe; + /** The ID of the workshop that the user subscribed to. */ + workshopId?: Maybe; +}; + +export type WorkshopSubscriptionCreateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopSubscriptionCreateWithoutUserInput = { + createdAt?: InputMaybe; + workshop: WorkshopSubscriptionCreateWorkshopRelationInput; +}; + +export type WorkshopSubscriptionCreateWithoutWorkshopInput = { + createdAt?: InputMaybe; + user: WorkshopSubscriptionCreateUserRelationInput; +}; + +export type WorkshopSubscriptionCreateWorkshopRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; +}; + +export type WorkshopSubscriptionFilter = { + createdAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopSubscriptionListFilter = { + every?: InputMaybe; + none?: InputMaybe; + some?: InputMaybe; +}; + +export type WorkshopSubscriptionOrderBy = { + createdAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopSubscriptionUniqueFilter = { + userId?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopSubscriptionUpdateUserRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopSubscriptionUpdateWithoutUserInput = { + createdAt?: InputMaybe; + workshop?: InputMaybe; +}; + +export type WorkshopSubscriptionUpdateWithoutWorkshopInput = { + createdAt?: InputMaybe; + user?: InputMaybe; +}; + +export type WorkshopSubscriptionUpdateWorkshopRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopSubscriptionWithoutUserFilter = { + createdAt?: InputMaybe; + workshop?: InputMaybe; + workshopId?: InputMaybe; +}; + +export type WorkshopSubscriptionWithoutWorkshopFilter = { + createdAt?: InputMaybe; + user?: InputMaybe; + userId?: InputMaybe; +}; + +export type WorkshopUniqueFilter = { + id?: InputMaybe; +}; + +export type WorkshopUpdateImageFileRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopUpdateInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + staff?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopUpdateOrganizationRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type WorkshopUpdateOrganizationRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type WorkshopUpdateOrganizationRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type WorkshopUpdateOrganizationRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type WorkshopUpdateServiceRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopUpdateStaffRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopUpdateSubscriptionRelationInput = { + connect?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; +}; + +export type WorkshopUpdateSubscriptionRelationInputCreateMany = { + data?: InputMaybe>; + skipDuplicates?: InputMaybe; +}; + +export type WorkshopUpdateSubscriptionRelationInputUpdate = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type WorkshopUpdateSubscriptionRelationInputUpdateMany = { + data?: InputMaybe; + where?: InputMaybe; +}; + +export type WorkshopUpdateWithoutImageFileInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + staff?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopUpdateWithoutOrganizationInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + service?: InputMaybe; + staff?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopUpdateWithoutServiceInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + staff?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopUpdateWithoutStaffInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopUpdateWithoutSubscriptionInput = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + staff?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopUpdateWorkshopMeetingRoomRelationInput = { + connect?: InputMaybe; + create?: InputMaybe; + delete?: InputMaybe; + disconnect?: InputMaybe; + update?: InputMaybe; +}; + +export type WorkshopWithoutImageFileFilter = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopWithoutServiceFilter = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + staff?: InputMaybe; + staffId?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type WorkshopWithoutStaffFilter = { + WorkshopMeetingRoom?: InputMaybe; + createdAt?: InputMaybe; + date?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + imageFile?: InputMaybe; + imageFileId?: InputMaybe; + imageFileUrl?: InputMaybe; + organization?: InputMaybe; + service?: InputMaybe; + serviceId?: InputMaybe; + subscription?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + + + +export type ResolverTypeWrapper = Promise | T; + + +export type ResolverWithResolve = { + resolve: ResolverFn; +}; +export type Resolver = ResolverFn | ResolverWithResolve; + +export type ResolverFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => Promise | TResult; + +export type SubscriptionSubscribeFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => AsyncIterable | Promise>; + +export type SubscriptionResolveFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => TResult | Promise; + +export interface SubscriptionSubscriberObject { + subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>; + resolve?: SubscriptionResolveFn; +} + +export interface SubscriptionResolverObject { + subscribe: SubscriptionSubscribeFn; + resolve: SubscriptionResolveFn; +} + +export type SubscriptionObject = + | SubscriptionSubscriberObject + | SubscriptionResolverObject; + +export type SubscriptionResolver = + | ((...args: any[]) => SubscriptionObject) + | SubscriptionObject; + +export type TypeResolveFn = ( + parent: TParent, + context: TContext, + info: GraphQLResolveInfo +) => Maybe | Promise>; + +export type IsTypeOfResolverFn = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise; + +export type NextResolverFn = () => Promise; + +export type DirectiveResolverFn = ( + next: NextResolverFn, + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => TResult | Promise; + + + +/** Mapping between all available schema types and the resolvers types */ +export type ResolversTypes = { + Boolean: ResolverTypeWrapper; + BooleanFilter: BooleanFilter; + Category: ResolverTypeWrapper; + CategoryCreateInput: CategoryCreateInput; + CategoryCreateSubCategoryRelationInput: CategoryCreateSubCategoryRelationInput; + CategoryCreateWithoutSubCategoryInput: CategoryCreateWithoutSubCategoryInput; + CategoryFilter: CategoryFilter; + CategoryOrderBy: CategoryOrderBy; + CategoryUniqueFilter: CategoryUniqueFilter; + CategoryUpdateWithoutSubCategoryInput: CategoryUpdateWithoutSubCategoryInput; + Center: ResolverTypeWrapper
; + CenterCreateCenterOwnerRelationInput: CenterCreateCenterOwnerRelationInput; + CenterCreateCenterStaffRelationInput: CenterCreateCenterStaffRelationInput; + CenterCreateChatRoomRelationInput: CenterCreateChatRoomRelationInput; + CenterCreateInput: CenterCreateInput; + CenterCreateLogoFileRelationInput: CenterCreateLogoFileRelationInput; + CenterCreateResumeRelationInput: CenterCreateResumeRelationInput; + CenterCreateServicesRelationInput: CenterCreateServicesRelationInput; + CenterCreateWithoutCenterOwnerInput: CenterCreateWithoutCenterOwnerInput; + CenterCreateWithoutCenterStaffInput: CenterCreateWithoutCenterStaffInput; + CenterCreateWithoutChatRoomInput: CenterCreateWithoutChatRoomInput; + CenterCreateWithoutLogoFileInput: CenterCreateWithoutLogoFileInput; + CenterCreateWithoutServicesInput: CenterCreateWithoutServicesInput; + CenterFilter: CenterFilter; + CenterListFilter: CenterListFilter; + CenterOrderBy: CenterOrderBy; + CenterStaff: ResolverTypeWrapper; + CenterStaffCreateCenterRelationInput: CenterStaffCreateCenterRelationInput; + CenterStaffCreateCreatedWorkshopRelationInput: CenterStaffCreateCreatedWorkshopRelationInput; + CenterStaffCreateInput: CenterStaffCreateInput; + CenterStaffCreateManagedServiceRelationInput: CenterStaffCreateManagedServiceRelationInput; + CenterStaffCreateStaffRelationInput: CenterStaffCreateStaffRelationInput; + CenterStaffCreateWithoutCenterInput: CenterStaffCreateWithoutCenterInput; + CenterStaffCreateWithoutCreatedWorkshopInput: CenterStaffCreateWithoutCreatedWorkshopInput; + CenterStaffCreateWithoutManagedServiceInput: CenterStaffCreateWithoutManagedServiceInput; + CenterStaffCreateWithoutStaffInput: CenterStaffCreateWithoutStaffInput; + CenterStaffFilter: CenterStaffFilter; + CenterStaffListFilter: CenterStaffListFilter; + CenterStaffOrderBy: CenterStaffOrderBy; + CenterStaffUniqueFilter: CenterStaffUniqueFilter; + CenterStaffUpdateCenterRelationInput: CenterStaffUpdateCenterRelationInput; + CenterStaffUpdateCreatedWorkshopRelationInput: CenterStaffUpdateCreatedWorkshopRelationInput; + CenterStaffUpdateCreatedWorkshopRelationInputCreateMany: CenterStaffUpdateCreatedWorkshopRelationInputCreateMany; + CenterStaffUpdateCreatedWorkshopRelationInputUpdate: CenterStaffUpdateCreatedWorkshopRelationInputUpdate; + CenterStaffUpdateCreatedWorkshopRelationInputUpdateMany: CenterStaffUpdateCreatedWorkshopRelationInputUpdateMany; + CenterStaffUpdateInput: CenterStaffUpdateInput; + CenterStaffUpdateManagedServiceRelationInput: CenterStaffUpdateManagedServiceRelationInput; + CenterStaffUpdateManagedServiceRelationInputCreateMany: CenterStaffUpdateManagedServiceRelationInputCreateMany; + CenterStaffUpdateManagedServiceRelationInputUpdate: CenterStaffUpdateManagedServiceRelationInputUpdate; + CenterStaffUpdateManagedServiceRelationInputUpdateMany: CenterStaffUpdateManagedServiceRelationInputUpdateMany; + CenterStaffUpdateStaffRelationInput: CenterStaffUpdateStaffRelationInput; + CenterStaffUpdateWithoutCenterInput: CenterStaffUpdateWithoutCenterInput; + CenterStaffUpdateWithoutCreatedWorkshopInput: CenterStaffUpdateWithoutCreatedWorkshopInput; + CenterStaffUpdateWithoutManagedServiceInput: CenterStaffUpdateWithoutManagedServiceInput; + CenterStaffUpdateWithoutStaffInput: CenterStaffUpdateWithoutStaffInput; + CenterStaffWithoutCenterFilter: CenterStaffWithoutCenterFilter; + CenterStatus: CenterStatus; + CenterStatusFilter: CenterStatusFilter; + CenterUniqueFilter: CenterUniqueFilter; + CenterUpdateCenterOwnerRelationInput: CenterUpdateCenterOwnerRelationInput; + CenterUpdateCenterStaffRelationInput: CenterUpdateCenterStaffRelationInput; + CenterUpdateCenterStaffRelationInputCreateMany: CenterUpdateCenterStaffRelationInputCreateMany; + CenterUpdateCenterStaffRelationInputUpdate: CenterUpdateCenterStaffRelationInputUpdate; + CenterUpdateCenterStaffRelationInputUpdateMany: CenterUpdateCenterStaffRelationInputUpdateMany; + CenterUpdateChatRoomRelationInput: CenterUpdateChatRoomRelationInput; + CenterUpdateChatRoomRelationInputCreateMany: CenterUpdateChatRoomRelationInputCreateMany; + CenterUpdateChatRoomRelationInputUpdate: CenterUpdateChatRoomRelationInputUpdate; + CenterUpdateChatRoomRelationInputUpdateMany: CenterUpdateChatRoomRelationInputUpdateMany; + CenterUpdateInput: CenterUpdateInput; + CenterUpdateLogoFileRelationInput: CenterUpdateLogoFileRelationInput; + CenterUpdateResumeRelationInput: CenterUpdateResumeRelationInput; + CenterUpdateResumeRelationInputCreateMany: CenterUpdateResumeRelationInputCreateMany; + CenterUpdateResumeRelationInputUpdate: CenterUpdateResumeRelationInputUpdate; + CenterUpdateResumeRelationInputUpdateMany: CenterUpdateResumeRelationInputUpdateMany; + CenterUpdateServicesRelationInput: CenterUpdateServicesRelationInput; + CenterUpdateServicesRelationInputCreateMany: CenterUpdateServicesRelationInputCreateMany; + CenterUpdateServicesRelationInputUpdate: CenterUpdateServicesRelationInputUpdate; + CenterUpdateServicesRelationInputUpdateMany: CenterUpdateServicesRelationInputUpdateMany; + CenterUpdateWithoutCenterOwnerInput: CenterUpdateWithoutCenterOwnerInput; + CenterUpdateWithoutCenterStaffInput: CenterUpdateWithoutCenterStaffInput; + CenterUpdateWithoutChatRoomInput: CenterUpdateWithoutChatRoomInput; + CenterUpdateWithoutLogoFileInput: CenterUpdateWithoutLogoFileInput; + CenterUpdateWithoutServicesInput: CenterUpdateWithoutServicesInput; + CenterWithoutLogoFileFilter: CenterWithoutLogoFileFilter; + ChatRoom: ResolverTypeWrapper; + ChatRoomCreateCenterRelationInput: ChatRoomCreateCenterRelationInput; + ChatRoomCreateCenterStaffRelationInput: ChatRoomCreateCenterStaffRelationInput; + ChatRoomCreateCustomerRelationInput: ChatRoomCreateCustomerRelationInput; + ChatRoomCreateMeetingRoomRelationInput: ChatRoomCreateMeetingRoomRelationInput; + ChatRoomCreateMessageRelationInput: ChatRoomCreateMessageRelationInput; + ChatRoomCreateWithoutCenterInput: ChatRoomCreateWithoutCenterInput; + ChatRoomCreateWithoutCenterStaffInput: ChatRoomCreateWithoutCenterStaffInput; + ChatRoomCreateWithoutCustomerInput: ChatRoomCreateWithoutCustomerInput; + ChatRoomCreateWithoutMessageInput: ChatRoomCreateWithoutMessageInput; + ChatRoomFilter: ChatRoomFilter; + ChatRoomListFilter: ChatRoomListFilter; + ChatRoomOrderBy: ChatRoomOrderBy; + ChatRoomType: ChatRoomType; + ChatRoomTypeFilter: ChatRoomTypeFilter; + ChatRoomUniqueFilter: ChatRoomUniqueFilter; + ChatRoomUpdateCenterRelationInput: ChatRoomUpdateCenterRelationInput; + ChatRoomUpdateCenterStaffRelationInput: ChatRoomUpdateCenterStaffRelationInput; + ChatRoomUpdateCustomerRelationInput: ChatRoomUpdateCustomerRelationInput; + ChatRoomUpdateMeetingRoomRelationInput: ChatRoomUpdateMeetingRoomRelationInput; + ChatRoomUpdateMessageRelationInput: ChatRoomUpdateMessageRelationInput; + ChatRoomUpdateMessageRelationInputCreateMany: ChatRoomUpdateMessageRelationInputCreateMany; + ChatRoomUpdateMessageRelationInputUpdate: ChatRoomUpdateMessageRelationInputUpdate; + ChatRoomUpdateMessageRelationInputUpdateMany: ChatRoomUpdateMessageRelationInputUpdateMany; + ChatRoomUpdateWithoutCenterInput: ChatRoomUpdateWithoutCenterInput; + ChatRoomUpdateWithoutCenterStaffInput: ChatRoomUpdateWithoutCenterStaffInput; + ChatRoomUpdateWithoutCustomerInput: ChatRoomUpdateWithoutCustomerInput; + ChatRoomUpdateWithoutMessageInput: ChatRoomUpdateWithoutMessageInput; + ChatRoomWithoutCenterFilter: ChatRoomWithoutCenterFilter; + ChatRoomWithoutCenterStaffFilter: ChatRoomWithoutCenterStaffFilter; + ChatRoomWithoutCustomerFilter: ChatRoomWithoutCustomerFilter; + DateTime: ResolverTypeWrapper; + DateTimeFilter: DateTimeFilter; + Float: ResolverTypeWrapper; + FloatFilter: FloatFilter; + ID: ResolverTypeWrapper; + Int: ResolverTypeWrapper; + IntFilter: IntFilter; + Json: ResolverTypeWrapper; + JsonFilter: JsonFilter; + ManagedService: ResolverTypeWrapper; + ManagedServiceCreateInput: ManagedServiceCreateInput; + ManagedServiceCreateServiceRelationInput: ManagedServiceCreateServiceRelationInput; + ManagedServiceCreateStaffRelationInput: ManagedServiceCreateStaffRelationInput; + ManagedServiceCreateWithoutServiceInput: ManagedServiceCreateWithoutServiceInput; + ManagedServiceCreateWithoutStaffInput: ManagedServiceCreateWithoutStaffInput; + ManagedServiceFilter: ManagedServiceFilter; + ManagedServiceListFilter: ManagedServiceListFilter; + ManagedServiceOrderBy: ManagedServiceOrderBy; + ManagedServiceUniqueFilter: ManagedServiceUniqueFilter; + ManagedServiceUpdateServiceRelationInput: ManagedServiceUpdateServiceRelationInput; + ManagedServiceUpdateStaffRelationInput: ManagedServiceUpdateStaffRelationInput; + ManagedServiceUpdateWithoutServiceInput: ManagedServiceUpdateWithoutServiceInput; + ManagedServiceUpdateWithoutStaffInput: ManagedServiceUpdateWithoutStaffInput; + ManagedServiceWithoutServiceFilter: ManagedServiceWithoutServiceFilter; + ManagedServiceWithoutStaffFilter: ManagedServiceWithoutStaffFilter; + Message: ResolverTypeWrapper; + MessageCreateChatRoomRelationInput: MessageCreateChatRoomRelationInput; + MessageCreateSenderRelationInput: MessageCreateSenderRelationInput; + MessageCreateWithoutChatRoomInput: MessageCreateWithoutChatRoomInput; + MessageCreateWithoutSenderInput: MessageCreateWithoutSenderInput; + MessageFilter: MessageFilter; + MessageListFilter: MessageListFilter; + MessageOrderBy: MessageOrderBy; + MessageUniqueFilter: MessageUniqueFilter; + MessageUpdateChatRoomRelationInput: MessageUpdateChatRoomRelationInput; + MessageUpdateSenderRelationInput: MessageUpdateSenderRelationInput; + MessageUpdateWithoutChatRoomInput: MessageUpdateWithoutChatRoomInput; + MessageUpdateWithoutSenderInput: MessageUpdateWithoutSenderInput; + MessageWithoutChatRoomFilter: MessageWithoutChatRoomFilter; + MessageWithoutSenderFilter: MessageWithoutSenderFilter; + Milestone: ResolverTypeWrapper; + MilestoneCreateWithoutServiceInput: MilestoneCreateWithoutServiceInput; + MilestoneFilter: MilestoneFilter; + MilestoneListFilter: MilestoneListFilter; + MilestoneOrderBy: MilestoneOrderBy; + MilestoneUniqueFilter: MilestoneUniqueFilter; + MilestoneUpdateWithoutServiceInput: MilestoneUpdateWithoutServiceInput; + MilestoneWithoutServiceFilter: MilestoneWithoutServiceFilter; + Mutation: ResolverTypeWrapper<{}>; + Order: ResolverTypeWrapper; + OrderBy: OrderBy; + OrderCreateInput: OrderCreateInput; + OrderCreatePaymentRelationInput: OrderCreatePaymentRelationInput; + OrderCreateRefundTicketRelationInput: OrderCreateRefundTicketRelationInput; + OrderCreateServiceRelationInput: OrderCreateServiceRelationInput; + OrderCreateUserRelationInput: OrderCreateUserRelationInput; + OrderCreateWithoutServiceInput: OrderCreateWithoutServiceInput; + OrderCreateWithoutUserInput: OrderCreateWithoutUserInput; + OrderFilter: OrderFilter; + OrderListFilter: OrderListFilter; + OrderOrderBy: OrderOrderBy; + OrderStatus: OrderStatus; + OrderStatusFilter: OrderStatusFilter; + OrderUniqueFilter: OrderUniqueFilter; + OrderUpdateInput: OrderUpdateInput; + OrderUpdatePaymentRelationInput: OrderUpdatePaymentRelationInput; + OrderUpdatePaymentRelationInputCreateMany: OrderUpdatePaymentRelationInputCreateMany; + OrderUpdatePaymentRelationInputUpdate: OrderUpdatePaymentRelationInputUpdate; + OrderUpdatePaymentRelationInputUpdateMany: OrderUpdatePaymentRelationInputUpdateMany; + OrderUpdateRefundTicketRelationInput: OrderUpdateRefundTicketRelationInput; + OrderUpdateServiceRelationInput: OrderUpdateServiceRelationInput; + OrderUpdateUserRelationInput: OrderUpdateUserRelationInput; + OrderUpdateWithoutServiceInput: OrderUpdateWithoutServiceInput; + OrderUpdateWithoutUserInput: OrderUpdateWithoutUserInput; + OrderWithoutServiceFilter: OrderWithoutServiceFilter; + OrderWithoutUserFilter: OrderWithoutUserFilter; + Payment: ResolverTypeWrapper; + PaymentCreateWithoutOrderInput: PaymentCreateWithoutOrderInput; + PaymentFilter: PaymentFilter; + PaymentListFilter: PaymentListFilter; + PaymentOrderBy: PaymentOrderBy; + PaymentStatus: PaymentStatus; + PaymentStatusFilter: PaymentStatusFilter; + PaymentUniqueFilter: PaymentUniqueFilter; + PaymentUpdateWithoutOrderInput: PaymentUpdateWithoutOrderInput; + PaymentWithoutOrderFilter: PaymentWithoutOrderFilter; + Query: ResolverTypeWrapper<{}>; + RefundTicket: ResolverTypeWrapper; + RefundTicketCreateWithoutOrderInput: RefundTicketCreateWithoutOrderInput; + RefundTicketFilter: RefundTicketFilter; + RefundTicketOrderBy: RefundTicketOrderBy; + RefundTicketUniqueFilter: RefundTicketUniqueFilter; + RefundTicketUpdateWithoutOrderInput: RefundTicketUpdateWithoutOrderInput; + Resume: ResolverTypeWrapper; + ResumeCreateResumeFileRelationInput: ResumeCreateResumeFileRelationInput; + ResumeCreateWithoutCenterInput: ResumeCreateWithoutCenterInput; + ResumeFile: ResolverTypeWrapper; + ResumeFileCreateWithoutResumeInput: ResumeFileCreateWithoutResumeInput; + ResumeFileFilter: ResumeFileFilter; + ResumeFileListFilter: ResumeFileListFilter; + ResumeFileOrderBy: ResumeFileOrderBy; + ResumeFileUniqueFilter: ResumeFileUniqueFilter; + ResumeFileUpdateWithoutResumeInput: ResumeFileUpdateWithoutResumeInput; + ResumeFileWithoutResumeFilter: ResumeFileWithoutResumeFilter; + ResumeFilter: ResumeFilter; + ResumeListFilter: ResumeListFilter; + ResumeOrderBy: ResumeOrderBy; + ResumeStatus: ResumeStatus; + ResumeStatusFilter: ResumeStatusFilter; + ResumeUniqueFilter: ResumeUniqueFilter; + ResumeUpdateResumeFileRelationInput: ResumeUpdateResumeFileRelationInput; + ResumeUpdateResumeFileRelationInputCreateMany: ResumeUpdateResumeFileRelationInputCreateMany; + ResumeUpdateResumeFileRelationInputUpdate: ResumeUpdateResumeFileRelationInputUpdate; + ResumeUpdateResumeFileRelationInputUpdateMany: ResumeUpdateResumeFileRelationInputUpdateMany; + ResumeUpdateWithoutCenterInput: ResumeUpdateWithoutCenterInput; + ResumeWithoutCenterFilter: ResumeWithoutCenterFilter; + Role: Role; + RoleFilter: RoleFilter; + Schedule: ResolverTypeWrapper; + ScheduleCreateDatesRelationInput: ScheduleCreateDatesRelationInput; + ScheduleCreateWithoutServiceInput: ScheduleCreateWithoutServiceInput; + ScheduleDate: ResolverTypeWrapper; + ScheduleDateCreateWithoutScheduleInput: ScheduleDateCreateWithoutScheduleInput; + ScheduleDateFilter: ScheduleDateFilter; + ScheduleDateListFilter: ScheduleDateListFilter; + ScheduleDateOrderBy: ScheduleDateOrderBy; + ScheduleDateUniqueFilter: ScheduleDateUniqueFilter; + ScheduleDateUpdateWithoutScheduleInput: ScheduleDateUpdateWithoutScheduleInput; + ScheduleDateWithoutScheduleFilter: ScheduleDateWithoutScheduleFilter; + ScheduleFilter: ScheduleFilter; + ScheduleListFilter: ScheduleListFilter; + ScheduleOrderBy: ScheduleOrderBy; + ScheduleStatus: ScheduleStatus; + ScheduleStatusFilter: ScheduleStatusFilter; + ScheduleUniqueFilter: ScheduleUniqueFilter; + ScheduleUpdateDatesRelationInput: ScheduleUpdateDatesRelationInput; + ScheduleUpdateDatesRelationInputCreateMany: ScheduleUpdateDatesRelationInputCreateMany; + ScheduleUpdateDatesRelationInputUpdate: ScheduleUpdateDatesRelationInputUpdate; + ScheduleUpdateDatesRelationInputUpdateMany: ScheduleUpdateDatesRelationInputUpdateMany; + ScheduleUpdateWithoutServiceInput: ScheduleUpdateWithoutServiceInput; + ScheduleWithoutServiceFilter: ScheduleWithoutServiceFilter; + Service: ResolverTypeWrapper; + ServiceAndCategory: ResolverTypeWrapper; + ServiceAndCategoryCreateServiceRelationInput: ServiceAndCategoryCreateServiceRelationInput; + ServiceAndCategoryCreateSubCategoryRelationInput: ServiceAndCategoryCreateSubCategoryRelationInput; + ServiceAndCategoryCreateWithoutServiceInput: ServiceAndCategoryCreateWithoutServiceInput; + ServiceAndCategoryCreateWithoutSubCategoryInput: ServiceAndCategoryCreateWithoutSubCategoryInput; + ServiceAndCategoryFilter: ServiceAndCategoryFilter; + ServiceAndCategoryListFilter: ServiceAndCategoryListFilter; + ServiceAndCategoryOrderBy: ServiceAndCategoryOrderBy; + ServiceAndCategoryUniqueFilter: ServiceAndCategoryUniqueFilter; + ServiceAndCategoryUpdateSubCategoryRelationInput: ServiceAndCategoryUpdateSubCategoryRelationInput; + ServiceAndCategoryUpdateWithoutServiceInput: ServiceAndCategoryUpdateWithoutServiceInput; + ServiceAndCategoryWithoutServiceFilter: ServiceAndCategoryWithoutServiceFilter; + ServiceCreateCenterRelationInput: ServiceCreateCenterRelationInput; + ServiceCreateFeedbacksRelationInput: ServiceCreateFeedbacksRelationInput; + ServiceCreateImageFileRelationInput: ServiceCreateImageFileRelationInput; + ServiceCreateInput: ServiceCreateInput; + ServiceCreateManagedServiceRelationInput: ServiceCreateManagedServiceRelationInput; + ServiceCreateMilestoneRelationInput: ServiceCreateMilestoneRelationInput; + ServiceCreateOrderRelationInput: ServiceCreateOrderRelationInput; + ServiceCreateScheduleRelationInput: ServiceCreateScheduleRelationInput; + ServiceCreateServiceAndCategoryRelationInput: ServiceCreateServiceAndCategoryRelationInput; + ServiceCreateUserRelationInput: ServiceCreateUserRelationInput; + ServiceCreateWithoutCenterInput: ServiceCreateWithoutCenterInput; + ServiceCreateWithoutFeedbacksInput: ServiceCreateWithoutFeedbacksInput; + ServiceCreateWithoutImageFileInput: ServiceCreateWithoutImageFileInput; + ServiceCreateWithoutManagedServiceInput: ServiceCreateWithoutManagedServiceInput; + ServiceCreateWithoutOrderInput: ServiceCreateWithoutOrderInput; + ServiceCreateWithoutServiceAndCategoryInput: ServiceCreateWithoutServiceAndCategoryInput; + ServiceCreateWithoutUserInput: ServiceCreateWithoutUserInput; + ServiceCreateWithoutWorkshopInput: ServiceCreateWithoutWorkshopInput; + ServiceCreateWithoutWorkshopOrganizationInput: ServiceCreateWithoutWorkshopOrganizationInput; + ServiceCreateWorkshopOrganizationRelationInput: ServiceCreateWorkshopOrganizationRelationInput; + ServiceCreateWorkshopRelationInput: ServiceCreateWorkshopRelationInput; + ServiceFeedback: ResolverTypeWrapper; + ServiceFeedbackCreateServiceRelationInput: ServiceFeedbackCreateServiceRelationInput; + ServiceFeedbackCreateUserRelationInput: ServiceFeedbackCreateUserRelationInput; + ServiceFeedbackCreateWithoutServiceInput: ServiceFeedbackCreateWithoutServiceInput; + ServiceFeedbackCreateWithoutUserInput: ServiceFeedbackCreateWithoutUserInput; + ServiceFeedbackFilter: ServiceFeedbackFilter; + ServiceFeedbackListFilter: ServiceFeedbackListFilter; + ServiceFeedbackOrderBy: ServiceFeedbackOrderBy; + ServiceFeedbackUniqueFilter: ServiceFeedbackUniqueFilter; + ServiceFeedbackUpdateServiceRelationInput: ServiceFeedbackUpdateServiceRelationInput; + ServiceFeedbackUpdateUserRelationInput: ServiceFeedbackUpdateUserRelationInput; + ServiceFeedbackUpdateWithoutServiceInput: ServiceFeedbackUpdateWithoutServiceInput; + ServiceFeedbackUpdateWithoutUserInput: ServiceFeedbackUpdateWithoutUserInput; + ServiceFeedbackWithoutServiceFilter: ServiceFeedbackWithoutServiceFilter; + ServiceFeedbackWithoutUserFilter: ServiceFeedbackWithoutUserFilter; + ServiceFilter: ServiceFilter; + ServiceListFilter: ServiceListFilter; + ServiceMeetingRoom: ResolverTypeWrapper; + ServiceMeetingRoomCreateWithoutChattingRoomInput: ServiceMeetingRoomCreateWithoutChattingRoomInput; + ServiceMeetingRoomFilter: ServiceMeetingRoomFilter; + ServiceMeetingRoomOrderBy: ServiceMeetingRoomOrderBy; + ServiceMeetingRoomUniqueFilter: ServiceMeetingRoomUniqueFilter; + ServiceMeetingRoomUpdateWithoutChattingRoomInput: ServiceMeetingRoomUpdateWithoutChattingRoomInput; + ServiceOrderBy: ServiceOrderBy; + ServiceUniqueFilter: ServiceUniqueFilter; + ServiceUpdateCenterRelationInput: ServiceUpdateCenterRelationInput; + ServiceUpdateFeedbacksRelationInput: ServiceUpdateFeedbacksRelationInput; + ServiceUpdateFeedbacksRelationInputCreateMany: ServiceUpdateFeedbacksRelationInputCreateMany; + ServiceUpdateFeedbacksRelationInputUpdate: ServiceUpdateFeedbacksRelationInputUpdate; + ServiceUpdateFeedbacksRelationInputUpdateMany: ServiceUpdateFeedbacksRelationInputUpdateMany; + ServiceUpdateImageFileRelationInput: ServiceUpdateImageFileRelationInput; + ServiceUpdateInput: ServiceUpdateInput; + ServiceUpdateManagedServiceRelationInput: ServiceUpdateManagedServiceRelationInput; + ServiceUpdateManagedServiceRelationInputCreateMany: ServiceUpdateManagedServiceRelationInputCreateMany; + ServiceUpdateManagedServiceRelationInputUpdate: ServiceUpdateManagedServiceRelationInputUpdate; + ServiceUpdateManagedServiceRelationInputUpdateMany: ServiceUpdateManagedServiceRelationInputUpdateMany; + ServiceUpdateMilestoneRelationInput: ServiceUpdateMilestoneRelationInput; + ServiceUpdateMilestoneRelationInputCreateMany: ServiceUpdateMilestoneRelationInputCreateMany; + ServiceUpdateMilestoneRelationInputUpdate: ServiceUpdateMilestoneRelationInputUpdate; + ServiceUpdateMilestoneRelationInputUpdateMany: ServiceUpdateMilestoneRelationInputUpdateMany; + ServiceUpdateOrderRelationInput: ServiceUpdateOrderRelationInput; + ServiceUpdateOrderRelationInputCreateMany: ServiceUpdateOrderRelationInputCreateMany; + ServiceUpdateOrderRelationInputUpdate: ServiceUpdateOrderRelationInputUpdate; + ServiceUpdateOrderRelationInputUpdateMany: ServiceUpdateOrderRelationInputUpdateMany; + ServiceUpdateScheduleRelationInput: ServiceUpdateScheduleRelationInput; + ServiceUpdateScheduleRelationInputCreateMany: ServiceUpdateScheduleRelationInputCreateMany; + ServiceUpdateScheduleRelationInputUpdate: ServiceUpdateScheduleRelationInputUpdate; + ServiceUpdateScheduleRelationInputUpdateMany: ServiceUpdateScheduleRelationInputUpdateMany; + ServiceUpdateServiceAndCategoryRelationInput: ServiceUpdateServiceAndCategoryRelationInput; + ServiceUpdateServiceAndCategoryRelationInputCreateMany: ServiceUpdateServiceAndCategoryRelationInputCreateMany; + ServiceUpdateServiceAndCategoryRelationInputUpdate: ServiceUpdateServiceAndCategoryRelationInputUpdate; + ServiceUpdateServiceAndCategoryRelationInputUpdateMany: ServiceUpdateServiceAndCategoryRelationInputUpdateMany; + ServiceUpdateUserRelationInput: ServiceUpdateUserRelationInput; + ServiceUpdateWithoutCenterInput: ServiceUpdateWithoutCenterInput; + ServiceUpdateWithoutFeedbacksInput: ServiceUpdateWithoutFeedbacksInput; + ServiceUpdateWithoutImageFileInput: ServiceUpdateWithoutImageFileInput; + ServiceUpdateWithoutManagedServiceInput: ServiceUpdateWithoutManagedServiceInput; + ServiceUpdateWithoutOrderInput: ServiceUpdateWithoutOrderInput; + ServiceUpdateWithoutUserInput: ServiceUpdateWithoutUserInput; + ServiceUpdateWithoutWorkshopInput: ServiceUpdateWithoutWorkshopInput; + ServiceUpdateWithoutWorkshopOrganizationInput: ServiceUpdateWithoutWorkshopOrganizationInput; + ServiceUpdateWorkshopOrganizationRelationInput: ServiceUpdateWorkshopOrganizationRelationInput; + ServiceUpdateWorkshopOrganizationRelationInputCreateMany: ServiceUpdateWorkshopOrganizationRelationInputCreateMany; + ServiceUpdateWorkshopOrganizationRelationInputUpdate: ServiceUpdateWorkshopOrganizationRelationInputUpdate; + ServiceUpdateWorkshopOrganizationRelationInputUpdateMany: ServiceUpdateWorkshopOrganizationRelationInputUpdateMany; + ServiceUpdateWorkshopRelationInput: ServiceUpdateWorkshopRelationInput; + ServiceUpdateWorkshopRelationInputCreateMany: ServiceUpdateWorkshopRelationInputCreateMany; + ServiceUpdateWorkshopRelationInputUpdate: ServiceUpdateWorkshopRelationInputUpdate; + ServiceUpdateWorkshopRelationInputUpdateMany: ServiceUpdateWorkshopRelationInputUpdateMany; + ServiceWithoutCenterFilter: ServiceWithoutCenterFilter; + ServiceWithoutImageFileFilter: ServiceWithoutImageFileFilter; + ServiceWithoutUserFilter: ServiceWithoutUserFilter; + String: ResolverTypeWrapper; + StringFilter: StringFilter; + StringFilterMode: StringFilterMode; + SubCategory: ResolverTypeWrapper; + SubCategoryCreateCategoryRelationInput: SubCategoryCreateCategoryRelationInput; + SubCategoryCreateInput: SubCategoryCreateInput; + SubCategoryCreateServiceAndCategoryRelationInput: SubCategoryCreateServiceAndCategoryRelationInput; + SubCategoryCreateWithoutCategoryInput: SubCategoryCreateWithoutCategoryInput; + SubCategoryCreateWithoutServiceAndCategoryInput: SubCategoryCreateWithoutServiceAndCategoryInput; + SubCategoryFilter: SubCategoryFilter; + SubCategoryListFilter: SubCategoryListFilter; + SubCategoryOrderBy: SubCategoryOrderBy; + SubCategoryUniqueFilter: SubCategoryUniqueFilter; + SubCategoryUpdateCategoryRelationInput: SubCategoryUpdateCategoryRelationInput; + SubCategoryUpdateWithoutServiceAndCategoryInput: SubCategoryUpdateWithoutServiceAndCategoryInput; + Upload: ResolverTypeWrapper; + UploadedFile: ResolverTypeWrapper; + UploadedFileCreateCenterRelationInput: UploadedFileCreateCenterRelationInput; + UploadedFileCreateServiceRelationInput: UploadedFileCreateServiceRelationInput; + UploadedFileCreateUserRelationInput: UploadedFileCreateUserRelationInput; + UploadedFileCreateWithoutCenterInput: UploadedFileCreateWithoutCenterInput; + UploadedFileCreateWithoutServiceInput: UploadedFileCreateWithoutServiceInput; + UploadedFileCreateWithoutUserInput: UploadedFileCreateWithoutUserInput; + UploadedFileCreateWithoutWorkshopInput: UploadedFileCreateWithoutWorkshopInput; + UploadedFileCreateWorkshopRelationInput: UploadedFileCreateWorkshopRelationInput; + UploadedFileFilter: UploadedFileFilter; + UploadedFileListFilter: UploadedFileListFilter; + UploadedFileOrderBy: UploadedFileOrderBy; + UploadedFileType: UploadedFileType; + UploadedFileTypeFilter: UploadedFileTypeFilter; + UploadedFileUniqueFilter: UploadedFileUniqueFilter; + UploadedFileUpdateCenterRelationInput: UploadedFileUpdateCenterRelationInput; + UploadedFileUpdateCenterRelationInputCreateMany: UploadedFileUpdateCenterRelationInputCreateMany; + UploadedFileUpdateCenterRelationInputUpdate: UploadedFileUpdateCenterRelationInputUpdate; + UploadedFileUpdateCenterRelationInputUpdateMany: UploadedFileUpdateCenterRelationInputUpdateMany; + UploadedFileUpdateServiceRelationInput: UploadedFileUpdateServiceRelationInput; + UploadedFileUpdateServiceRelationInputCreateMany: UploadedFileUpdateServiceRelationInputCreateMany; + UploadedFileUpdateServiceRelationInputUpdate: UploadedFileUpdateServiceRelationInputUpdate; + UploadedFileUpdateServiceRelationInputUpdateMany: UploadedFileUpdateServiceRelationInputUpdateMany; + UploadedFileUpdateUserRelationInput: UploadedFileUpdateUserRelationInput; + UploadedFileUpdateWithoutCenterInput: UploadedFileUpdateWithoutCenterInput; + UploadedFileUpdateWithoutServiceInput: UploadedFileUpdateWithoutServiceInput; + UploadedFileUpdateWithoutUserInput: UploadedFileUpdateWithoutUserInput; + UploadedFileUpdateWithoutWorkshopInput: UploadedFileUpdateWithoutWorkshopInput; + UploadedFileUpdateWorkshopRelationInput: UploadedFileUpdateWorkshopRelationInput; + UploadedFileUpdateWorkshopRelationInputCreateMany: UploadedFileUpdateWorkshopRelationInputCreateMany; + UploadedFileUpdateWorkshopRelationInputUpdate: UploadedFileUpdateWorkshopRelationInputUpdate; + UploadedFileUpdateWorkshopRelationInputUpdateMany: UploadedFileUpdateWorkshopRelationInputUpdateMany; + UploadedFileWithoutUserFilter: UploadedFileWithoutUserFilter; + User: ResolverTypeWrapper; + UserCreateCenterRelationInput: UserCreateCenterRelationInput; + UserCreateCenterStaffChatRoomRelationInput: UserCreateCenterStaffChatRoomRelationInput; + UserCreateCenterStaffRelationInput: UserCreateCenterStaffRelationInput; + UserCreateCustomerChatRoomRelationInput: UserCreateCustomerChatRoomRelationInput; + UserCreateFilesRelationInput: UserCreateFilesRelationInput; + UserCreateOrdersRelationInput: UserCreateOrdersRelationInput; + UserCreateSendingMessageRelationInput: UserCreateSendingMessageRelationInput; + UserCreateServiceFeedbacksRelationInput: UserCreateServiceFeedbacksRelationInput; + UserCreateServiceRelationInput: UserCreateServiceRelationInput; + UserCreateWithoutCenterInput: UserCreateWithoutCenterInput; + UserCreateWithoutCenterStaffChatRoomInput: UserCreateWithoutCenterStaffChatRoomInput; + UserCreateWithoutCenterStaffInput: UserCreateWithoutCenterStaffInput; + UserCreateWithoutCustomerChatRoomInput: UserCreateWithoutCustomerChatRoomInput; + UserCreateWithoutFilesInput: UserCreateWithoutFilesInput; + UserCreateWithoutOrdersInput: UserCreateWithoutOrdersInput; + UserCreateWithoutSendingMessageInput: UserCreateWithoutSendingMessageInput; + UserCreateWithoutServiceFeedbacksInput: UserCreateWithoutServiceFeedbacksInput; + UserCreateWithoutServiceInput: UserCreateWithoutServiceInput; + UserCreateWithoutWorkshopSubscriptionInput: UserCreateWithoutWorkshopSubscriptionInput; + UserCreateWorkshopSubscriptionRelationInput: UserCreateWorkshopSubscriptionRelationInput; + UserFilter: UserFilter; + UserOrderBy: UserOrderBy; + UserUniqueFilter: UserUniqueFilter; + UserUpdateCenterRelationInput: UserUpdateCenterRelationInput; + UserUpdateCenterStaffChatRoomRelationInput: UserUpdateCenterStaffChatRoomRelationInput; + UserUpdateCenterStaffChatRoomRelationInputCreateMany: UserUpdateCenterStaffChatRoomRelationInputCreateMany; + UserUpdateCenterStaffChatRoomRelationInputUpdate: UserUpdateCenterStaffChatRoomRelationInputUpdate; + UserUpdateCenterStaffChatRoomRelationInputUpdateMany: UserUpdateCenterStaffChatRoomRelationInputUpdateMany; + UserUpdateCenterStaffRelationInput: UserUpdateCenterStaffRelationInput; + UserUpdateCustomerChatRoomRelationInput: UserUpdateCustomerChatRoomRelationInput; + UserUpdateCustomerChatRoomRelationInputCreateMany: UserUpdateCustomerChatRoomRelationInputCreateMany; + UserUpdateCustomerChatRoomRelationInputUpdate: UserUpdateCustomerChatRoomRelationInputUpdate; + UserUpdateCustomerChatRoomRelationInputUpdateMany: UserUpdateCustomerChatRoomRelationInputUpdateMany; + UserUpdateFilesRelationInput: UserUpdateFilesRelationInput; + UserUpdateFilesRelationInputCreateMany: UserUpdateFilesRelationInputCreateMany; + UserUpdateFilesRelationInputUpdate: UserUpdateFilesRelationInputUpdate; + UserUpdateFilesRelationInputUpdateMany: UserUpdateFilesRelationInputUpdateMany; + UserUpdateInput: UserUpdateInput; + UserUpdateOrdersRelationInput: UserUpdateOrdersRelationInput; + UserUpdateOrdersRelationInputCreateMany: UserUpdateOrdersRelationInputCreateMany; + UserUpdateOrdersRelationInputUpdate: UserUpdateOrdersRelationInputUpdate; + UserUpdateOrdersRelationInputUpdateMany: UserUpdateOrdersRelationInputUpdateMany; + UserUpdateSendingMessageRelationInput: UserUpdateSendingMessageRelationInput; + UserUpdateSendingMessageRelationInputCreateMany: UserUpdateSendingMessageRelationInputCreateMany; + UserUpdateSendingMessageRelationInputUpdate: UserUpdateSendingMessageRelationInputUpdate; + UserUpdateSendingMessageRelationInputUpdateMany: UserUpdateSendingMessageRelationInputUpdateMany; + UserUpdateServiceFeedbacksRelationInput: UserUpdateServiceFeedbacksRelationInput; + UserUpdateServiceFeedbacksRelationInputCreateMany: UserUpdateServiceFeedbacksRelationInputCreateMany; + UserUpdateServiceFeedbacksRelationInputUpdate: UserUpdateServiceFeedbacksRelationInputUpdate; + UserUpdateServiceFeedbacksRelationInputUpdateMany: UserUpdateServiceFeedbacksRelationInputUpdateMany; + UserUpdateServiceRelationInput: UserUpdateServiceRelationInput; + UserUpdateServiceRelationInputCreateMany: UserUpdateServiceRelationInputCreateMany; + UserUpdateServiceRelationInputUpdate: UserUpdateServiceRelationInputUpdate; + UserUpdateServiceRelationInputUpdateMany: UserUpdateServiceRelationInputUpdateMany; + UserUpdateWithoutCenterInput: UserUpdateWithoutCenterInput; + UserUpdateWithoutCenterStaffChatRoomInput: UserUpdateWithoutCenterStaffChatRoomInput; + UserUpdateWithoutCenterStaffInput: UserUpdateWithoutCenterStaffInput; + UserUpdateWithoutCustomerChatRoomInput: UserUpdateWithoutCustomerChatRoomInput; + UserUpdateWithoutFilesInput: UserUpdateWithoutFilesInput; + UserUpdateWithoutOrdersInput: UserUpdateWithoutOrdersInput; + UserUpdateWithoutSendingMessageInput: UserUpdateWithoutSendingMessageInput; + UserUpdateWithoutServiceFeedbacksInput: UserUpdateWithoutServiceFeedbacksInput; + UserUpdateWithoutServiceInput: UserUpdateWithoutServiceInput; + UserUpdateWithoutWorkshopSubscriptionInput: UserUpdateWithoutWorkshopSubscriptionInput; + UserUpdateWorkshopSubscriptionRelationInput: UserUpdateWorkshopSubscriptionRelationInput; + UserUpdateWorkshopSubscriptionRelationInputCreateMany: UserUpdateWorkshopSubscriptionRelationInputCreateMany; + UserUpdateWorkshopSubscriptionRelationInputUpdate: UserUpdateWorkshopSubscriptionRelationInputUpdate; + UserUpdateWorkshopSubscriptionRelationInputUpdateMany: UserUpdateWorkshopSubscriptionRelationInputUpdateMany; + Workshop: ResolverTypeWrapper; + WorkshopCreateImageFileRelationInput: WorkshopCreateImageFileRelationInput; + WorkshopCreateInput: WorkshopCreateInput; + WorkshopCreateOrganizationRelationInput: WorkshopCreateOrganizationRelationInput; + WorkshopCreateServiceRelationInput: WorkshopCreateServiceRelationInput; + WorkshopCreateStaffRelationInput: WorkshopCreateStaffRelationInput; + WorkshopCreateSubscriptionRelationInput: WorkshopCreateSubscriptionRelationInput; + WorkshopCreateWithoutImageFileInput: WorkshopCreateWithoutImageFileInput; + WorkshopCreateWithoutOrganizationInput: WorkshopCreateWithoutOrganizationInput; + WorkshopCreateWithoutServiceInput: WorkshopCreateWithoutServiceInput; + WorkshopCreateWithoutStaffInput: WorkshopCreateWithoutStaffInput; + WorkshopCreateWithoutSubscriptionInput: WorkshopCreateWithoutSubscriptionInput; + WorkshopCreateWorkshopMeetingRoomRelationInput: WorkshopCreateWorkshopMeetingRoomRelationInput; + WorkshopFilter: WorkshopFilter; + WorkshopListFilter: WorkshopListFilter; + WorkshopMeetingRoomCreateWithoutWorkshopInput: WorkshopMeetingRoomCreateWithoutWorkshopInput; + WorkshopMeetingRoomFilter: WorkshopMeetingRoomFilter; + WorkshopMeetingRoomOrderBy: WorkshopMeetingRoomOrderBy; + WorkshopMeetingRoomUniqueFilter: WorkshopMeetingRoomUniqueFilter; + WorkshopMeetingRoomUpdateWithoutWorkshopInput: WorkshopMeetingRoomUpdateWithoutWorkshopInput; + WorkshopOrderBy: WorkshopOrderBy; + WorkshopOrganization: ResolverTypeWrapper; + WorkshopOrganizationCreateServiceRelationInput: WorkshopOrganizationCreateServiceRelationInput; + WorkshopOrganizationCreateWithoutServiceInput: WorkshopOrganizationCreateWithoutServiceInput; + WorkshopOrganizationCreateWithoutWorkshopInput: WorkshopOrganizationCreateWithoutWorkshopInput; + WorkshopOrganizationCreateWorkshopRelationInput: WorkshopOrganizationCreateWorkshopRelationInput; + WorkshopOrganizationFilter: WorkshopOrganizationFilter; + WorkshopOrganizationListFilter: WorkshopOrganizationListFilter; + WorkshopOrganizationOrderBy: WorkshopOrganizationOrderBy; + WorkshopOrganizationUniqueFilter: WorkshopOrganizationUniqueFilter; + WorkshopOrganizationUpdateServiceRelationInput: WorkshopOrganizationUpdateServiceRelationInput; + WorkshopOrganizationUpdateWithoutServiceInput: WorkshopOrganizationUpdateWithoutServiceInput; + WorkshopOrganizationUpdateWithoutWorkshopInput: WorkshopOrganizationUpdateWithoutWorkshopInput; + WorkshopOrganizationUpdateWorkshopRelationInput: WorkshopOrganizationUpdateWorkshopRelationInput; + WorkshopOrganizationWithoutServiceFilter: WorkshopOrganizationWithoutServiceFilter; + WorkshopOrganizationWithoutWorkshopFilter: WorkshopOrganizationWithoutWorkshopFilter; + WorkshopSubscription: ResolverTypeWrapper; + WorkshopSubscriptionCreateUserRelationInput: WorkshopSubscriptionCreateUserRelationInput; + WorkshopSubscriptionCreateWithoutUserInput: WorkshopSubscriptionCreateWithoutUserInput; + WorkshopSubscriptionCreateWithoutWorkshopInput: WorkshopSubscriptionCreateWithoutWorkshopInput; + WorkshopSubscriptionCreateWorkshopRelationInput: WorkshopSubscriptionCreateWorkshopRelationInput; + WorkshopSubscriptionFilter: WorkshopSubscriptionFilter; + WorkshopSubscriptionListFilter: WorkshopSubscriptionListFilter; + WorkshopSubscriptionOrderBy: WorkshopSubscriptionOrderBy; + WorkshopSubscriptionUniqueFilter: WorkshopSubscriptionUniqueFilter; + WorkshopSubscriptionUpdateUserRelationInput: WorkshopSubscriptionUpdateUserRelationInput; + WorkshopSubscriptionUpdateWithoutUserInput: WorkshopSubscriptionUpdateWithoutUserInput; + WorkshopSubscriptionUpdateWithoutWorkshopInput: WorkshopSubscriptionUpdateWithoutWorkshopInput; + WorkshopSubscriptionUpdateWorkshopRelationInput: WorkshopSubscriptionUpdateWorkshopRelationInput; + WorkshopSubscriptionWithoutUserFilter: WorkshopSubscriptionWithoutUserFilter; + WorkshopSubscriptionWithoutWorkshopFilter: WorkshopSubscriptionWithoutWorkshopFilter; + WorkshopUniqueFilter: WorkshopUniqueFilter; + WorkshopUpdateImageFileRelationInput: WorkshopUpdateImageFileRelationInput; + WorkshopUpdateInput: WorkshopUpdateInput; + WorkshopUpdateOrganizationRelationInput: WorkshopUpdateOrganizationRelationInput; + WorkshopUpdateOrganizationRelationInputCreateMany: WorkshopUpdateOrganizationRelationInputCreateMany; + WorkshopUpdateOrganizationRelationInputUpdate: WorkshopUpdateOrganizationRelationInputUpdate; + WorkshopUpdateOrganizationRelationInputUpdateMany: WorkshopUpdateOrganizationRelationInputUpdateMany; + WorkshopUpdateServiceRelationInput: WorkshopUpdateServiceRelationInput; + WorkshopUpdateStaffRelationInput: WorkshopUpdateStaffRelationInput; + WorkshopUpdateSubscriptionRelationInput: WorkshopUpdateSubscriptionRelationInput; + WorkshopUpdateSubscriptionRelationInputCreateMany: WorkshopUpdateSubscriptionRelationInputCreateMany; + WorkshopUpdateSubscriptionRelationInputUpdate: WorkshopUpdateSubscriptionRelationInputUpdate; + WorkshopUpdateSubscriptionRelationInputUpdateMany: WorkshopUpdateSubscriptionRelationInputUpdateMany; + WorkshopUpdateWithoutImageFileInput: WorkshopUpdateWithoutImageFileInput; + WorkshopUpdateWithoutOrganizationInput: WorkshopUpdateWithoutOrganizationInput; + WorkshopUpdateWithoutServiceInput: WorkshopUpdateWithoutServiceInput; + WorkshopUpdateWithoutStaffInput: WorkshopUpdateWithoutStaffInput; + WorkshopUpdateWithoutSubscriptionInput: WorkshopUpdateWithoutSubscriptionInput; + WorkshopUpdateWorkshopMeetingRoomRelationInput: WorkshopUpdateWorkshopMeetingRoomRelationInput; + WorkshopWithoutImageFileFilter: WorkshopWithoutImageFileFilter; + WorkshopWithoutServiceFilter: WorkshopWithoutServiceFilter; + WorkshopWithoutStaffFilter: WorkshopWithoutStaffFilter; +}; + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = { + Boolean: Scalars['Boolean']['output']; + BooleanFilter: BooleanFilter; + Category: Category; + CategoryCreateInput: CategoryCreateInput; + CategoryCreateSubCategoryRelationInput: CategoryCreateSubCategoryRelationInput; + CategoryCreateWithoutSubCategoryInput: CategoryCreateWithoutSubCategoryInput; + CategoryFilter: CategoryFilter; + CategoryOrderBy: CategoryOrderBy; + CategoryUniqueFilter: CategoryUniqueFilter; + CategoryUpdateWithoutSubCategoryInput: CategoryUpdateWithoutSubCategoryInput; + Center: Center; + CenterCreateCenterOwnerRelationInput: CenterCreateCenterOwnerRelationInput; + CenterCreateCenterStaffRelationInput: CenterCreateCenterStaffRelationInput; + CenterCreateChatRoomRelationInput: CenterCreateChatRoomRelationInput; + CenterCreateInput: CenterCreateInput; + CenterCreateLogoFileRelationInput: CenterCreateLogoFileRelationInput; + CenterCreateResumeRelationInput: CenterCreateResumeRelationInput; + CenterCreateServicesRelationInput: CenterCreateServicesRelationInput; + CenterCreateWithoutCenterOwnerInput: CenterCreateWithoutCenterOwnerInput; + CenterCreateWithoutCenterStaffInput: CenterCreateWithoutCenterStaffInput; + CenterCreateWithoutChatRoomInput: CenterCreateWithoutChatRoomInput; + CenterCreateWithoutLogoFileInput: CenterCreateWithoutLogoFileInput; + CenterCreateWithoutServicesInput: CenterCreateWithoutServicesInput; + CenterFilter: CenterFilter; + CenterListFilter: CenterListFilter; + CenterOrderBy: CenterOrderBy; + CenterStaff: CenterStaff; + CenterStaffCreateCenterRelationInput: CenterStaffCreateCenterRelationInput; + CenterStaffCreateCreatedWorkshopRelationInput: CenterStaffCreateCreatedWorkshopRelationInput; + CenterStaffCreateInput: CenterStaffCreateInput; + CenterStaffCreateManagedServiceRelationInput: CenterStaffCreateManagedServiceRelationInput; + CenterStaffCreateStaffRelationInput: CenterStaffCreateStaffRelationInput; + CenterStaffCreateWithoutCenterInput: CenterStaffCreateWithoutCenterInput; + CenterStaffCreateWithoutCreatedWorkshopInput: CenterStaffCreateWithoutCreatedWorkshopInput; + CenterStaffCreateWithoutManagedServiceInput: CenterStaffCreateWithoutManagedServiceInput; + CenterStaffCreateWithoutStaffInput: CenterStaffCreateWithoutStaffInput; + CenterStaffFilter: CenterStaffFilter; + CenterStaffListFilter: CenterStaffListFilter; + CenterStaffOrderBy: CenterStaffOrderBy; + CenterStaffUniqueFilter: CenterStaffUniqueFilter; + CenterStaffUpdateCenterRelationInput: CenterStaffUpdateCenterRelationInput; + CenterStaffUpdateCreatedWorkshopRelationInput: CenterStaffUpdateCreatedWorkshopRelationInput; + CenterStaffUpdateCreatedWorkshopRelationInputCreateMany: CenterStaffUpdateCreatedWorkshopRelationInputCreateMany; + CenterStaffUpdateCreatedWorkshopRelationInputUpdate: CenterStaffUpdateCreatedWorkshopRelationInputUpdate; + CenterStaffUpdateCreatedWorkshopRelationInputUpdateMany: CenterStaffUpdateCreatedWorkshopRelationInputUpdateMany; + CenterStaffUpdateInput: CenterStaffUpdateInput; + CenterStaffUpdateManagedServiceRelationInput: CenterStaffUpdateManagedServiceRelationInput; + CenterStaffUpdateManagedServiceRelationInputCreateMany: CenterStaffUpdateManagedServiceRelationInputCreateMany; + CenterStaffUpdateManagedServiceRelationInputUpdate: CenterStaffUpdateManagedServiceRelationInputUpdate; + CenterStaffUpdateManagedServiceRelationInputUpdateMany: CenterStaffUpdateManagedServiceRelationInputUpdateMany; + CenterStaffUpdateStaffRelationInput: CenterStaffUpdateStaffRelationInput; + CenterStaffUpdateWithoutCenterInput: CenterStaffUpdateWithoutCenterInput; + CenterStaffUpdateWithoutCreatedWorkshopInput: CenterStaffUpdateWithoutCreatedWorkshopInput; + CenterStaffUpdateWithoutManagedServiceInput: CenterStaffUpdateWithoutManagedServiceInput; + CenterStaffUpdateWithoutStaffInput: CenterStaffUpdateWithoutStaffInput; + CenterStaffWithoutCenterFilter: CenterStaffWithoutCenterFilter; + CenterStatusFilter: CenterStatusFilter; + CenterUniqueFilter: CenterUniqueFilter; + CenterUpdateCenterOwnerRelationInput: CenterUpdateCenterOwnerRelationInput; + CenterUpdateCenterStaffRelationInput: CenterUpdateCenterStaffRelationInput; + CenterUpdateCenterStaffRelationInputCreateMany: CenterUpdateCenterStaffRelationInputCreateMany; + CenterUpdateCenterStaffRelationInputUpdate: CenterUpdateCenterStaffRelationInputUpdate; + CenterUpdateCenterStaffRelationInputUpdateMany: CenterUpdateCenterStaffRelationInputUpdateMany; + CenterUpdateChatRoomRelationInput: CenterUpdateChatRoomRelationInput; + CenterUpdateChatRoomRelationInputCreateMany: CenterUpdateChatRoomRelationInputCreateMany; + CenterUpdateChatRoomRelationInputUpdate: CenterUpdateChatRoomRelationInputUpdate; + CenterUpdateChatRoomRelationInputUpdateMany: CenterUpdateChatRoomRelationInputUpdateMany; + CenterUpdateInput: CenterUpdateInput; + CenterUpdateLogoFileRelationInput: CenterUpdateLogoFileRelationInput; + CenterUpdateResumeRelationInput: CenterUpdateResumeRelationInput; + CenterUpdateResumeRelationInputCreateMany: CenterUpdateResumeRelationInputCreateMany; + CenterUpdateResumeRelationInputUpdate: CenterUpdateResumeRelationInputUpdate; + CenterUpdateResumeRelationInputUpdateMany: CenterUpdateResumeRelationInputUpdateMany; + CenterUpdateServicesRelationInput: CenterUpdateServicesRelationInput; + CenterUpdateServicesRelationInputCreateMany: CenterUpdateServicesRelationInputCreateMany; + CenterUpdateServicesRelationInputUpdate: CenterUpdateServicesRelationInputUpdate; + CenterUpdateServicesRelationInputUpdateMany: CenterUpdateServicesRelationInputUpdateMany; + CenterUpdateWithoutCenterOwnerInput: CenterUpdateWithoutCenterOwnerInput; + CenterUpdateWithoutCenterStaffInput: CenterUpdateWithoutCenterStaffInput; + CenterUpdateWithoutChatRoomInput: CenterUpdateWithoutChatRoomInput; + CenterUpdateWithoutLogoFileInput: CenterUpdateWithoutLogoFileInput; + CenterUpdateWithoutServicesInput: CenterUpdateWithoutServicesInput; + CenterWithoutLogoFileFilter: CenterWithoutLogoFileFilter; + ChatRoom: ChatRoom; + ChatRoomCreateCenterRelationInput: ChatRoomCreateCenterRelationInput; + ChatRoomCreateCenterStaffRelationInput: ChatRoomCreateCenterStaffRelationInput; + ChatRoomCreateCustomerRelationInput: ChatRoomCreateCustomerRelationInput; + ChatRoomCreateMeetingRoomRelationInput: ChatRoomCreateMeetingRoomRelationInput; + ChatRoomCreateMessageRelationInput: ChatRoomCreateMessageRelationInput; + ChatRoomCreateWithoutCenterInput: ChatRoomCreateWithoutCenterInput; + ChatRoomCreateWithoutCenterStaffInput: ChatRoomCreateWithoutCenterStaffInput; + ChatRoomCreateWithoutCustomerInput: ChatRoomCreateWithoutCustomerInput; + ChatRoomCreateWithoutMessageInput: ChatRoomCreateWithoutMessageInput; + ChatRoomFilter: ChatRoomFilter; + ChatRoomListFilter: ChatRoomListFilter; + ChatRoomOrderBy: ChatRoomOrderBy; + ChatRoomTypeFilter: ChatRoomTypeFilter; + ChatRoomUniqueFilter: ChatRoomUniqueFilter; + ChatRoomUpdateCenterRelationInput: ChatRoomUpdateCenterRelationInput; + ChatRoomUpdateCenterStaffRelationInput: ChatRoomUpdateCenterStaffRelationInput; + ChatRoomUpdateCustomerRelationInput: ChatRoomUpdateCustomerRelationInput; + ChatRoomUpdateMeetingRoomRelationInput: ChatRoomUpdateMeetingRoomRelationInput; + ChatRoomUpdateMessageRelationInput: ChatRoomUpdateMessageRelationInput; + ChatRoomUpdateMessageRelationInputCreateMany: ChatRoomUpdateMessageRelationInputCreateMany; + ChatRoomUpdateMessageRelationInputUpdate: ChatRoomUpdateMessageRelationInputUpdate; + ChatRoomUpdateMessageRelationInputUpdateMany: ChatRoomUpdateMessageRelationInputUpdateMany; + ChatRoomUpdateWithoutCenterInput: ChatRoomUpdateWithoutCenterInput; + ChatRoomUpdateWithoutCenterStaffInput: ChatRoomUpdateWithoutCenterStaffInput; + ChatRoomUpdateWithoutCustomerInput: ChatRoomUpdateWithoutCustomerInput; + ChatRoomUpdateWithoutMessageInput: ChatRoomUpdateWithoutMessageInput; + ChatRoomWithoutCenterFilter: ChatRoomWithoutCenterFilter; + ChatRoomWithoutCenterStaffFilter: ChatRoomWithoutCenterStaffFilter; + ChatRoomWithoutCustomerFilter: ChatRoomWithoutCustomerFilter; + DateTime: Scalars['DateTime']['output']; + DateTimeFilter: DateTimeFilter; + Float: Scalars['Float']['output']; + FloatFilter: FloatFilter; + ID: Scalars['ID']['output']; + Int: Scalars['Int']['output']; + IntFilter: IntFilter; + Json: Scalars['Json']['output']; + JsonFilter: JsonFilter; + ManagedService: ManagedService; + ManagedServiceCreateInput: ManagedServiceCreateInput; + ManagedServiceCreateServiceRelationInput: ManagedServiceCreateServiceRelationInput; + ManagedServiceCreateStaffRelationInput: ManagedServiceCreateStaffRelationInput; + ManagedServiceCreateWithoutServiceInput: ManagedServiceCreateWithoutServiceInput; + ManagedServiceCreateWithoutStaffInput: ManagedServiceCreateWithoutStaffInput; + ManagedServiceFilter: ManagedServiceFilter; + ManagedServiceListFilter: ManagedServiceListFilter; + ManagedServiceOrderBy: ManagedServiceOrderBy; + ManagedServiceUniqueFilter: ManagedServiceUniqueFilter; + ManagedServiceUpdateServiceRelationInput: ManagedServiceUpdateServiceRelationInput; + ManagedServiceUpdateStaffRelationInput: ManagedServiceUpdateStaffRelationInput; + ManagedServiceUpdateWithoutServiceInput: ManagedServiceUpdateWithoutServiceInput; + ManagedServiceUpdateWithoutStaffInput: ManagedServiceUpdateWithoutStaffInput; + ManagedServiceWithoutServiceFilter: ManagedServiceWithoutServiceFilter; + ManagedServiceWithoutStaffFilter: ManagedServiceWithoutStaffFilter; + Message: Message; + MessageCreateChatRoomRelationInput: MessageCreateChatRoomRelationInput; + MessageCreateSenderRelationInput: MessageCreateSenderRelationInput; + MessageCreateWithoutChatRoomInput: MessageCreateWithoutChatRoomInput; + MessageCreateWithoutSenderInput: MessageCreateWithoutSenderInput; + MessageFilter: MessageFilter; + MessageListFilter: MessageListFilter; + MessageOrderBy: MessageOrderBy; + MessageUniqueFilter: MessageUniqueFilter; + MessageUpdateChatRoomRelationInput: MessageUpdateChatRoomRelationInput; + MessageUpdateSenderRelationInput: MessageUpdateSenderRelationInput; + MessageUpdateWithoutChatRoomInput: MessageUpdateWithoutChatRoomInput; + MessageUpdateWithoutSenderInput: MessageUpdateWithoutSenderInput; + MessageWithoutChatRoomFilter: MessageWithoutChatRoomFilter; + MessageWithoutSenderFilter: MessageWithoutSenderFilter; + Milestone: Milestone; + MilestoneCreateWithoutServiceInput: MilestoneCreateWithoutServiceInput; + MilestoneFilter: MilestoneFilter; + MilestoneListFilter: MilestoneListFilter; + MilestoneOrderBy: MilestoneOrderBy; + MilestoneUniqueFilter: MilestoneUniqueFilter; + MilestoneUpdateWithoutServiceInput: MilestoneUpdateWithoutServiceInput; + MilestoneWithoutServiceFilter: MilestoneWithoutServiceFilter; + Mutation: {}; + Order: Order; + OrderCreateInput: OrderCreateInput; + OrderCreatePaymentRelationInput: OrderCreatePaymentRelationInput; + OrderCreateRefundTicketRelationInput: OrderCreateRefundTicketRelationInput; + OrderCreateServiceRelationInput: OrderCreateServiceRelationInput; + OrderCreateUserRelationInput: OrderCreateUserRelationInput; + OrderCreateWithoutServiceInput: OrderCreateWithoutServiceInput; + OrderCreateWithoutUserInput: OrderCreateWithoutUserInput; + OrderFilter: OrderFilter; + OrderListFilter: OrderListFilter; + OrderOrderBy: OrderOrderBy; + OrderStatusFilter: OrderStatusFilter; + OrderUniqueFilter: OrderUniqueFilter; + OrderUpdateInput: OrderUpdateInput; + OrderUpdatePaymentRelationInput: OrderUpdatePaymentRelationInput; + OrderUpdatePaymentRelationInputCreateMany: OrderUpdatePaymentRelationInputCreateMany; + OrderUpdatePaymentRelationInputUpdate: OrderUpdatePaymentRelationInputUpdate; + OrderUpdatePaymentRelationInputUpdateMany: OrderUpdatePaymentRelationInputUpdateMany; + OrderUpdateRefundTicketRelationInput: OrderUpdateRefundTicketRelationInput; + OrderUpdateServiceRelationInput: OrderUpdateServiceRelationInput; + OrderUpdateUserRelationInput: OrderUpdateUserRelationInput; + OrderUpdateWithoutServiceInput: OrderUpdateWithoutServiceInput; + OrderUpdateWithoutUserInput: OrderUpdateWithoutUserInput; + OrderWithoutServiceFilter: OrderWithoutServiceFilter; + OrderWithoutUserFilter: OrderWithoutUserFilter; + Payment: Payment; + PaymentCreateWithoutOrderInput: PaymentCreateWithoutOrderInput; + PaymentFilter: PaymentFilter; + PaymentListFilter: PaymentListFilter; + PaymentOrderBy: PaymentOrderBy; + PaymentStatusFilter: PaymentStatusFilter; + PaymentUniqueFilter: PaymentUniqueFilter; + PaymentUpdateWithoutOrderInput: PaymentUpdateWithoutOrderInput; + PaymentWithoutOrderFilter: PaymentWithoutOrderFilter; + Query: {}; + RefundTicket: RefundTicket; + RefundTicketCreateWithoutOrderInput: RefundTicketCreateWithoutOrderInput; + RefundTicketFilter: RefundTicketFilter; + RefundTicketOrderBy: RefundTicketOrderBy; + RefundTicketUniqueFilter: RefundTicketUniqueFilter; + RefundTicketUpdateWithoutOrderInput: RefundTicketUpdateWithoutOrderInput; + Resume: Resume; + ResumeCreateResumeFileRelationInput: ResumeCreateResumeFileRelationInput; + ResumeCreateWithoutCenterInput: ResumeCreateWithoutCenterInput; + ResumeFile: ResumeFile; + ResumeFileCreateWithoutResumeInput: ResumeFileCreateWithoutResumeInput; + ResumeFileFilter: ResumeFileFilter; + ResumeFileListFilter: ResumeFileListFilter; + ResumeFileOrderBy: ResumeFileOrderBy; + ResumeFileUniqueFilter: ResumeFileUniqueFilter; + ResumeFileUpdateWithoutResumeInput: ResumeFileUpdateWithoutResumeInput; + ResumeFileWithoutResumeFilter: ResumeFileWithoutResumeFilter; + ResumeFilter: ResumeFilter; + ResumeListFilter: ResumeListFilter; + ResumeOrderBy: ResumeOrderBy; + ResumeStatusFilter: ResumeStatusFilter; + ResumeUniqueFilter: ResumeUniqueFilter; + ResumeUpdateResumeFileRelationInput: ResumeUpdateResumeFileRelationInput; + ResumeUpdateResumeFileRelationInputCreateMany: ResumeUpdateResumeFileRelationInputCreateMany; + ResumeUpdateResumeFileRelationInputUpdate: ResumeUpdateResumeFileRelationInputUpdate; + ResumeUpdateResumeFileRelationInputUpdateMany: ResumeUpdateResumeFileRelationInputUpdateMany; + ResumeUpdateWithoutCenterInput: ResumeUpdateWithoutCenterInput; + ResumeWithoutCenterFilter: ResumeWithoutCenterFilter; + RoleFilter: RoleFilter; + Schedule: Schedule; + ScheduleCreateDatesRelationInput: ScheduleCreateDatesRelationInput; + ScheduleCreateWithoutServiceInput: ScheduleCreateWithoutServiceInput; + ScheduleDate: ScheduleDate; + ScheduleDateCreateWithoutScheduleInput: ScheduleDateCreateWithoutScheduleInput; + ScheduleDateFilter: ScheduleDateFilter; + ScheduleDateListFilter: ScheduleDateListFilter; + ScheduleDateOrderBy: ScheduleDateOrderBy; + ScheduleDateUniqueFilter: ScheduleDateUniqueFilter; + ScheduleDateUpdateWithoutScheduleInput: ScheduleDateUpdateWithoutScheduleInput; + ScheduleDateWithoutScheduleFilter: ScheduleDateWithoutScheduleFilter; + ScheduleFilter: ScheduleFilter; + ScheduleListFilter: ScheduleListFilter; + ScheduleOrderBy: ScheduleOrderBy; + ScheduleStatusFilter: ScheduleStatusFilter; + ScheduleUniqueFilter: ScheduleUniqueFilter; + ScheduleUpdateDatesRelationInput: ScheduleUpdateDatesRelationInput; + ScheduleUpdateDatesRelationInputCreateMany: ScheduleUpdateDatesRelationInputCreateMany; + ScheduleUpdateDatesRelationInputUpdate: ScheduleUpdateDatesRelationInputUpdate; + ScheduleUpdateDatesRelationInputUpdateMany: ScheduleUpdateDatesRelationInputUpdateMany; + ScheduleUpdateWithoutServiceInput: ScheduleUpdateWithoutServiceInput; + ScheduleWithoutServiceFilter: ScheduleWithoutServiceFilter; + Service: Service; + ServiceAndCategory: ServiceAndCategory; + ServiceAndCategoryCreateServiceRelationInput: ServiceAndCategoryCreateServiceRelationInput; + ServiceAndCategoryCreateSubCategoryRelationInput: ServiceAndCategoryCreateSubCategoryRelationInput; + ServiceAndCategoryCreateWithoutServiceInput: ServiceAndCategoryCreateWithoutServiceInput; + ServiceAndCategoryCreateWithoutSubCategoryInput: ServiceAndCategoryCreateWithoutSubCategoryInput; + ServiceAndCategoryFilter: ServiceAndCategoryFilter; + ServiceAndCategoryListFilter: ServiceAndCategoryListFilter; + ServiceAndCategoryOrderBy: ServiceAndCategoryOrderBy; + ServiceAndCategoryUniqueFilter: ServiceAndCategoryUniqueFilter; + ServiceAndCategoryUpdateSubCategoryRelationInput: ServiceAndCategoryUpdateSubCategoryRelationInput; + ServiceAndCategoryUpdateWithoutServiceInput: ServiceAndCategoryUpdateWithoutServiceInput; + ServiceAndCategoryWithoutServiceFilter: ServiceAndCategoryWithoutServiceFilter; + ServiceCreateCenterRelationInput: ServiceCreateCenterRelationInput; + ServiceCreateFeedbacksRelationInput: ServiceCreateFeedbacksRelationInput; + ServiceCreateImageFileRelationInput: ServiceCreateImageFileRelationInput; + ServiceCreateInput: ServiceCreateInput; + ServiceCreateManagedServiceRelationInput: ServiceCreateManagedServiceRelationInput; + ServiceCreateMilestoneRelationInput: ServiceCreateMilestoneRelationInput; + ServiceCreateOrderRelationInput: ServiceCreateOrderRelationInput; + ServiceCreateScheduleRelationInput: ServiceCreateScheduleRelationInput; + ServiceCreateServiceAndCategoryRelationInput: ServiceCreateServiceAndCategoryRelationInput; + ServiceCreateUserRelationInput: ServiceCreateUserRelationInput; + ServiceCreateWithoutCenterInput: ServiceCreateWithoutCenterInput; + ServiceCreateWithoutFeedbacksInput: ServiceCreateWithoutFeedbacksInput; + ServiceCreateWithoutImageFileInput: ServiceCreateWithoutImageFileInput; + ServiceCreateWithoutManagedServiceInput: ServiceCreateWithoutManagedServiceInput; + ServiceCreateWithoutOrderInput: ServiceCreateWithoutOrderInput; + ServiceCreateWithoutServiceAndCategoryInput: ServiceCreateWithoutServiceAndCategoryInput; + ServiceCreateWithoutUserInput: ServiceCreateWithoutUserInput; + ServiceCreateWithoutWorkshopInput: ServiceCreateWithoutWorkshopInput; + ServiceCreateWithoutWorkshopOrganizationInput: ServiceCreateWithoutWorkshopOrganizationInput; + ServiceCreateWorkshopOrganizationRelationInput: ServiceCreateWorkshopOrganizationRelationInput; + ServiceCreateWorkshopRelationInput: ServiceCreateWorkshopRelationInput; + ServiceFeedback: ServiceFeedback; + ServiceFeedbackCreateServiceRelationInput: ServiceFeedbackCreateServiceRelationInput; + ServiceFeedbackCreateUserRelationInput: ServiceFeedbackCreateUserRelationInput; + ServiceFeedbackCreateWithoutServiceInput: ServiceFeedbackCreateWithoutServiceInput; + ServiceFeedbackCreateWithoutUserInput: ServiceFeedbackCreateWithoutUserInput; + ServiceFeedbackFilter: ServiceFeedbackFilter; + ServiceFeedbackListFilter: ServiceFeedbackListFilter; + ServiceFeedbackOrderBy: ServiceFeedbackOrderBy; + ServiceFeedbackUniqueFilter: ServiceFeedbackUniqueFilter; + ServiceFeedbackUpdateServiceRelationInput: ServiceFeedbackUpdateServiceRelationInput; + ServiceFeedbackUpdateUserRelationInput: ServiceFeedbackUpdateUserRelationInput; + ServiceFeedbackUpdateWithoutServiceInput: ServiceFeedbackUpdateWithoutServiceInput; + ServiceFeedbackUpdateWithoutUserInput: ServiceFeedbackUpdateWithoutUserInput; + ServiceFeedbackWithoutServiceFilter: ServiceFeedbackWithoutServiceFilter; + ServiceFeedbackWithoutUserFilter: ServiceFeedbackWithoutUserFilter; + ServiceFilter: ServiceFilter; + ServiceListFilter: ServiceListFilter; + ServiceMeetingRoom: ServiceMeetingRoom; + ServiceMeetingRoomCreateWithoutChattingRoomInput: ServiceMeetingRoomCreateWithoutChattingRoomInput; + ServiceMeetingRoomFilter: ServiceMeetingRoomFilter; + ServiceMeetingRoomOrderBy: ServiceMeetingRoomOrderBy; + ServiceMeetingRoomUniqueFilter: ServiceMeetingRoomUniqueFilter; + ServiceMeetingRoomUpdateWithoutChattingRoomInput: ServiceMeetingRoomUpdateWithoutChattingRoomInput; + ServiceOrderBy: ServiceOrderBy; + ServiceUniqueFilter: ServiceUniqueFilter; + ServiceUpdateCenterRelationInput: ServiceUpdateCenterRelationInput; + ServiceUpdateFeedbacksRelationInput: ServiceUpdateFeedbacksRelationInput; + ServiceUpdateFeedbacksRelationInputCreateMany: ServiceUpdateFeedbacksRelationInputCreateMany; + ServiceUpdateFeedbacksRelationInputUpdate: ServiceUpdateFeedbacksRelationInputUpdate; + ServiceUpdateFeedbacksRelationInputUpdateMany: ServiceUpdateFeedbacksRelationInputUpdateMany; + ServiceUpdateImageFileRelationInput: ServiceUpdateImageFileRelationInput; + ServiceUpdateInput: ServiceUpdateInput; + ServiceUpdateManagedServiceRelationInput: ServiceUpdateManagedServiceRelationInput; + ServiceUpdateManagedServiceRelationInputCreateMany: ServiceUpdateManagedServiceRelationInputCreateMany; + ServiceUpdateManagedServiceRelationInputUpdate: ServiceUpdateManagedServiceRelationInputUpdate; + ServiceUpdateManagedServiceRelationInputUpdateMany: ServiceUpdateManagedServiceRelationInputUpdateMany; + ServiceUpdateMilestoneRelationInput: ServiceUpdateMilestoneRelationInput; + ServiceUpdateMilestoneRelationInputCreateMany: ServiceUpdateMilestoneRelationInputCreateMany; + ServiceUpdateMilestoneRelationInputUpdate: ServiceUpdateMilestoneRelationInputUpdate; + ServiceUpdateMilestoneRelationInputUpdateMany: ServiceUpdateMilestoneRelationInputUpdateMany; + ServiceUpdateOrderRelationInput: ServiceUpdateOrderRelationInput; + ServiceUpdateOrderRelationInputCreateMany: ServiceUpdateOrderRelationInputCreateMany; + ServiceUpdateOrderRelationInputUpdate: ServiceUpdateOrderRelationInputUpdate; + ServiceUpdateOrderRelationInputUpdateMany: ServiceUpdateOrderRelationInputUpdateMany; + ServiceUpdateScheduleRelationInput: ServiceUpdateScheduleRelationInput; + ServiceUpdateScheduleRelationInputCreateMany: ServiceUpdateScheduleRelationInputCreateMany; + ServiceUpdateScheduleRelationInputUpdate: ServiceUpdateScheduleRelationInputUpdate; + ServiceUpdateScheduleRelationInputUpdateMany: ServiceUpdateScheduleRelationInputUpdateMany; + ServiceUpdateServiceAndCategoryRelationInput: ServiceUpdateServiceAndCategoryRelationInput; + ServiceUpdateServiceAndCategoryRelationInputCreateMany: ServiceUpdateServiceAndCategoryRelationInputCreateMany; + ServiceUpdateServiceAndCategoryRelationInputUpdate: ServiceUpdateServiceAndCategoryRelationInputUpdate; + ServiceUpdateServiceAndCategoryRelationInputUpdateMany: ServiceUpdateServiceAndCategoryRelationInputUpdateMany; + ServiceUpdateUserRelationInput: ServiceUpdateUserRelationInput; + ServiceUpdateWithoutCenterInput: ServiceUpdateWithoutCenterInput; + ServiceUpdateWithoutFeedbacksInput: ServiceUpdateWithoutFeedbacksInput; + ServiceUpdateWithoutImageFileInput: ServiceUpdateWithoutImageFileInput; + ServiceUpdateWithoutManagedServiceInput: ServiceUpdateWithoutManagedServiceInput; + ServiceUpdateWithoutOrderInput: ServiceUpdateWithoutOrderInput; + ServiceUpdateWithoutUserInput: ServiceUpdateWithoutUserInput; + ServiceUpdateWithoutWorkshopInput: ServiceUpdateWithoutWorkshopInput; + ServiceUpdateWithoutWorkshopOrganizationInput: ServiceUpdateWithoutWorkshopOrganizationInput; + ServiceUpdateWorkshopOrganizationRelationInput: ServiceUpdateWorkshopOrganizationRelationInput; + ServiceUpdateWorkshopOrganizationRelationInputCreateMany: ServiceUpdateWorkshopOrganizationRelationInputCreateMany; + ServiceUpdateWorkshopOrganizationRelationInputUpdate: ServiceUpdateWorkshopOrganizationRelationInputUpdate; + ServiceUpdateWorkshopOrganizationRelationInputUpdateMany: ServiceUpdateWorkshopOrganizationRelationInputUpdateMany; + ServiceUpdateWorkshopRelationInput: ServiceUpdateWorkshopRelationInput; + ServiceUpdateWorkshopRelationInputCreateMany: ServiceUpdateWorkshopRelationInputCreateMany; + ServiceUpdateWorkshopRelationInputUpdate: ServiceUpdateWorkshopRelationInputUpdate; + ServiceUpdateWorkshopRelationInputUpdateMany: ServiceUpdateWorkshopRelationInputUpdateMany; + ServiceWithoutCenterFilter: ServiceWithoutCenterFilter; + ServiceWithoutImageFileFilter: ServiceWithoutImageFileFilter; + ServiceWithoutUserFilter: ServiceWithoutUserFilter; + String: Scalars['String']['output']; + StringFilter: StringFilter; + SubCategory: SubCategory; + SubCategoryCreateCategoryRelationInput: SubCategoryCreateCategoryRelationInput; + SubCategoryCreateInput: SubCategoryCreateInput; + SubCategoryCreateServiceAndCategoryRelationInput: SubCategoryCreateServiceAndCategoryRelationInput; + SubCategoryCreateWithoutCategoryInput: SubCategoryCreateWithoutCategoryInput; + SubCategoryCreateWithoutServiceAndCategoryInput: SubCategoryCreateWithoutServiceAndCategoryInput; + SubCategoryFilter: SubCategoryFilter; + SubCategoryListFilter: SubCategoryListFilter; + SubCategoryOrderBy: SubCategoryOrderBy; + SubCategoryUniqueFilter: SubCategoryUniqueFilter; + SubCategoryUpdateCategoryRelationInput: SubCategoryUpdateCategoryRelationInput; + SubCategoryUpdateWithoutServiceAndCategoryInput: SubCategoryUpdateWithoutServiceAndCategoryInput; + Upload: Scalars['Upload']['output']; + UploadedFile: UploadedFile; + UploadedFileCreateCenterRelationInput: UploadedFileCreateCenterRelationInput; + UploadedFileCreateServiceRelationInput: UploadedFileCreateServiceRelationInput; + UploadedFileCreateUserRelationInput: UploadedFileCreateUserRelationInput; + UploadedFileCreateWithoutCenterInput: UploadedFileCreateWithoutCenterInput; + UploadedFileCreateWithoutServiceInput: UploadedFileCreateWithoutServiceInput; + UploadedFileCreateWithoutUserInput: UploadedFileCreateWithoutUserInput; + UploadedFileCreateWithoutWorkshopInput: UploadedFileCreateWithoutWorkshopInput; + UploadedFileCreateWorkshopRelationInput: UploadedFileCreateWorkshopRelationInput; + UploadedFileFilter: UploadedFileFilter; + UploadedFileListFilter: UploadedFileListFilter; + UploadedFileOrderBy: UploadedFileOrderBy; + UploadedFileTypeFilter: UploadedFileTypeFilter; + UploadedFileUniqueFilter: UploadedFileUniqueFilter; + UploadedFileUpdateCenterRelationInput: UploadedFileUpdateCenterRelationInput; + UploadedFileUpdateCenterRelationInputCreateMany: UploadedFileUpdateCenterRelationInputCreateMany; + UploadedFileUpdateCenterRelationInputUpdate: UploadedFileUpdateCenterRelationInputUpdate; + UploadedFileUpdateCenterRelationInputUpdateMany: UploadedFileUpdateCenterRelationInputUpdateMany; + UploadedFileUpdateServiceRelationInput: UploadedFileUpdateServiceRelationInput; + UploadedFileUpdateServiceRelationInputCreateMany: UploadedFileUpdateServiceRelationInputCreateMany; + UploadedFileUpdateServiceRelationInputUpdate: UploadedFileUpdateServiceRelationInputUpdate; + UploadedFileUpdateServiceRelationInputUpdateMany: UploadedFileUpdateServiceRelationInputUpdateMany; + UploadedFileUpdateUserRelationInput: UploadedFileUpdateUserRelationInput; + UploadedFileUpdateWithoutCenterInput: UploadedFileUpdateWithoutCenterInput; + UploadedFileUpdateWithoutServiceInput: UploadedFileUpdateWithoutServiceInput; + UploadedFileUpdateWithoutUserInput: UploadedFileUpdateWithoutUserInput; + UploadedFileUpdateWithoutWorkshopInput: UploadedFileUpdateWithoutWorkshopInput; + UploadedFileUpdateWorkshopRelationInput: UploadedFileUpdateWorkshopRelationInput; + UploadedFileUpdateWorkshopRelationInputCreateMany: UploadedFileUpdateWorkshopRelationInputCreateMany; + UploadedFileUpdateWorkshopRelationInputUpdate: UploadedFileUpdateWorkshopRelationInputUpdate; + UploadedFileUpdateWorkshopRelationInputUpdateMany: UploadedFileUpdateWorkshopRelationInputUpdateMany; + UploadedFileWithoutUserFilter: UploadedFileWithoutUserFilter; + User: User; + UserCreateCenterRelationInput: UserCreateCenterRelationInput; + UserCreateCenterStaffChatRoomRelationInput: UserCreateCenterStaffChatRoomRelationInput; + UserCreateCenterStaffRelationInput: UserCreateCenterStaffRelationInput; + UserCreateCustomerChatRoomRelationInput: UserCreateCustomerChatRoomRelationInput; + UserCreateFilesRelationInput: UserCreateFilesRelationInput; + UserCreateOrdersRelationInput: UserCreateOrdersRelationInput; + UserCreateSendingMessageRelationInput: UserCreateSendingMessageRelationInput; + UserCreateServiceFeedbacksRelationInput: UserCreateServiceFeedbacksRelationInput; + UserCreateServiceRelationInput: UserCreateServiceRelationInput; + UserCreateWithoutCenterInput: UserCreateWithoutCenterInput; + UserCreateWithoutCenterStaffChatRoomInput: UserCreateWithoutCenterStaffChatRoomInput; + UserCreateWithoutCenterStaffInput: UserCreateWithoutCenterStaffInput; + UserCreateWithoutCustomerChatRoomInput: UserCreateWithoutCustomerChatRoomInput; + UserCreateWithoutFilesInput: UserCreateWithoutFilesInput; + UserCreateWithoutOrdersInput: UserCreateWithoutOrdersInput; + UserCreateWithoutSendingMessageInput: UserCreateWithoutSendingMessageInput; + UserCreateWithoutServiceFeedbacksInput: UserCreateWithoutServiceFeedbacksInput; + UserCreateWithoutServiceInput: UserCreateWithoutServiceInput; + UserCreateWithoutWorkshopSubscriptionInput: UserCreateWithoutWorkshopSubscriptionInput; + UserCreateWorkshopSubscriptionRelationInput: UserCreateWorkshopSubscriptionRelationInput; + UserFilter: UserFilter; + UserOrderBy: UserOrderBy; + UserUniqueFilter: UserUniqueFilter; + UserUpdateCenterRelationInput: UserUpdateCenterRelationInput; + UserUpdateCenterStaffChatRoomRelationInput: UserUpdateCenterStaffChatRoomRelationInput; + UserUpdateCenterStaffChatRoomRelationInputCreateMany: UserUpdateCenterStaffChatRoomRelationInputCreateMany; + UserUpdateCenterStaffChatRoomRelationInputUpdate: UserUpdateCenterStaffChatRoomRelationInputUpdate; + UserUpdateCenterStaffChatRoomRelationInputUpdateMany: UserUpdateCenterStaffChatRoomRelationInputUpdateMany; + UserUpdateCenterStaffRelationInput: UserUpdateCenterStaffRelationInput; + UserUpdateCustomerChatRoomRelationInput: UserUpdateCustomerChatRoomRelationInput; + UserUpdateCustomerChatRoomRelationInputCreateMany: UserUpdateCustomerChatRoomRelationInputCreateMany; + UserUpdateCustomerChatRoomRelationInputUpdate: UserUpdateCustomerChatRoomRelationInputUpdate; + UserUpdateCustomerChatRoomRelationInputUpdateMany: UserUpdateCustomerChatRoomRelationInputUpdateMany; + UserUpdateFilesRelationInput: UserUpdateFilesRelationInput; + UserUpdateFilesRelationInputCreateMany: UserUpdateFilesRelationInputCreateMany; + UserUpdateFilesRelationInputUpdate: UserUpdateFilesRelationInputUpdate; + UserUpdateFilesRelationInputUpdateMany: UserUpdateFilesRelationInputUpdateMany; + UserUpdateInput: UserUpdateInput; + UserUpdateOrdersRelationInput: UserUpdateOrdersRelationInput; + UserUpdateOrdersRelationInputCreateMany: UserUpdateOrdersRelationInputCreateMany; + UserUpdateOrdersRelationInputUpdate: UserUpdateOrdersRelationInputUpdate; + UserUpdateOrdersRelationInputUpdateMany: UserUpdateOrdersRelationInputUpdateMany; + UserUpdateSendingMessageRelationInput: UserUpdateSendingMessageRelationInput; + UserUpdateSendingMessageRelationInputCreateMany: UserUpdateSendingMessageRelationInputCreateMany; + UserUpdateSendingMessageRelationInputUpdate: UserUpdateSendingMessageRelationInputUpdate; + UserUpdateSendingMessageRelationInputUpdateMany: UserUpdateSendingMessageRelationInputUpdateMany; + UserUpdateServiceFeedbacksRelationInput: UserUpdateServiceFeedbacksRelationInput; + UserUpdateServiceFeedbacksRelationInputCreateMany: UserUpdateServiceFeedbacksRelationInputCreateMany; + UserUpdateServiceFeedbacksRelationInputUpdate: UserUpdateServiceFeedbacksRelationInputUpdate; + UserUpdateServiceFeedbacksRelationInputUpdateMany: UserUpdateServiceFeedbacksRelationInputUpdateMany; + UserUpdateServiceRelationInput: UserUpdateServiceRelationInput; + UserUpdateServiceRelationInputCreateMany: UserUpdateServiceRelationInputCreateMany; + UserUpdateServiceRelationInputUpdate: UserUpdateServiceRelationInputUpdate; + UserUpdateServiceRelationInputUpdateMany: UserUpdateServiceRelationInputUpdateMany; + UserUpdateWithoutCenterInput: UserUpdateWithoutCenterInput; + UserUpdateWithoutCenterStaffChatRoomInput: UserUpdateWithoutCenterStaffChatRoomInput; + UserUpdateWithoutCenterStaffInput: UserUpdateWithoutCenterStaffInput; + UserUpdateWithoutCustomerChatRoomInput: UserUpdateWithoutCustomerChatRoomInput; + UserUpdateWithoutFilesInput: UserUpdateWithoutFilesInput; + UserUpdateWithoutOrdersInput: UserUpdateWithoutOrdersInput; + UserUpdateWithoutSendingMessageInput: UserUpdateWithoutSendingMessageInput; + UserUpdateWithoutServiceFeedbacksInput: UserUpdateWithoutServiceFeedbacksInput; + UserUpdateWithoutServiceInput: UserUpdateWithoutServiceInput; + UserUpdateWithoutWorkshopSubscriptionInput: UserUpdateWithoutWorkshopSubscriptionInput; + UserUpdateWorkshopSubscriptionRelationInput: UserUpdateWorkshopSubscriptionRelationInput; + UserUpdateWorkshopSubscriptionRelationInputCreateMany: UserUpdateWorkshopSubscriptionRelationInputCreateMany; + UserUpdateWorkshopSubscriptionRelationInputUpdate: UserUpdateWorkshopSubscriptionRelationInputUpdate; + UserUpdateWorkshopSubscriptionRelationInputUpdateMany: UserUpdateWorkshopSubscriptionRelationInputUpdateMany; + Workshop: Workshop; + WorkshopCreateImageFileRelationInput: WorkshopCreateImageFileRelationInput; + WorkshopCreateInput: WorkshopCreateInput; + WorkshopCreateOrganizationRelationInput: WorkshopCreateOrganizationRelationInput; + WorkshopCreateServiceRelationInput: WorkshopCreateServiceRelationInput; + WorkshopCreateStaffRelationInput: WorkshopCreateStaffRelationInput; + WorkshopCreateSubscriptionRelationInput: WorkshopCreateSubscriptionRelationInput; + WorkshopCreateWithoutImageFileInput: WorkshopCreateWithoutImageFileInput; + WorkshopCreateWithoutOrganizationInput: WorkshopCreateWithoutOrganizationInput; + WorkshopCreateWithoutServiceInput: WorkshopCreateWithoutServiceInput; + WorkshopCreateWithoutStaffInput: WorkshopCreateWithoutStaffInput; + WorkshopCreateWithoutSubscriptionInput: WorkshopCreateWithoutSubscriptionInput; + WorkshopCreateWorkshopMeetingRoomRelationInput: WorkshopCreateWorkshopMeetingRoomRelationInput; + WorkshopFilter: WorkshopFilter; + WorkshopListFilter: WorkshopListFilter; + WorkshopMeetingRoomCreateWithoutWorkshopInput: WorkshopMeetingRoomCreateWithoutWorkshopInput; + WorkshopMeetingRoomFilter: WorkshopMeetingRoomFilter; + WorkshopMeetingRoomOrderBy: WorkshopMeetingRoomOrderBy; + WorkshopMeetingRoomUniqueFilter: WorkshopMeetingRoomUniqueFilter; + WorkshopMeetingRoomUpdateWithoutWorkshopInput: WorkshopMeetingRoomUpdateWithoutWorkshopInput; + WorkshopOrderBy: WorkshopOrderBy; + WorkshopOrganization: WorkshopOrganization; + WorkshopOrganizationCreateServiceRelationInput: WorkshopOrganizationCreateServiceRelationInput; + WorkshopOrganizationCreateWithoutServiceInput: WorkshopOrganizationCreateWithoutServiceInput; + WorkshopOrganizationCreateWithoutWorkshopInput: WorkshopOrganizationCreateWithoutWorkshopInput; + WorkshopOrganizationCreateWorkshopRelationInput: WorkshopOrganizationCreateWorkshopRelationInput; + WorkshopOrganizationFilter: WorkshopOrganizationFilter; + WorkshopOrganizationListFilter: WorkshopOrganizationListFilter; + WorkshopOrganizationOrderBy: WorkshopOrganizationOrderBy; + WorkshopOrganizationUniqueFilter: WorkshopOrganizationUniqueFilter; + WorkshopOrganizationUpdateServiceRelationInput: WorkshopOrganizationUpdateServiceRelationInput; + WorkshopOrganizationUpdateWithoutServiceInput: WorkshopOrganizationUpdateWithoutServiceInput; + WorkshopOrganizationUpdateWithoutWorkshopInput: WorkshopOrganizationUpdateWithoutWorkshopInput; + WorkshopOrganizationUpdateWorkshopRelationInput: WorkshopOrganizationUpdateWorkshopRelationInput; + WorkshopOrganizationWithoutServiceFilter: WorkshopOrganizationWithoutServiceFilter; + WorkshopOrganizationWithoutWorkshopFilter: WorkshopOrganizationWithoutWorkshopFilter; + WorkshopSubscription: WorkshopSubscription; + WorkshopSubscriptionCreateUserRelationInput: WorkshopSubscriptionCreateUserRelationInput; + WorkshopSubscriptionCreateWithoutUserInput: WorkshopSubscriptionCreateWithoutUserInput; + WorkshopSubscriptionCreateWithoutWorkshopInput: WorkshopSubscriptionCreateWithoutWorkshopInput; + WorkshopSubscriptionCreateWorkshopRelationInput: WorkshopSubscriptionCreateWorkshopRelationInput; + WorkshopSubscriptionFilter: WorkshopSubscriptionFilter; + WorkshopSubscriptionListFilter: WorkshopSubscriptionListFilter; + WorkshopSubscriptionOrderBy: WorkshopSubscriptionOrderBy; + WorkshopSubscriptionUniqueFilter: WorkshopSubscriptionUniqueFilter; + WorkshopSubscriptionUpdateUserRelationInput: WorkshopSubscriptionUpdateUserRelationInput; + WorkshopSubscriptionUpdateWithoutUserInput: WorkshopSubscriptionUpdateWithoutUserInput; + WorkshopSubscriptionUpdateWithoutWorkshopInput: WorkshopSubscriptionUpdateWithoutWorkshopInput; + WorkshopSubscriptionUpdateWorkshopRelationInput: WorkshopSubscriptionUpdateWorkshopRelationInput; + WorkshopSubscriptionWithoutUserFilter: WorkshopSubscriptionWithoutUserFilter; + WorkshopSubscriptionWithoutWorkshopFilter: WorkshopSubscriptionWithoutWorkshopFilter; + WorkshopUniqueFilter: WorkshopUniqueFilter; + WorkshopUpdateImageFileRelationInput: WorkshopUpdateImageFileRelationInput; + WorkshopUpdateInput: WorkshopUpdateInput; + WorkshopUpdateOrganizationRelationInput: WorkshopUpdateOrganizationRelationInput; + WorkshopUpdateOrganizationRelationInputCreateMany: WorkshopUpdateOrganizationRelationInputCreateMany; + WorkshopUpdateOrganizationRelationInputUpdate: WorkshopUpdateOrganizationRelationInputUpdate; + WorkshopUpdateOrganizationRelationInputUpdateMany: WorkshopUpdateOrganizationRelationInputUpdateMany; + WorkshopUpdateServiceRelationInput: WorkshopUpdateServiceRelationInput; + WorkshopUpdateStaffRelationInput: WorkshopUpdateStaffRelationInput; + WorkshopUpdateSubscriptionRelationInput: WorkshopUpdateSubscriptionRelationInput; + WorkshopUpdateSubscriptionRelationInputCreateMany: WorkshopUpdateSubscriptionRelationInputCreateMany; + WorkshopUpdateSubscriptionRelationInputUpdate: WorkshopUpdateSubscriptionRelationInputUpdate; + WorkshopUpdateSubscriptionRelationInputUpdateMany: WorkshopUpdateSubscriptionRelationInputUpdateMany; + WorkshopUpdateWithoutImageFileInput: WorkshopUpdateWithoutImageFileInput; + WorkshopUpdateWithoutOrganizationInput: WorkshopUpdateWithoutOrganizationInput; + WorkshopUpdateWithoutServiceInput: WorkshopUpdateWithoutServiceInput; + WorkshopUpdateWithoutStaffInput: WorkshopUpdateWithoutStaffInput; + WorkshopUpdateWithoutSubscriptionInput: WorkshopUpdateWithoutSubscriptionInput; + WorkshopUpdateWorkshopMeetingRoomRelationInput: WorkshopUpdateWorkshopMeetingRoomRelationInput; + WorkshopWithoutImageFileFilter: WorkshopWithoutImageFileFilter; + WorkshopWithoutServiceFilter: WorkshopWithoutServiceFilter; + WorkshopWithoutStaffFilter: WorkshopWithoutStaffFilter; +}; + +export type CategoryResolvers = { + id?: Resolver, ParentType, ContextType>; + name?: Resolver, ParentType, ContextType>; + subCategory?: Resolver>, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CenterResolvers = { + bank?: Resolver, ParentType, ContextType>; + bankAccountNumber?: Resolver, ParentType, ContextType>; + centerOwner?: Resolver, ParentType, ContextType>; + centerOwnerId?: Resolver, ParentType, ContextType>; + centerStaff?: Resolver>, ParentType, ContextType>; + centerStatus?: Resolver, ParentType, ContextType>; + chatRoom?: Resolver>, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + description?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + individual?: Resolver, ParentType, ContextType>; + location?: Resolver, ParentType, ContextType>; + logoFile?: Resolver, ParentType, ContextType>; + logoUrl?: Resolver, ParentType, ContextType>; + name?: Resolver, ParentType, ContextType>; + resume?: Resolver>, ParentType, ContextType>; + services?: Resolver>, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + uploadedFileId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CenterStaffResolvers = { + ManagedService?: Resolver>, ParentType, ContextType>; + center?: Resolver, ParentType, ContextType>; + centerId?: Resolver, ParentType, ContextType>; + createdWorkshop?: Resolver>, ParentType, ContextType>; + staff?: Resolver, ParentType, ContextType>; + staffId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ChatRoomResolvers = { + center?: Resolver, ParentType, ContextType>; + centerId?: Resolver, ParentType, ContextType>; + centerStaff?: Resolver, ParentType, ContextType>; + centerStaffId?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + customer?: Resolver, ParentType, ContextType>; + customerId?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + meetingRoom?: Resolver, ParentType, ContextType>; + message?: Resolver>, ParentType, ContextType>; + type?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig { + name: 'DateTime'; +} + +export interface JsonScalarConfig extends GraphQLScalarTypeConfig { + name: 'Json'; +} + +export type ManagedServiceResolvers = { + service?: Resolver, ParentType, ContextType>; + serviceId?: Resolver, ParentType, ContextType>; + staff?: Resolver, ParentType, ContextType>; + staffId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MessageResolvers = { + chatRoom?: Resolver, ParentType, ContextType>; + chatRoomId?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + message?: Resolver, ParentType, ContextType>; + sender?: Resolver, ParentType, ContextType>; + senderId?: Resolver, ParentType, ContextType>; + sentAt?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MilestoneResolvers = { + createdAt?: Resolver, ParentType, ContextType>; + description?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + milestoneOrder?: Resolver, ParentType, ContextType>; + name?: Resolver, ParentType, ContextType>; + service?: Resolver, ParentType, ContextType>; + serviceId?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MutationResolvers = { + createCategory?: Resolver, ParentType, ContextType, RequireFields>; + createCenter?: Resolver, ParentType, ContextType, RequireFields>; + createCenterStaff?: Resolver, ParentType, ContextType, RequireFields>; + createManagedService?: Resolver, ParentType, ContextType, RequireFields>; + createManyCategories?: Resolver>, ParentType, ContextType, RequireFields>; + createOrder?: Resolver, ParentType, ContextType, RequireFields>; + createService?: Resolver, ParentType, ContextType, RequireFields>; + createSubCategory?: Resolver, ParentType, ContextType, RequireFields>; + createWorkshop?: Resolver, ParentType, ContextType, RequireFields>; + deleteCenter?: Resolver, ParentType, ContextType, RequireFields>; + deleteCenterStaff?: Resolver, ParentType, ContextType, RequireFields>; + deleteOrder?: Resolver, ParentType, ContextType, RequireFields>; + deleteResumeFile?: Resolver, ParentType, ContextType, RequireFields>; + deleteService?: Resolver, ParentType, ContextType, RequireFields>; + deleteUploadedFile?: Resolver, ParentType, ContextType, RequireFields>; + deleteUploadedFiles?: Resolver>, ParentType, ContextType, RequireFields>; + multipleUpload?: Resolver>, ParentType, ContextType, RequireFields>; + singleUpload?: Resolver, ParentType, ContextType, RequireFields>; + updateCenter?: Resolver, ParentType, ContextType, RequireFields>; + updateCenterStaff?: Resolver, ParentType, ContextType, RequireFields>; + updateOrder?: Resolver, ParentType, ContextType, RequireFields>; + updateResumeStatus?: Resolver, ParentType, ContextType, RequireFields>; + updateService?: Resolver, ParentType, ContextType, RequireFields>; + updateUser?: Resolver, ParentType, ContextType, RequireFields>; + updateWorkshop?: Resolver, ParentType, ContextType, RequireFields>; + upsertResume?: Resolver, ParentType, ContextType, RequireFields>; +}; + +export type OrderResolvers = { + createdAt?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + payment?: Resolver>, ParentType, ContextType>; + paymentId?: Resolver, ParentType, ContextType>; + refundTicket?: Resolver, ParentType, ContextType>; + service?: Resolver, ParentType, ContextType>; + serviceId?: Resolver, ParentType, ContextType>; + status?: Resolver, ParentType, ContextType>; + total?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + userId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PaymentResolvers = { + amount?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + order?: Resolver, ParentType, ContextType>; + status?: Resolver; + updatedAt?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type QueryResolvers = { + categories?: Resolver>, ParentType, ContextType, Partial>; + category?: Resolver, ParentType, ContextType, RequireFields>; + center?: Resolver, ParentType, ContextType, RequireFields>; + centerByCenterStaff?: Resolver, ParentType, ContextType, RequireFields>; + centerStaff?: Resolver>, ParentType, ContextType, Partial>; + centers?: Resolver>, ParentType, ContextType, Partial>; + chatRoom?: Resolver, ParentType, ContextType, RequireFields>; + chatRooms?: Resolver>, ParentType, ContextType, Partial>; + managedService?: Resolver, ParentType, ContextType, RequireFields>; + managedServices?: Resolver>, ParentType, ContextType, Partial>; + message?: Resolver, ParentType, ContextType, RequireFields>; + messages?: Resolver>, ParentType, ContextType, Partial>; + milestone?: Resolver, ParentType, ContextType, RequireFields>; + milestones?: Resolver>, ParentType, ContextType, Partial>; + order?: Resolver, ParentType, ContextType, RequireFields>; + orders?: Resolver>, ParentType, ContextType, Partial>; + payment?: Resolver, ParentType, ContextType, RequireFields>; + payments?: Resolver>, ParentType, ContextType, Partial>; + refundTickets?: Resolver>, ParentType, ContextType, Partial>; + resume?: Resolver, ParentType, ContextType, RequireFields>; + resumeFile?: Resolver, ParentType, ContextType, RequireFields>; + resumeFiles?: Resolver>, ParentType, ContextType, Partial>; + resumes?: Resolver>, ParentType, ContextType, Partial>; + schedule?: Resolver, ParentType, ContextType, RequireFields>; + schedules?: Resolver>, ParentType, ContextType, Partial>; + service?: Resolver, ParentType, ContextType, RequireFields>; + serviceAndCategories?: Resolver>, ParentType, ContextType, Partial>; + serviceFeedbacks?: Resolver>, ParentType, ContextType, Partial>; + serviceMeetingRoom?: Resolver, ParentType, ContextType, RequireFields>; + serviceMeetingRooms?: Resolver>, ParentType, ContextType, Partial>; + services?: Resolver>, ParentType, ContextType, Partial>; + subCategories?: Resolver>, ParentType, ContextType, Partial>; + uploadedFile?: Resolver, ParentType, ContextType, RequireFields>; + uploadedFiles?: Resolver>, ParentType, ContextType, Partial>; + user?: Resolver, ParentType, ContextType, RequireFields>; + userBySession?: Resolver, ParentType, ContextType, RequireFields>; + users?: Resolver>, ParentType, ContextType, Partial>; + workshop?: Resolver, ParentType, ContextType, RequireFields>; + workshopSubscription?: Resolver, ParentType, ContextType, RequireFields>; + workshopSubscriptions?: Resolver>, ParentType, ContextType, Partial>; + workshops?: Resolver>, ParentType, ContextType, Partial>; +}; + +export type RefundTicketResolvers = { + amount?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + order?: Resolver, ParentType, ContextType>; + status?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ResumeResolvers = { + center?: Resolver, ParentType, ContextType>; + centerId?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + resumeFile?: Resolver>, ParentType, ContextType>; + status?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + userId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ResumeFileResolvers = { + actualFileName?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + fileUrl?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + resume?: Resolver, ParentType, ContextType>; + resumeId?: Resolver, ParentType, ContextType>; + type?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ScheduleResolvers = { + dates?: Resolver>, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + scheduleEnd?: Resolver; + scheduleStart?: Resolver; + service?: Resolver; + serviceId?: Resolver; + status?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ScheduleDateResolvers = { + end?: Resolver; + id?: Resolver, ParentType, ContextType>; + schedule?: Resolver, ParentType, ContextType>; + scheduleId?: Resolver, ParentType, ContextType>; + start?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ServiceResolvers = { + center?: Resolver, ParentType, ContextType>; + centerId?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + description?: Resolver, ParentType, ContextType>; + feedbacks?: Resolver>, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + imageFile?: Resolver, ParentType, ContextType>; + imageFileId?: Resolver, ParentType, ContextType>; + imageFileUrl?: Resolver, ParentType, ContextType>; + managedService?: Resolver>, ParentType, ContextType>; + milestone?: Resolver>, ParentType, ContextType>; + name?: Resolver, ParentType, ContextType>; + order?: Resolver>, ParentType, ContextType>; + price?: Resolver, ParentType, ContextType>; + rating?: Resolver, ParentType, ContextType>; + schedule?: Resolver>, ParentType, ContextType>; + serviceAndCategory?: Resolver>, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + userId?: Resolver, ParentType, ContextType>; + workshop?: Resolver>, ParentType, ContextType>; + workshopOrganization?: Resolver>, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ServiceAndCategoryResolvers = { + service?: Resolver, ParentType, ContextType>; + serviceId?: Resolver, ParentType, ContextType>; + subCategory?: Resolver, ParentType, ContextType>; + subCategoryId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ServiceFeedbackResolvers = { + comments?: Resolver, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + rating?: Resolver, ParentType, ContextType>; + service?: Resolver, ParentType, ContextType>; + serviceId?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + userId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ServiceMeetingRoomResolvers = { + chattingRoom?: Resolver, ParentType, ContextType>; + chattingRoomId?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type SubCategoryResolvers = { + category?: Resolver, ParentType, ContextType>; + categoryId?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + name?: Resolver, ParentType, ContextType>; + serviceAndCategory?: Resolver>, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface UploadScalarConfig extends GraphQLScalarTypeConfig { + name: 'Upload'; +} + +export type UploadedFileResolvers = { + actualFileName?: Resolver, ParentType, ContextType>; + fileName?: Resolver, ParentType, ContextType>; + fileType?: Resolver; + fileUrl?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + uploadedAt?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + userId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserResolvers = { + CenterStaff?: Resolver, ParentType, ContextType>; + WorkshopSubscription?: Resolver>, ParentType, ContextType>; + bankAccountNumber?: Resolver, ParentType, ContextType>; + bankBin?: Resolver, ParentType, ContextType>; + center?: Resolver, ParentType, ContextType>; + centerStaffChatRoom?: Resolver>, ParentType, ContextType>; + createdAt?: Resolver, ParentType, ContextType>; + customerChatRoom?: Resolver>, ParentType, ContextType>; + email?: Resolver, ParentType, ContextType>; + files?: Resolver>, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + name?: Resolver, ParentType, ContextType>; + orders?: Resolver>, ParentType, ContextType>; + phoneNumber?: Resolver, ParentType, ContextType>; + role?: Resolver, ParentType, ContextType>; + sendingMessage?: Resolver>, ParentType, ContextType>; + serviceFeedbacks?: Resolver>, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WorkshopResolvers = { + createdAt?: Resolver, ParentType, ContextType>; + date?: Resolver, ParentType, ContextType>; + description?: Resolver, ParentType, ContextType>; + id?: Resolver, ParentType, ContextType>; + imageFile?: Resolver, ParentType, ContextType>; + imageFileId?: Resolver, ParentType, ContextType>; + imageFileUrl?: Resolver, ParentType, ContextType>; + organization?: Resolver>, ParentType, ContextType>; + service?: Resolver, ParentType, ContextType>; + serviceId?: Resolver, ParentType, ContextType>; + staff?: Resolver, ParentType, ContextType>; + staffId?: Resolver, ParentType, ContextType>; + subscription?: Resolver>, ParentType, ContextType>; + title?: Resolver, ParentType, ContextType>; + updatedAt?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WorkshopOrganizationResolvers = { + service?: Resolver, ParentType, ContextType>; + serviceId?: Resolver, ParentType, ContextType>; + workshop?: Resolver, ParentType, ContextType>; + workshopId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type WorkshopSubscriptionResolvers = { + user?: Resolver, ParentType, ContextType>; + userId?: Resolver, ParentType, ContextType>; + workshop?: Resolver, ParentType, ContextType>; + workshopId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type Resolvers = { + Category?: CategoryResolvers; + Center?: CenterResolvers; + CenterStaff?: CenterStaffResolvers; + ChatRoom?: ChatRoomResolvers; + DateTime?: GraphQLScalarType; + Json?: GraphQLScalarType; + ManagedService?: ManagedServiceResolvers; + Message?: MessageResolvers; + Milestone?: MilestoneResolvers; + Mutation?: MutationResolvers; + Order?: OrderResolvers; + Payment?: PaymentResolvers; + Query?: QueryResolvers; + RefundTicket?: RefundTicketResolvers; + Resume?: ResumeResolvers; + ResumeFile?: ResumeFileResolvers; + Schedule?: ScheduleResolvers; + ScheduleDate?: ScheduleDateResolvers; + Service?: ServiceResolvers; + ServiceAndCategory?: ServiceAndCategoryResolvers; + ServiceFeedback?: ServiceFeedbackResolvers; + ServiceMeetingRoom?: ServiceMeetingRoomResolvers; + SubCategory?: SubCategoryResolvers; + Upload?: GraphQLScalarType; + UploadedFile?: UploadedFileResolvers; + User?: UserResolvers; + Workshop?: WorkshopResolvers; + WorkshopOrganization?: WorkshopOrganizationResolvers; + WorkshopSubscription?: WorkshopSubscriptionResolvers; +}; + diff --git a/src/ManagedService/managedservice.schema.ts b/src/ManagedService/managedservice.schema.ts index c7a8152..68ef50b 100644 --- a/src/ManagedService/managedservice.schema.ts +++ b/src/ManagedService/managedservice.schema.ts @@ -63,7 +63,8 @@ export class ManagedServiceSchema extends PothosSchema { })); this.builder.mutationFields((t) => ({ - createManagedService: t.field({ + createManagedService: t.prismaField({ + description: 'Create a new managed service.', type: this.managedService(), args: { input: t.arg({ @@ -72,8 +73,9 @@ export class ManagedServiceSchema extends PothosSchema { description: 'The data for the managed service.', }), }, - resolve: async (parent, args, context) => { - return this.prisma.managedService.create({ + resolve: async (query, root, args, ctx, info) => { + return await this.prisma.managedService.create({ + ...query, data: args.input, }); }, diff --git a/src/Milestone/milestone.schema.ts b/src/Milestone/milestone.schema.ts index e6606dd..bfd8e7b 100644 --- a/src/Milestone/milestone.schema.ts +++ b/src/Milestone/milestone.schema.ts @@ -63,6 +63,7 @@ export class MilestoneSchema extends PothosSchema { ...query, skip: args.skip ?? 0, take: args.take ?? 10, + cursor: args.cursor ?? undefined, orderBy: args.orderBy ?? undefined, where: args.filter ?? undefined, }); diff --git a/src/Service/service.schema.ts b/src/Service/service.schema.ts index bca00f6..3337dd3 100644 --- a/src/Service/service.schema.ts +++ b/src/Service/service.schema.ts @@ -41,7 +41,9 @@ export class ServiceSchema extends PothosSchema { price: t.exposeFloat('price', { description: 'The price of the service.', }), - rating: t.exposeFloat('rating', { + rating: t.expose('rating', { + type: 'Float', + nullable: true, description: 'The rating of the service.', }), imageFile: t.relation('imageFile', { @@ -100,6 +102,25 @@ export class ServiceSchema extends PothosSchema { @Pothos() init() { this.builder.queryFields((t) => ({ + testServices: t.prismaConnection( + { + description: 'A test connection for services', + type: this.service(), + cursor: 'id', + args: this.builder.generator.findManyArgs('Service'), + resolve: async (query, root, args, ctx, info) => { + return await this.prisma.service.findMany({ + ...query, + }); + }, + totalCount: (query) => { + return this.prisma.service.count({ + ...query, + }); + }, + }, + {}, + ), services: t.prismaField({ description: 'Retrieve a list of services with optional filtering, ordering, and pagination.', @@ -129,6 +150,9 @@ export class ServiceSchema extends PothosSchema { return await this.prisma.service.findUnique({ ...query, where: args.input, + include: { + feedbacks: true, + }, }); }, }), @@ -147,6 +171,7 @@ export class ServiceSchema extends PothosSchema { }, resolve: async (query, root, args, ctx, info) => { return await this.prisma.service.create({ + ...query, data: args.input, }); }, diff --git a/src/generated/graphql.ts b/src/generated/graphql.ts deleted file mode 100644 index 40b9f1b..0000000 --- a/src/generated/graphql.ts +++ /dev/null @@ -1,481 +0,0 @@ -import { - GraphQLResolveInfo, - GraphQLScalarType, - GraphQLScalarTypeConfig, -} from 'graphql'; -export type Maybe = T | null; -export type InputMaybe = Maybe; -export type Exact = { - [K in keyof T]: T[K]; -}; -export type MakeOptional = Omit & { - [SubKey in K]?: Maybe; -}; -export type MakeMaybe = Omit & { - [SubKey in K]: Maybe; -}; -export type MakeEmpty< - T extends { [key: string]: unknown }, - K extends keyof T, -> = { [_ in K]?: never }; -export type Incremental = - | T - | { - [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; - }; -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: { input: string; output: string }; - String: { input: string; output: string }; - Boolean: { input: boolean; output: boolean }; - Int: { input: number; output: number }; - Float: { input: number; output: number }; - DateTime: { input: any; output: any }; -}; - -export type Center = { - __typename?: 'Center'; - id?: Maybe; - userId?: Maybe; -}; - -export type CenterStaff = { - __typename?: 'CenterStaff'; - centerId?: Maybe; - serviceId?: Maybe; - staffId?: Maybe; -}; - -export type ChatRoom = { - __typename?: 'ChatRoom'; - id?: Maybe; -}; - -export type Order = { - __typename?: 'Order'; - id?: Maybe; - userId?: Maybe; -}; - -export type Query = { - __typename?: 'Query'; - users?: Maybe>; -}; - -export type Service = { - __typename?: 'Service'; - id?: Maybe; - userId?: Maybe; -}; - -export type ServiceFeedback = { - __typename?: 'ServiceFeedback'; - id?: Maybe; - userId?: Maybe; -}; - -export type User = { - __typename?: 'User'; - CenterStaff?: Maybe; - Service?: Maybe>; - WorkshopSubscription?: Maybe>; - center?: Maybe
; - centerStaffChatRoom?: Maybe>; - createdAt?: Maybe; - customerChatRoom?: Maybe>; - documents?: Maybe>; - email?: Maybe; - id?: Maybe; - name?: Maybe; - order?: Maybe>; - phoneNumber?: Maybe; - role?: Maybe; - sendingMessage?: Maybe>; - serviceFeedbacks?: Maybe>; - updatedAt?: Maybe; -}; - -export type Workshop = { - __typename?: 'Workshop'; - id?: Maybe; -}; - -export type WorkshopSubscription = { - __typename?: 'WorkshopSubscription'; - user?: Maybe; - userId?: Maybe; - workshop?: Maybe; - workshopId?: Maybe; -}; - -export type Documents = { - __typename?: 'documents'; - id?: Maybe; - userId?: Maybe; -}; - -export type SendingMessage = { - __typename?: 'sendingMessage'; - id?: Maybe; - userId?: Maybe; -}; - -export type ResolverTypeWrapper = Promise | T; - -export type ResolverWithResolve = { - resolve: ResolverFn; -}; -export type Resolver = - | ResolverFn - | ResolverWithResolve; - -export type ResolverFn = ( - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => Promise | TResult; - -export type SubscriptionSubscribeFn = ( - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => AsyncIterable | Promise>; - -export type SubscriptionResolveFn = ( - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => TResult | Promise; - -export interface SubscriptionSubscriberObject< - TResult, - TKey extends string, - TParent, - TContext, - TArgs, -> { - subscribe: SubscriptionSubscribeFn< - { [key in TKey]: TResult }, - TParent, - TContext, - TArgs - >; - resolve?: SubscriptionResolveFn< - TResult, - { [key in TKey]: TResult }, - TContext, - TArgs - >; -} - -export interface SubscriptionResolverObject { - subscribe: SubscriptionSubscribeFn; - resolve: SubscriptionResolveFn; -} - -export type SubscriptionObject< - TResult, - TKey extends string, - TParent, - TContext, - TArgs, -> = - | SubscriptionSubscriberObject - | SubscriptionResolverObject; - -export type SubscriptionResolver< - TResult, - TKey extends string, - TParent = {}, - TContext = {}, - TArgs = {}, -> = - | (( - ...args: any[] - ) => SubscriptionObject) - | SubscriptionObject; - -export type TypeResolveFn = ( - parent: TParent, - context: TContext, - info: GraphQLResolveInfo, -) => Maybe | Promise>; - -export type IsTypeOfResolverFn = ( - obj: T, - context: TContext, - info: GraphQLResolveInfo, -) => boolean | Promise; - -export type NextResolverFn = () => Promise; - -export type DirectiveResolverFn< - TResult = {}, - TParent = {}, - TContext = {}, - TArgs = {}, -> = ( - next: NextResolverFn, - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => TResult | Promise; - -/** Mapping between all available schema types and the resolvers types */ -export type ResolversTypes = { - Boolean: ResolverTypeWrapper; - Center: ResolverTypeWrapper
; - CenterStaff: ResolverTypeWrapper; - ChatRoom: ResolverTypeWrapper; - DateTime: ResolverTypeWrapper; - Float: ResolverTypeWrapper; - ID: ResolverTypeWrapper; - Int: ResolverTypeWrapper; - Order: ResolverTypeWrapper; - Query: ResolverTypeWrapper<{}>; - Service: ResolverTypeWrapper; - ServiceFeedback: ResolverTypeWrapper; - String: ResolverTypeWrapper; - User: ResolverTypeWrapper; - Workshop: ResolverTypeWrapper; - WorkshopSubscription: ResolverTypeWrapper; - documents: ResolverTypeWrapper; - sendingMessage: ResolverTypeWrapper; -}; - -/** Mapping between all available schema types and the resolvers parents */ -export type ResolversParentTypes = { - Boolean: Scalars['Boolean']['output']; - Center: Center; - CenterStaff: CenterStaff; - ChatRoom: ChatRoom; - DateTime: Scalars['DateTime']['output']; - Float: Scalars['Float']['output']; - ID: Scalars['ID']['output']; - Int: Scalars['Int']['output']; - Order: Order; - Query: {}; - Service: Service; - ServiceFeedback: ServiceFeedback; - String: Scalars['String']['output']; - User: User; - Workshop: Workshop; - WorkshopSubscription: WorkshopSubscription; - documents: Documents; - sendingMessage: SendingMessage; -}; - -export type CenterResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['Center'] = ResolversParentTypes['Center'], -> = { - id?: Resolver, ParentType, ContextType>; - userId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type CenterStaffResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['CenterStaff'] = ResolversParentTypes['CenterStaff'], -> = { - centerId?: Resolver, ParentType, ContextType>; - serviceId?: Resolver, ParentType, ContextType>; - staffId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type ChatRoomResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['ChatRoom'] = ResolversParentTypes['ChatRoom'], -> = { - id?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export interface DateTimeScalarConfig - extends GraphQLScalarTypeConfig { - name: 'DateTime'; -} - -export type OrderResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['Order'] = ResolversParentTypes['Order'], -> = { - id?: Resolver, ParentType, ContextType>; - userId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type QueryResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['Query'] = ResolversParentTypes['Query'], -> = { - users?: Resolver< - Maybe>, - ParentType, - ContextType - >; -}; - -export type ServiceResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['Service'] = ResolversParentTypes['Service'], -> = { - id?: Resolver, ParentType, ContextType>; - userId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type ServiceFeedbackResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['ServiceFeedback'] = ResolversParentTypes['ServiceFeedback'], -> = { - id?: Resolver, ParentType, ContextType>; - userId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type UserResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['User'] = ResolversParentTypes['User'], -> = { - CenterStaff?: Resolver< - Maybe, - ParentType, - ContextType - >; - Service?: Resolver< - Maybe>, - ParentType, - ContextType - >; - WorkshopSubscription?: Resolver< - Maybe>, - ParentType, - ContextType - >; - center?: Resolver, ParentType, ContextType>; - centerStaffChatRoom?: Resolver< - Maybe>, - ParentType, - ContextType - >; - createdAt?: Resolver< - Maybe, - ParentType, - ContextType - >; - customerChatRoom?: Resolver< - Maybe>, - ParentType, - ContextType - >; - documents?: Resolver< - Maybe>, - ParentType, - ContextType - >; - email?: Resolver, ParentType, ContextType>; - id?: Resolver, ParentType, ContextType>; - name?: Resolver, ParentType, ContextType>; - order?: Resolver< - Maybe>, - ParentType, - ContextType - >; - phoneNumber?: Resolver< - Maybe, - ParentType, - ContextType - >; - role?: Resolver, ParentType, ContextType>; - sendingMessage?: Resolver< - Maybe>, - ParentType, - ContextType - >; - serviceFeedbacks?: Resolver< - Maybe>, - ParentType, - ContextType - >; - updatedAt?: Resolver< - Maybe, - ParentType, - ContextType - >; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type WorkshopResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['Workshop'] = ResolversParentTypes['Workshop'], -> = { - id?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type WorkshopSubscriptionResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['WorkshopSubscription'] = ResolversParentTypes['WorkshopSubscription'], -> = { - user?: Resolver, ParentType, ContextType>; - userId?: Resolver, ParentType, ContextType>; - workshop?: Resolver< - Maybe, - ParentType, - ContextType - >; - workshopId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type DocumentsResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['documents'] = ResolversParentTypes['documents'], -> = { - id?: Resolver, ParentType, ContextType>; - userId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type SendingMessageResolvers< - ContextType = any, - ParentType extends - ResolversParentTypes['sendingMessage'] = ResolversParentTypes['sendingMessage'], -> = { - id?: Resolver, ParentType, ContextType>; - userId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type Resolvers = { - Center?: CenterResolvers; - CenterStaff?: CenterStaffResolvers; - ChatRoom?: ChatRoomResolvers; - DateTime?: GraphQLScalarType; - Order?: OrderResolvers; - Query?: QueryResolvers; - Service?: ServiceResolvers; - ServiceFeedback?: ServiceFeedbackResolvers; - User?: UserResolvers; - Workshop?: WorkshopResolvers; - WorkshopSubscription?: WorkshopSubscriptionResolvers; - documents?: DocumentsResolvers; - sendingMessage?: SendingMessageResolvers; -}; diff --git a/src/types/pothos.generated.ts b/src/types/pothos.generated.ts index 0504a51..b98d10d 100644 --- a/src/types/pothos.generated.ts +++ b/src/types/pothos.generated.ts @@ -758,4 +758,4 @@ export default interface PrismaTypes { }; }; } -export function getDatamodel(): PothosPrismaDatamodel { return JSON.parse("{\"datamodel\":{\"models\":{\"User\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"email\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"phoneNumber\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bankBin\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bankAccountNumber\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Role\",\"kind\":\"enum\",\"name\":\"role\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"orders\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ServiceFeedback\",\"kind\":\"object\",\"name\":\"serviceFeedbacks\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceFeedbackToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"files\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Message\",\"kind\":\"object\",\"name\":\"sendingMessage\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MessageToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"Service\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"customerChatRoom\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCustomer\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"centerStaffChatRoom\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCenterStaff\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"CenterStaff\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"WorkshopSubscription\",\"kind\":\"object\",\"name\":\"WorkshopSubscription\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UserToWorkshopSubscription\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Center\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerOwnerId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bank\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bankAccountNumber\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"logoUrl\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"logoFile\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUploadedFile\",\"relationFromFields\":[\"uploadedFileId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"location\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Boolean\",\"kind\":\"scalar\",\"name\":\"individual\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"services\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"centerOwner\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUser\",\"relationFromFields\":[\"centerOwnerId\"],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"chatRoom\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToChatRoom\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"CenterStaff\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToCenterStaff\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Resume\",\"kind\":\"object\",\"name\":\"Resume\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToResume\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStatus\",\"kind\":\"enum\",\"name\":\"centerStatus\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"uploadedFileId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"CenterStaff\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"staffId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"staff\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToUser\",\"relationFromFields\":[\"staffId\"],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToCenterStaff\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"createdWorkshop\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToWorkshop\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ManagedService\",\"kind\":\"object\",\"name\":\"ManagedService\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToManagedService\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"staffId\",\"centerId\"]},\"uniqueIndexes\":[]},\"ManagedService\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"staffId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"staff\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToManagedService\",\"relationFromFields\":[\"staffId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ManagedServiceToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"staffId\",\"serviceId\"]},\"uniqueIndexes\":[]},\"Service\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"price\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"rating\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"imageFile\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUploadedFile\",\"relationFromFields\":[\"imageFileId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileUrl\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"ServiceFeedback\",\"kind\":\"object\",\"name\":\"feedbacks\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceFeedback\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"order\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToService\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshop\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Milestone\",\"kind\":\"object\",\"name\":\"milestone\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MilestoneToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Schedule\",\"kind\":\"object\",\"name\":\"schedule\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ServiceAndCategory\",\"kind\":\"object\",\"name\":\"serviceAndCategory\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceAndCategory\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"WorkshopOrganization\",\"kind\":\"object\",\"name\":\"workshopOrganization\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshopOrganization\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"ManagedService\",\"kind\":\"object\",\"name\":\"ManagedService\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ManagedServiceToService\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ServiceAndCategory\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceAndCategory\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"SubCategory\",\"kind\":\"object\",\"name\":\"SubCategory\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceAndCategoryToSubCategory\",\"relationFromFields\":[\"subCategoryId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"subCategoryId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"serviceId\",\"subCategoryId\"]},\"uniqueIndexes\":[]},\"Category\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"SubCategory\",\"kind\":\"object\",\"name\":\"SubCategory\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CategoryToSubCategory\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"SubCategory\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"categoryId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Category\",\"kind\":\"object\",\"name\":\"category\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CategoryToSubCategory\",\"relationFromFields\":[\"categoryId\"],\"isUpdatedAt\":false},{\"type\":\"ServiceAndCategory\",\"kind\":\"object\",\"name\":\"serviceAndCategory\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceAndCategoryToSubCategory\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ServiceFeedback\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"rating\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"comments\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceFeedbackToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceFeedback\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Milestone\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Int\",\"kind\":\"scalar\",\"name\":\"milestoneOrder\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MilestoneToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Schedule\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"ScheduleStart\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"ScheduleEnd\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"ScheduleDate\",\"kind\":\"object\",\"name\":\"dates\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToScheduleDate\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ScheduleStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ScheduleDate\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"scheduleId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"start\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"end\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Schedule\",\"kind\":\"object\",\"name\":\"Schedule\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToScheduleDate\",\"relationFromFields\":[\"scheduleId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ChatRoom\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"ChatRoomType\",\"kind\":\"enum\",\"name\":\"type\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"customerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerStaffId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Message\",\"kind\":\"object\",\"name\":\"message\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToMessage\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"customer\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCustomer\",\"relationFromFields\":[\"customerId\"],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToChatRoom\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"centerStaff\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCenterStaff\",\"relationFromFields\":[\"centerStaffId\"],\"isUpdatedAt\":false},{\"type\":\"ServiceMeetingRoom\",\"kind\":\"object\",\"name\":\"meetingRoom\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToServiceMeetingRoom\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Message\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"senderId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"chatRoomId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Json\",\"kind\":\"scalar\",\"name\":\"message\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"sentAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"sender\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MessageToUser\",\"relationFromFields\":[\"senderId\"],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"chatRoom\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToMessage\",\"relationFromFields\":[\"chatRoomId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Order\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"OrderStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Int\",\"kind\":\"scalar\",\"name\":\"total\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"RefundTicket\",\"kind\":\"object\",\"name\":\"refundTicket\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToRefundTicket\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Payment\",\"kind\":\"object\",\"name\":\"Payment\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToPayment\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"paymentId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"RefundTicket\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"orderId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"amount\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"PaymentStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"order\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToRefundTicket\",\"relationFromFields\":[\"orderId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Payment\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"amount\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"PaymentStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"orderId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"Order\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToPayment\",\"relationFromFields\":[\"orderId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Workshop\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"title\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"staffId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"imageFile\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToWorkshop\",\"relationFromFields\":[\"imageFileId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileUrl\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"date\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshop\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"WorkshopOrganization\",\"kind\":\"object\",\"name\":\"organization\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopOrganization\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"WorkshopSubscription\",\"kind\":\"object\",\"name\":\"subscription\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopSubscription\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"staff\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToWorkshop\",\"relationFromFields\":[\"staffId\"],\"isUpdatedAt\":false},{\"type\":\"WorkshopMeetingRoom\",\"kind\":\"object\",\"name\":\"WorkshopMeetingRoom\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopMeetingRoom\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"WorkshopSubscription\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"workshopId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UserToWorkshopSubscription\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopSubscription\",\"relationFromFields\":[\"workshopId\"],\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"userId\",\"workshopId\"]},\"uniqueIndexes\":[]},\"WorkshopOrganization\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"workshopId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopOrganization\",\"relationFromFields\":[\"workshopId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshopOrganization\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"workshopId\",\"serviceId\"]}]},\"UploadedFile\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"actualFileName\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"fileName\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"type\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"fileUrl\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFileType\",\"kind\":\"enum\",\"name\":\"fileType\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"uploadedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"Center\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUploadedFile\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"Service\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUploadedFile\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"Workshop\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToWorkshop\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ResumeFile\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"resumeId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"fileUrl\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"type\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"actualFileName\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Resume\",\"kind\":\"object\",\"name\":\"resume\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ResumeToResumeFile\",\"relationFromFields\":[\"resumeId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Resume\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"ResumeStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToResume\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"ResumeFile\",\"kind\":\"object\",\"name\":\"ResumeFile\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ResumeToResumeFile\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"userId\",\"centerId\"]}]},\"ServiceMeetingRoom\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"chattingRoomId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"chattingRoom\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToServiceMeetingRoom\",\"relationFromFields\":[\"chattingRoomId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"WorkshopMeetingRoom\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"workshopId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopMeetingRoom\",\"relationFromFields\":[\"workshopId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]}}}}"); } \ No newline at end of file +export function getDatamodel(): PothosPrismaDatamodel { return JSON.parse("{\"datamodel\":{\"models\":{\"User\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"email\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"phoneNumber\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bankBin\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bankAccountNumber\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Role\",\"kind\":\"enum\",\"name\":\"role\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"orders\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ServiceFeedback\",\"kind\":\"object\",\"name\":\"serviceFeedbacks\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceFeedbackToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"files\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Message\",\"kind\":\"object\",\"name\":\"sendingMessage\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MessageToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"Service\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"customerChatRoom\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCustomer\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"centerStaffChatRoom\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCenterStaff\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"CenterStaff\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToUser\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"WorkshopSubscription\",\"kind\":\"object\",\"name\":\"WorkshopSubscription\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UserToWorkshopSubscription\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Center\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerOwnerId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bank\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"bankAccountNumber\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"logoUrl\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"logoFile\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUploadedFile\",\"relationFromFields\":[\"uploadedFileId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"location\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Boolean\",\"kind\":\"scalar\",\"name\":\"individual\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"services\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"centerOwner\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUser\",\"relationFromFields\":[\"centerOwnerId\"],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"chatRoom\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToChatRoom\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"CenterStaff\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToCenterStaff\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Resume\",\"kind\":\"object\",\"name\":\"Resume\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToResume\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStatus\",\"kind\":\"enum\",\"name\":\"centerStatus\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"uploadedFileId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"CenterStaff\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"staffId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"staff\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToUser\",\"relationFromFields\":[\"staffId\"],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToCenterStaff\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"createdWorkshop\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToWorkshop\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ManagedService\",\"kind\":\"object\",\"name\":\"ManagedService\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToManagedService\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"staffId\",\"centerId\"]},\"uniqueIndexes\":[]},\"ManagedService\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"staffId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"staff\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToManagedService\",\"relationFromFields\":[\"staffId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ManagedServiceToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":\"ManagedServiceId\",\"fields\":[\"staffId\",\"serviceId\"]},\"uniqueIndexes\":[]},\"Service\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"price\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"rating\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"imageFile\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUploadedFile\",\"relationFromFields\":[\"imageFileId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileUrl\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"ServiceFeedback\",\"kind\":\"object\",\"name\":\"feedbacks\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceFeedback\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"order\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToService\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshop\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Milestone\",\"kind\":\"object\",\"name\":\"milestone\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MilestoneToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Schedule\",\"kind\":\"object\",\"name\":\"schedule\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToService\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ServiceAndCategory\",\"kind\":\"object\",\"name\":\"serviceAndCategory\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceAndCategory\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"WorkshopOrganization\",\"kind\":\"object\",\"name\":\"workshopOrganization\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshopOrganization\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"ManagedService\",\"kind\":\"object\",\"name\":\"ManagedService\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ManagedServiceToService\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ServiceAndCategory\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceAndCategory\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"SubCategory\",\"kind\":\"object\",\"name\":\"SubCategory\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceAndCategoryToSubCategory\",\"relationFromFields\":[\"subCategoryId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"subCategoryId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"serviceId\",\"subCategoryId\"]},\"uniqueIndexes\":[]},\"Category\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"SubCategory\",\"kind\":\"object\",\"name\":\"SubCategory\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CategoryToSubCategory\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"SubCategory\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"categoryId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Category\",\"kind\":\"object\",\"name\":\"category\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CategoryToSubCategory\",\"relationFromFields\":[\"categoryId\"],\"isUpdatedAt\":false},{\"type\":\"ServiceAndCategory\",\"kind\":\"object\",\"name\":\"serviceAndCategory\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceAndCategoryToSubCategory\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ServiceFeedback\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"rating\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"comments\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceFeedbackToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToServiceFeedback\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Milestone\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"name\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Int\",\"kind\":\"scalar\",\"name\":\"milestoneOrder\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MilestoneToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Schedule\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"ScheduleStart\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"ScheduleEnd\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"ScheduleDate\",\"kind\":\"object\",\"name\":\"dates\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToScheduleDate\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"ScheduleStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ScheduleDate\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"scheduleId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"start\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"end\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Schedule\",\"kind\":\"object\",\"name\":\"Schedule\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ScheduleToScheduleDate\",\"relationFromFields\":[\"scheduleId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ChatRoom\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"ChatRoomType\",\"kind\":\"enum\",\"name\":\"type\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"customerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerStaffId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Message\",\"kind\":\"object\",\"name\":\"message\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToMessage\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"customer\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCustomer\",\"relationFromFields\":[\"customerId\"],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToChatRoom\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"centerStaff\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToCenterStaff\",\"relationFromFields\":[\"centerStaffId\"],\"isUpdatedAt\":false},{\"type\":\"ServiceMeetingRoom\",\"kind\":\"object\",\"name\":\"meetingRoom\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToServiceMeetingRoom\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Message\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"senderId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"chatRoomId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Json\",\"kind\":\"scalar\",\"name\":\"message\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"sentAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"sender\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"MessageToUser\",\"relationFromFields\":[\"senderId\"],\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"chatRoom\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToMessage\",\"relationFromFields\":[\"chatRoomId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Order\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"OrderStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Int\",\"kind\":\"scalar\",\"name\":\"total\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToService\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"RefundTicket\",\"kind\":\"object\",\"name\":\"refundTicket\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToRefundTicket\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Payment\",\"kind\":\"object\",\"name\":\"Payment\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToPayment\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"paymentId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"RefundTicket\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"orderId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"amount\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"PaymentStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"order\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToRefundTicket\",\"relationFromFields\":[\"orderId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Payment\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"Float\",\"kind\":\"scalar\",\"name\":\"amount\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"PaymentStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"orderId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Order\",\"kind\":\"object\",\"name\":\"Order\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"OrderToPayment\",\"relationFromFields\":[\"orderId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Workshop\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"title\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"description\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"staffId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFile\",\"kind\":\"object\",\"name\":\"imageFile\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToWorkshop\",\"relationFromFields\":[\"imageFileId\"],\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"imageFileUrl\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"date\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshop\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"WorkshopOrganization\",\"kind\":\"object\",\"name\":\"organization\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopOrganization\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"WorkshopSubscription\",\"kind\":\"object\",\"name\":\"subscription\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopSubscription\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"CenterStaff\",\"kind\":\"object\",\"name\":\"staff\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterStaffToWorkshop\",\"relationFromFields\":[\"staffId\"],\"isUpdatedAt\":false},{\"type\":\"WorkshopMeetingRoom\",\"kind\":\"object\",\"name\":\"WorkshopMeetingRoom\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopMeetingRoom\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"WorkshopSubscription\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"workshopId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UserToWorkshopSubscription\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopSubscription\",\"relationFromFields\":[\"workshopId\"],\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"userId\",\"workshopId\"]},\"uniqueIndexes\":[]},\"WorkshopOrganization\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"workshopId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"serviceId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopOrganization\",\"relationFromFields\":[\"workshopId\"],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"service\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToWorkshopOrganization\",\"relationFromFields\":[\"serviceId\"],\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"workshopId\",\"serviceId\"]}]},\"UploadedFile\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"actualFileName\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"fileName\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"type\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"fileUrl\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"UploadedFileType\",\"kind\":\"enum\",\"name\":\"fileType\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"uploadedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"User\",\"kind\":\"object\",\"name\":\"user\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToUser\",\"relationFromFields\":[\"userId\"],\"isUpdatedAt\":false},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"Center\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToUploadedFile\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Service\",\"kind\":\"object\",\"name\":\"Service\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ServiceToUploadedFile\",\"relationFromFields\":[],\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"Workshop\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"UploadedFileToWorkshop\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"ResumeFile\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"resumeId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"fileUrl\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"type\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"actualFileName\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Resume\",\"kind\":\"object\",\"name\":\"resume\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ResumeToResumeFile\",\"relationFromFields\":[\"resumeId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"Resume\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"userId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"centerId\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"ResumeStatus\",\"kind\":\"enum\",\"name\":\"status\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"createdAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"DateTime\",\"kind\":\"scalar\",\"name\":\"updatedAt\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"isUpdatedAt\":true},{\"type\":\"Center\",\"kind\":\"object\",\"name\":\"center\",\"isRequired\":false,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"CenterToResume\",\"relationFromFields\":[\"centerId\"],\"isUpdatedAt\":false},{\"type\":\"ResumeFile\",\"kind\":\"object\",\"name\":\"ResumeFile\",\"isRequired\":true,\"isList\":true,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ResumeToResumeFile\",\"relationFromFields\":[],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"userId\",\"centerId\"]}]},\"ServiceMeetingRoom\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"chattingRoomId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"ChatRoom\",\"kind\":\"object\",\"name\":\"chattingRoom\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"ChatRoomToServiceMeetingRoom\",\"relationFromFields\":[\"chattingRoomId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]},\"WorkshopMeetingRoom\":{\"fields\":[{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"id\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":true,\"isUnique\":false,\"isId\":true,\"isUpdatedAt\":false},{\"type\":\"String\",\"kind\":\"scalar\",\"name\":\"workshopId\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":true,\"isId\":false,\"isUpdatedAt\":false},{\"type\":\"Workshop\",\"kind\":\"object\",\"name\":\"workshop\",\"isRequired\":true,\"isList\":false,\"hasDefaultValue\":false,\"isUnique\":false,\"isId\":false,\"relationName\":\"WorkshopToWorkshopMeetingRoom\",\"relationFromFields\":[\"workshopId\"],\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueIndexes\":[]}}}}"); } \ No newline at end of file