diff --git a/.graphqlconfig.yml b/.graphqlconfig.yml new file mode 100644 index 000000000..ebd8b8e08 --- /dev/null +++ b/.graphqlconfig.yml @@ -0,0 +1,20 @@ +projects: + chatbot: + schemaPath: lib/chatbot-api/schema/schema.graphql + includes: + - lib/user-interface/react-app/src/graphql/*.ts + excludes: + - ./amplify/** + extensions: + amplify: + codeGenTarget: typescript + generatedFileName: lib/user-interface/react-app/src/API.ts + docsFilePath: lib/user-interface/react-app/src/graphql/ #The field is not configured correctly and needs to be changed + region: us-east-1 + apiId: null + frontend: javascript + framework: react + maxDepth: 2 +extensions: + amplify: + version: 3 diff --git a/lib/user-interface/react-app/schema.json b/lib/user-interface/react-app/schema.json deleted file mode 100644 index 76e29abd8..000000000 --- a/lib/user-interface/react-app/schema.json +++ /dev/null @@ -1,4557 +0,0 @@ -{ - "data" : { - "__schema" : { - "queryType" : { - "name" : "Query" - }, - "mutationType" : { - "name" : "Mutation" - }, - "subscriptionType" : { - "name" : "Subscription" - }, - "types" : [ { - "kind" : "OBJECT", - "name" : "Query", - "description" : null, - "fields" : [ { - "name" : "checkHealth", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "getUploadFileURL", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "FileUploadInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "FileUploadResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listModels", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Model", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listWorkspaces", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Workspace", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "getWorkspace", - "description" : null, - "args" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "Workspace", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listRagEngines", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "RagEngine", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "performSemanticSearch", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "SemanticSearchInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "SemanticSearchResult", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listSessions", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Session", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listEmbeddingModels", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "EmbeddingModel", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "calculateEmbeddings", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "CalculateEmbeddingsInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Embedding", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "getSession", - "description" : null, - "args" : [ { - "name" : "id", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "Session", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listKendraIndexes", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "KendraIndex", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "isKendraDataSynching", - "description" : null, - "args" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listDocuments", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "ListDocumentsInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "DocumentsResult", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "getDocument", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "GetDocumentInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "Document", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "getRSSPosts", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "GetRSSPostsInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DocumentsResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "listCrossEncoders", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "CrossEncoderData", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "rankPassages", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "RankPassagesInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "PassageRank", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "SCALAR", - "name" : "Boolean", - "description" : "Built-in Boolean", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "FileUploadResult", - "description" : null, - "fields" : [ { - "name" : "url", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "fields", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "SCALAR", - "name" : "String", - "description" : "Built-in String", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "FileUploadInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "fileName", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Model", - "description" : null, - "fields" : [ { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "provider", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "interface", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "ragSupported", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "inputModalities", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "outputModalities", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "streaming", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Workspace", - "description" : null, - "fields" : [ { - "name" : "id", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "formatVersion", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "engine", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "status", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "aossEngine", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "languages", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "hasIndex", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "embeddingsModelProvider", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "embeddingsModelName", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "embeddingsModelDimensions", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "crossEncoderModelName", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "crossEncoderModelProvider", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "metric", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "index", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "hybridSearch", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "chunkingStrategy", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "chunkSize", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "chunkOverlap", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "vectors", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "documents", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "sizeInBytes", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "kendraIndexId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "kendraIndexExternal", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "kendraUseAllData", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "createdAt", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "AWSDateTime", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "updatedAt", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "AWSDateTime", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "SCALAR", - "name" : "Int", - "description" : "Built-in Int", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "SCALAR", - "name" : "AWSDateTime", - "description" : "The `AWSDateTime` scalar type provided by AWS AppSync, represents a valid ***extended*** [ISO 8601 DateTime](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) string. In other words, this scalar type accepts datetime strings of the form `YYYY-MM-DDThh:mm:ss.SSSZ`. The scalar can also accept \"negative years\" of the form `-YYYY` which correspond to years before `0000`. For example, \"**-2017-01-01T00:00Z**\" and \"**-9999-01-01T00:00Z**\" are both valid datetime strings. The field after the two digit seconds field is a nanoseconds field. It can accept between 1 and 9 digits. So, for example, \"**1970-01-01T12:00:00.2Z**\", \"**1970-01-01T12:00:00.277Z**\" and \"**1970-01-01T12:00:00.123456789Z**\" are all valid datetime strings. The seconds and nanoseconds fields are optional (the seconds field must be specified if the nanoseconds field is to be used). The [time zone offset](https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators) is compulsory for this scalar. The time zone offset must either be `Z` (representing the UTC time zone) or be in the format `±hh:mm:ss`. The seconds field in the timezone offset will be considered valid even though it is not part of the ISO 8601 standard.", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "RagEngine", - "description" : null, - "fields" : [ { - "name" : "id", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "enabled", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "SemanticSearchResult", - "description" : null, - "fields" : [ { - "name" : "engine", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "workspaceId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "queryLanguage", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "supportedLanguages", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "detectedLanguages", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "DetectedLanguage", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "items", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "SemanticSearchItem", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "vectorSearchMetric", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "vectorSearchItems", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "SemanticSearchItem", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "keywordSearchItems", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "SemanticSearchItem", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "DetectedLanguage", - "description" : null, - "fields" : [ { - "name" : "code", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "score", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Float", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "SCALAR", - "name" : "Float", - "description" : "Built-in Float", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "SemanticSearchItem", - "description" : null, - "fields" : [ { - "name" : "sources", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "chunkId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "workspaceId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "ID", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "documentId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "documentSubId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "documentSubType", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "documentType", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "path", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "language", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "title", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "content", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "contentComplement", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "vectorSearchScore", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Float", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "keywordSearchScore", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Float", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "score", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Float", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "SCALAR", - "name" : "ID", - "description" : "Built-in ID", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "SemanticSearchInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "query", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Session", - "description" : null, - "fields" : [ { - "name" : "id", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "title", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "startTime", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "AWSDateTime", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "history", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "SessionHistoryItem", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "SessionHistoryItem", - "description" : null, - "fields" : [ { - "name" : "type", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "content", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "metadata", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "EmbeddingModel", - "description" : null, - "fields" : [ { - "name" : "provider", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "dimensions", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "default", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Embedding", - "description" : null, - "fields" : [ { - "name" : "passage", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "vector", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Float", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "CalculateEmbeddingsInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "provider", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "model", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "passages", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "KendraIndex", - "description" : null, - "fields" : [ { - "name" : "id", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "external", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "DocumentsResult", - "description" : null, - "fields" : [ { - "name" : "items", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Document", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "lastDocumentId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Document", - "description" : null, - "fields" : [ { - "name" : "workspaceId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "id", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "type", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "subType", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "status", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "title", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "path", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "sizeInBytes", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "vectors", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "subDocuments", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "crawlerProperties", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "OBJECT", - "name" : "CrawlerProperties", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "errors", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "createdAt", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "AWSDateTime", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "updatedAt", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "AWSDateTime", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "rssFeedId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "rssLastCheckedAt", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "AWSDateTime", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "CrawlerProperties", - "description" : null, - "fields" : [ { - "name" : "followLinks", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "limit", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "ListDocumentsInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "documentType", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "lastDocumentId", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "GetDocumentInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "documentId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "GetRSSPostsInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "documentId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "lastDocumentId", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "CrossEncoderData", - "description" : null, - "fields" : [ { - "name" : "provider", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "default", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "PassageRank", - "description" : null, - "fields" : [ { - "name" : "score", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Float", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "passage", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "RankPassagesInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "provider", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "model", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "reference", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "passages", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Mutation", - "description" : null, - "fields" : [ { - "name" : "createKendraWorkspace", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "CreateWorkspaceKendraInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Workspace", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "createOpenSearchWorkspace", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "CreateWorkspaceOpenSearchInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Workspace", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "createAuroraWorkspace", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "CreateWorkspaceAuroraInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "Workspace", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "startKendraDataSync", - "description" : null, - "args" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "deleteWorkspace", - "description" : null, - "args" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "addTextDocument", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "TextDocumentInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DocumentResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "addQnADocument", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "QnADocumentInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DocumentResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "setDocumentSubscriptionStatus", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "DocumentSubscriptionStatusInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DocumentResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "addWebsite", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "WebsiteInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DocumentResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "addRssFeed", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "RssFeedInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DocumentResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "updateRssFeed", - "description" : null, - "args" : [ { - "name" : "input", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "INPUT_OBJECT", - "name" : "RssFeedInput", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DocumentResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "deleteUserSessions", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "DeleteSessionResult", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "deleteSession", - "description" : null, - "args" : [ { - "name" : "id", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "DeleteSessionResult", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "sendQuery", - "description" : " Real-time", - "args" : [ { - "name" : "data", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "publishResponse", - "description" : null, - "args" : [ { - "name" : "sessionId", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - }, { - "name" : "userId", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - }, { - "name" : "data", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "Channel", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "CreateWorkspaceKendraInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "name", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "kind", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "kendraIndexId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "useAllData", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "CreateWorkspaceOpenSearchInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "name", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "kind", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "embeddingsModelProvider", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "embeddingsModelName", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "crossEncoderModelProvider", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "crossEncoderModelName", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "languages", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - } - }, - "defaultValue" : null - }, { - "name" : "hybridSearch", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "chunkingStrategy", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "chunkSize", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "chunkOverlap", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "CreateWorkspaceAuroraInput", - "description" : " Workspaces", - "fields" : null, - "inputFields" : [ { - "name" : "name", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "kind", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "embeddingsModelProvider", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "embeddingsModelName", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "crossEncoderModelProvider", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "crossEncoderModelName", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "languages", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - } - } - }, - "defaultValue" : null - }, { - "name" : "metric", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "index", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "hybridSearch", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "chunkingStrategy", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "chunkSize", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "chunkOverlap", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "DocumentResult", - "description" : null, - "fields" : [ { - "name" : "workspaceId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "documentId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "status", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "TextDocumentInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "title", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "content", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "QnADocumentInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "question", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "answer", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "DocumentSubscriptionStatusInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "documentId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "status", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "WebsiteInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "sitemap", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "address", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "followLinks", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "limit", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "INPUT_OBJECT", - "name" : "RssFeedInput", - "description" : null, - "fields" : null, - "inputFields" : [ { - "name" : "workspaceId", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "address", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "limit", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Int", - "ofType" : null - } - }, - "defaultValue" : null - }, { - "name" : "title", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - }, { - "name" : "followLinks", - "description" : null, - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "interfaces" : null, - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "DeleteSessionResult", - "description" : null, - "fields" : [ { - "name" : "id", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "deleted", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Channel", - "description" : null, - "fields" : [ { - "name" : "data", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "sessionId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "userId", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "Subscription", - "description" : null, - "fields" : [ { - "name" : "receiveMessages", - "description" : null, - "args" : [ { - "name" : "sessionId", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : null - } ], - "type" : { - "kind" : "OBJECT", - "name" : "Channel", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "__Schema", - "description" : "A GraphQL Introspection defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, the entry points for query, mutation, and subscription operations.", - "fields" : [ { - "name" : "types", - "description" : "A list of all types supported by this server.", - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "queryType", - "description" : "The type that query operations will be rooted at.", - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "mutationType", - "description" : "If this server supports mutation, the type that mutation operations will be rooted at.", - "args" : [ ], - "type" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "directives", - "description" : "'A list of all directives supported by this server.", - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Directive", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "subscriptionType", - "description" : "'If this server support subscription, the type that subscription operations will be rooted at.", - "args" : [ ], - "type" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "__Type", - "description" : null, - "fields" : [ { - "name" : "kind", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "ENUM", - "name" : "__TypeKind", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "description", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "fields", - "description" : null, - "args" : [ { - "name" : "includeDeprecated", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "defaultValue" : "false" - } ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Field", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "interfaces", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "possibleTypes", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "enumValues", - "description" : null, - "args" : [ { - "name" : "includeDeprecated", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "defaultValue" : "false" - } ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__EnumValue", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "inputFields", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__InputValue", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "ofType", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "ENUM", - "name" : "__TypeKind", - "description" : "An enum describing what kind of type a given __Type is", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : [ { - "name" : "SCALAR", - "description" : "Indicates this type is a scalar.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "OBJECT", - "description" : "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "INTERFACE", - "description" : "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "UNION", - "description" : "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "ENUM", - "description" : "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "INPUT_OBJECT", - "description" : "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "LIST", - "description" : "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "NON_NULL", - "description" : "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated" : false, - "deprecationReason" : null - } ], - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "__Field", - "description" : null, - "fields" : [ { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "description", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "args", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__InputValue", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "type", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "isDeprecated", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "deprecationReason", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "__InputValue", - "description" : null, - "fields" : [ { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "description", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "type", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__Type", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "defaultValue", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "__EnumValue", - "description" : null, - "fields" : [ { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "description", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "isDeprecated", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "deprecationReason", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "__Directive", - "description" : null, - "fields" : [ { - "name" : "name", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "description", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "locations", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "ENUM", - "name" : "__DirectiveLocation", - "ofType" : null - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "args", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "OBJECT", - "name" : "__InputValue", - "ofType" : null - } - } - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "onOperation", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : true, - "deprecationReason" : "Use `locations`." - }, { - "name" : "onFragment", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : true, - "deprecationReason" : "Use `locations`." - }, { - "name" : "onField", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - }, - "isDeprecated" : true, - "deprecationReason" : "Use `locations`." - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null - }, { - "kind" : "ENUM", - "name" : "__DirectiveLocation", - "description" : "An enum describing valid locations where a directive can be placed", - "fields" : null, - "inputFields" : null, - "interfaces" : null, - "enumValues" : [ { - "name" : "QUERY", - "description" : "Indicates the directive is valid on queries.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "MUTATION", - "description" : "Indicates the directive is valid on mutations.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "FIELD", - "description" : "Indicates the directive is valid on fields.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "FRAGMENT_DEFINITION", - "description" : "Indicates the directive is valid on fragment definitions.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "FRAGMENT_SPREAD", - "description" : "Indicates the directive is valid on fragment spreads.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "INLINE_FRAGMENT", - "description" : "Indicates the directive is valid on inline fragments.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "SCHEMA", - "description" : "Indicates the directive is valid on a schema SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "SCALAR", - "description" : "Indicates the directive is valid on a scalar SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "OBJECT", - "description" : "Indicates the directive is valid on an object SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "FIELD_DEFINITION", - "description" : "Indicates the directive is valid on a field SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "ARGUMENT_DEFINITION", - "description" : "Indicates the directive is valid on a field argument SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "INTERFACE", - "description" : "Indicates the directive is valid on an interface SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "UNION", - "description" : "Indicates the directive is valid on an union SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "ENUM", - "description" : "Indicates the directive is valid on an enum SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "ENUM_VALUE", - "description" : "Indicates the directive is valid on an enum value SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "INPUT_OBJECT", - "description" : "Indicates the directive is valid on an input object SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "INPUT_FIELD_DEFINITION", - "description" : "Indicates the directive is valid on an input object field SDL definition.", - "isDeprecated" : false, - "deprecationReason" : null - } ], - "possibleTypes" : null - } ], - "directives" : [ { - "name" : "include", - "description" : "Directs the executor to include this field or fragment only when the `if` argument is true", - "locations" : [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], - "args" : [ { - "name" : "if", - "description" : "Included when true.", - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : true, - "onField" : true - }, { - "name" : "skip", - "description" : "Directs the executor to skip this field or fragment when the `if`'argument is true.", - "locations" : [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], - "args" : [ { - "name" : "if", - "description" : "Skipped when true.", - "type" : { - "kind" : "NON_NULL", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "Boolean", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : true, - "onField" : true - }, { - "name" : "defer", - "description" : "This directive allows results to be deferred during execution", - "locations" : [ "FIELD" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : true - }, { - "name" : "aws_iam", - "description" : "Tells the service this field/object has access authorized by sigv4 signing.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_publish", - "description" : "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.", - "locations" : [ "FIELD_DEFINITION" ], - "args" : [ { - "name" : "subscriptions", - "description" : "List of subscriptions which will be published to when this mutation is called.", - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_oidc", - "description" : "Tells the service this field/object has access authorized by an OIDC token.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "deprecated", - "description" : null, - "locations" : [ "FIELD_DEFINITION", "ENUM_VALUE" ], - "args" : [ { - "name" : "reason", - "description" : null, - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "defaultValue" : "\"No longer supported\"" - } ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_cognito_user_pools", - "description" : "Tells the service this field/object has access authorized by a Cognito User Pools token.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ { - "name" : "cognito_groups", - "description" : "List of cognito user pool groups which have access on this field", - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_auth", - "description" : "Directs the schema to enforce authorization on a field", - "locations" : [ "FIELD_DEFINITION" ], - "args" : [ { - "name" : "cognito_groups", - "description" : "List of cognito user pool groups which have access on this field", - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_api_key", - "description" : "Tells the service this field/object has access authorized by an API key.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_lambda", - "description" : "Tells the service this field/object has access authorized by a Lambda Authorizer.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_subscribe", - "description" : "Tells the service which mutation triggers this subscription.", - "locations" : [ "FIELD_DEFINITION" ], - "args" : [ { - "name" : "mutations", - "description" : "List of mutations which will trigger this subscription when they are called.", - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - } ] - } - } -} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 305166515..693a9a844 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "aws-genai-llm-chatbot": "bin/aws-genai-llm-chatbot.js" }, "devDependencies": { + "@aws-amplify/cli": "^12.10.1", "@aws-lambda-powertools/batch": "^1.14.1", "@aws-lambda-powertools/logger": "^1.14.1", "@aws-sdk/credential-provider-node": "^3.441.0", @@ -227,6 +228,24 @@ "@algolia/requester-common": "4.20.0" } }, + "node_modules/@aws-amplify/cli": { + "version": "12.10.1", + "resolved": "https://registry.npmjs.org/@aws-amplify/cli/-/cli-12.10.1.tgz", + "integrity": "sha512-vwb4rU340V5ZLAykyffX9yuZqqYk14ta3Z6zqNvZVmb8QGKdt8uuhEyKRrG0rYx3JbiB4yFWp3qL31SqUBKX2Q==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "axios": "^1.6.2", + "rimraf": "^3.0.2", + "tar-stream": "^2.2.0" + }, + "bin": { + "amplify": "lib/run.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/@aws-cdk/asset-awscli-v1": { "version": "2.2.201", "resolved": "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.201.tgz", @@ -2590,6 +2609,12 @@ "node": ">=8" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true + }, "node_modules/aws-cdk": { "version": "2.114.1", "resolved": "https://registry.npmjs.org/aws-cdk/-/aws-cdk-2.114.1.tgz", @@ -2945,12 +2970,54 @@ "node": ">= 6" } }, + "node_modules/axios": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.6.tgz", + "integrity": "sha512-XZLZDFfXKM9U/Y/B4nNynfCRUqNyVZ4sBC/n9GDRCkq9vd2mIvKjKKsbIh1WPmHmNbg6ND7cTBY3Y2+u1G3/2Q==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "node_modules/bowser": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", @@ -2979,6 +3046,30 @@ "node": ">=8" } }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", @@ -3036,6 +3127,18 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/commander": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", @@ -3107,6 +3210,15 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -3140,6 +3252,15 @@ "node": ">=6.0.0" } }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, "node_modules/enquirer": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", @@ -3473,6 +3594,46 @@ "tabbable": "^6.2.0" } }, + "node_modules/follow-redirects": { + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -3584,10 +3745,31 @@ "node": ">=8" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/ignore": { "version": "5.2.4", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, "engines": { "node": ">= 4" } @@ -3815,6 +3997,27 @@ "node": ">=8.6" } }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -4047,6 +4250,12 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -4076,6 +4285,20 @@ } ] }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", @@ -4174,6 +4397,26 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/search-insights": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.10.0.tgz", @@ -4264,6 +4507,15 @@ "source-map": "^0.6.0" } }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -4305,6 +4557,22 @@ "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==", "dev": true }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -4430,6 +4698,12 @@ "punycode": "^2.1.0" } }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", diff --git a/package.json b/package.json index bb3423c03..47c45c060 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "tsc", "watch": "tsc -w", "cdk": "cdk", + "gen": "npx @aws-amplify/cli codegen", "create": "node ./cli/magic.js create", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "format": "npx prettier --ignore-path .gitignore --write \"**/*.+(js|ts|jsx|tsx|json|css)\"", @@ -17,6 +18,7 @@ "docs:preview": "vitepress preview docs" }, "devDependencies": { + "@aws-amplify/cli": "^12.10.1", "@aws-lambda-powertools/batch": "^1.14.1", "@aws-lambda-powertools/logger": "^1.14.1", "@aws-sdk/credential-provider-node": "^3.441.0",