@manta-eu/client 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/generated/graphql.d.ts +68 -35
  2. package/dist/generated/graphql.d.ts.map +1 -1
  3. package/dist/generated/graphql.js +31 -14
  4. package/dist/generated/graphql.js.map +1 -1
  5. package/dist/shared/datastore-id.js +1 -1
  6. package/dist/shared/datastore-id.js.map +1 -1
  7. package/dist/shared/memory-citation-sampling.d.ts +2 -1
  8. package/dist/shared/memory-citation-sampling.d.ts.map +1 -1
  9. package/dist/shared/memory-citation-sampling.js +5 -4
  10. package/dist/shared/memory-citation-sampling.js.map +1 -1
  11. package/dist/shared/memory-diversity.js +1 -1
  12. package/dist/shared/memory-diversity.js.map +1 -1
  13. package/dist/shared/memory-keyword-recall.d.ts +1 -0
  14. package/dist/shared/memory-keyword-recall.d.ts.map +1 -1
  15. package/dist/shared/memory-keyword-recall.js +2 -1
  16. package/dist/shared/memory-keyword-recall.js.map +1 -1
  17. package/dist/shared/rdf-namespaces.d.ts +1 -3
  18. package/dist/shared/rdf-namespaces.d.ts.map +1 -1
  19. package/dist/shared/rdf-namespaces.js +2 -4
  20. package/dist/shared/rdf-namespaces.js.map +1 -1
  21. package/dist/shared/tools/coercers.d.ts.map +1 -1
  22. package/dist/shared/tools/coercers.js +6 -3
  23. package/dist/shared/tools/coercers.js.map +1 -1
  24. package/dist/shared/tools/index.d.ts +1 -1
  25. package/dist/shared/tools/index.d.ts.map +1 -1
  26. package/dist/shared/tools/metadata.js +23 -23
  27. package/dist/shared/tools/metadata.js.map +1 -1
  28. package/dist/shared/tools/types.d.ts +24 -24
  29. package/dist/shared/tools/types.d.ts.map +1 -1
  30. package/dist/shared/writable-shape-query.js +2 -2
  31. package/dist/shared/writable-shape-query.js.map +1 -1
  32. package/package.json +5 -5
  33. package/src/generated/graphql.ts +107 -50
  34. package/src/shared/datastore-id.ts +1 -1
  35. package/src/shared/memory-citation-sampling.ts +5 -5
  36. package/src/shared/memory-diversity.ts +1 -1
  37. package/src/shared/memory-keyword-recall.ts +3 -1
  38. package/src/shared/rdf-namespaces.ts +2 -9
  39. package/src/shared/tools/coercers.ts +7 -4
  40. package/src/shared/tools/index.ts +8 -8
  41. package/src/shared/tools/metadata.ts +23 -23
  42. package/src/shared/tools/types.ts +30 -30
  43. package/src/shared/writable-shape-query.ts +2 -2
@@ -927,8 +927,12 @@ export type GQLDatastoreProvisioningStatus = {
927
927
  };
928
928
  export type GQLDatastoreSubscription = {
929
929
  __typename?: "DatastoreSubscription";
930
+ amount?: Maybe<Scalars["Int"]["output"]>;
931
+ currency?: Maybe<Scalars["String"]["output"]>;
930
932
  datastoreId: Scalars["String"]["output"];
931
933
  inGoodStanding: Scalars["Boolean"]["output"];
934
+ interval?: Maybe<Scalars["String"]["output"]>;
935
+ intervalCount?: Maybe<Scalars["Int"]["output"]>;
932
936
  status: Scalars["String"]["output"];
933
937
  };
934
938
  export type GQLDatastoreTreeNode = {
@@ -1085,6 +1089,13 @@ export type GQLExecuteActionUpdateInput = {
1085
1089
  rdfType: Scalars["IRI"]["input"];
1086
1090
  subjectIri: Scalars["IRI"]["input"];
1087
1091
  };
1092
+ export type GQLFactExplanationResponse = {
1093
+ __typename?: "FactExplanationResponse";
1094
+ error?: Maybe<Scalars["String"]["output"]>;
1095
+ facts: Scalars["JSON"]["output"];
1096
+ formatted: Scalars["String"]["output"];
1097
+ summary?: Maybe<Scalars["String"]["output"]>;
1098
+ };
1088
1099
  export declare enum GQLFactValueStatus {
1089
1100
  Changed = "CHANGED",
1090
1101
  Removed = "REMOVED",
@@ -1097,6 +1108,11 @@ export type GQLFileFactsInput = {
1097
1108
  sha256?: InputMaybe<Scalars["String"]["input"]>;
1098
1109
  width?: InputMaybe<Scalars["PositiveInt"]["input"]>;
1099
1110
  };
1111
+ export type GQLForgetUserNameResponse = {
1112
+ __typename?: "ForgetUserNameResponse";
1113
+ datastoreIds: Array<Scalars["String"]["output"]>;
1114
+ id: Scalars["String"]["output"];
1115
+ };
1100
1116
  export type GQLGmailIntegration = {
1101
1117
  __typename?: "GmailIntegration";
1102
1118
  email: Scalars["String"]["output"];
@@ -1263,6 +1279,7 @@ export type GQLInitiateUploadResponse = {
1263
1279
  uploadId: Scalars["String"]["output"];
1264
1280
  };
1265
1281
  export declare enum GQLIntegration {
1282
+ Canva = "CANVA",
1266
1283
  Dash = "DASH",
1267
1284
  Figma = "FIGMA",
1268
1285
  Google = "GOOGLE",
@@ -1401,7 +1418,7 @@ export type GQLLinkedinSetupProgress = {
1401
1418
  lastError?: Maybe<GQLLinkedinSetupError>;
1402
1419
  state: Array<Scalars["String"]["output"]>;
1403
1420
  };
1404
- export type GQLManageRdFoxRuleInput = {
1421
+ export type GQLManageRuleInput = {
1405
1422
  dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
1406
1423
  expectNoInference?: InputMaybe<Scalars["Boolean"]["input"]>;
1407
1424
  humanIntent: Scalars["String"]["input"];
@@ -1410,8 +1427,8 @@ export type GQLManageRdFoxRuleInput = {
1410
1427
  ruleIri?: InputMaybe<Scalars["IRI"]["input"]>;
1411
1428
  testTriple?: InputMaybe<GQLTestTripleInput>;
1412
1429
  };
1413
- export type GQLManageRdFoxRuleResponse = {
1414
- __typename?: "ManageRDFoxRuleResponse";
1430
+ export type GQLManageRuleResponse = {
1431
+ __typename?: "ManageRuleResponse";
1415
1432
  error?: Maybe<Scalars["String"]["output"]>;
1416
1433
  inferenceTest?: Maybe<Scalars["String"]["output"]>;
1417
1434
  inferenceVerified: Scalars["Boolean"]["output"];
@@ -1620,6 +1637,7 @@ export type GQLMutation = {
1620
1637
  executeActionDeletion: GQLExecuteActionResponse;
1621
1638
  executeActionPlan: GQLExecuteActionPlanResponse;
1622
1639
  executeActionUpdate: GQLExecuteActionResponse;
1640
+ forgetUserName: GQLForgetUserNameResponse;
1623
1641
  generateStructuredData: GQLStructuredDataResponse;
1624
1642
  googleAnalyticsSetupConnect: GQLGoogleAnalyticsSetupProgress;
1625
1643
  googleSetupConnect: GQLGoogleSetupProgress;
@@ -1632,7 +1650,7 @@ export type GQLMutation = {
1632
1650
  linkOrganizationToProvider: GQLLinkOrganizationResponse;
1633
1651
  linkUnlinkedDatastore: GQLProvisionDatastoreResponse;
1634
1652
  linkedinSetupConnect?: Maybe<GQLLinkedinSetupProgress>;
1635
- manageRDFoxRule: GQLManageRdFoxRuleResponse;
1653
+ manageRule: GQLManageRuleResponse;
1636
1654
  manualActionChangeAssignees?: Maybe<GQLManualActionChangeAssigneesPayload>;
1637
1655
  manualActionResolve?: Maybe<GQLManualActionResolvePayload>;
1638
1656
  materializeOntologyCoverage: GQLMaterializeOntologyCoverageResponse;
@@ -1669,7 +1687,7 @@ export type GQLMutation = {
1669
1687
  updateMemory: GQLUpdateMemoryResponse;
1670
1688
  updateTeamMember: GQLTeamMemberUpdateResponse;
1671
1689
  updateUserPreferences: GQLUpdateUserPreferencesResponse;
1672
- validateRDFoxRule: GQLValidateRdFoxRuleResponse;
1690
+ validateRule: GQLValidateRuleResponse;
1673
1691
  validateStagedRules: GQLValidateStagedRulesResponse;
1674
1692
  };
1675
1693
  export type GQLMutationAbortUploadArgs = {
@@ -1787,6 +1805,9 @@ export type GQLMutationExecuteActionPlanArgs = {
1787
1805
  export type GQLMutationExecuteActionUpdateArgs = {
1788
1806
  input: GQLExecuteActionUpdateInput;
1789
1807
  };
1808
+ export type GQLMutationForgetUserNameArgs = {
1809
+ userId: Scalars["String"]["input"];
1810
+ };
1790
1811
  export type GQLMutationGenerateStructuredDataArgs = {
1791
1812
  input: GQLStructuredDataInput;
1792
1813
  };
@@ -1837,8 +1858,8 @@ export type GQLMutationLinkUnlinkedDatastoreArgs = {
1837
1858
  export type GQLMutationLinkedinSetupConnectArgs = {
1838
1859
  accountIds: Array<Scalars["String"]["input"]>;
1839
1860
  };
1840
- export type GQLMutationManageRdFoxRuleArgs = {
1841
- input: GQLManageRdFoxRuleInput;
1861
+ export type GQLMutationManageRuleArgs = {
1862
+ input: GQLManageRuleInput;
1842
1863
  };
1843
1864
  export type GQLMutationManualActionChangeAssigneesArgs = {
1844
1865
  assigneesToAdd?: InputMaybe<Array<Scalars["String"]["input"]>>;
@@ -1984,8 +2005,8 @@ export type GQLMutationUpdateTeamMemberArgs = {
1984
2005
  export type GQLMutationUpdateUserPreferencesArgs = {
1985
2006
  input: GQLUpdateUserPreferencesInput;
1986
2007
  };
1987
- export type GQLMutationValidateRdFoxRuleArgs = {
1988
- input: GQLValidateRdFoxRuleInput;
2008
+ export type GQLMutationValidateRuleArgs = {
2009
+ input: GQLValidateRuleInput;
1989
2010
  };
1990
2011
  export type GQLMutationValidateStagedRulesArgs = {
1991
2012
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]>>;
@@ -2101,7 +2122,7 @@ export type GQLQuery = {
2101
2122
  datastoreSubscriptions: Array<GQLDatastoreSubscription>;
2102
2123
  datastoreTree: Array<GQLDatastoreTreeNode>;
2103
2124
  detectMemoryConflicts: GQLDetectMemoryConflictsResult;
2104
- explainRDFoxFact: GQLRdFoxExplanationResponse;
2125
+ explainFact: GQLFactExplanationResponse;
2105
2126
  gmailIntegrations: Array<GQLGmailIntegration>;
2106
2127
  googleAnalyticsSetupProgress: GQLGoogleAnalyticsSetupProgress;
2107
2128
  googleBrandSuggestions: Array<GQLGoogleBrandSuggestion>;
@@ -2216,7 +2237,7 @@ export type GQLQueryDatastoreSubscriptionsArgs = {
2216
2237
  export type GQLQueryDetectMemoryConflictsArgs = {
2217
2238
  input: GQLDetectMemoryConflictsInput;
2218
2239
  };
2219
- export type GQLQueryExplainRdFoxFactArgs = {
2240
+ export type GQLQueryExplainFactArgs = {
2220
2241
  namedGraph?: InputMaybe<Scalars["IRI"]["input"]>;
2221
2242
  object: Scalars["String"]["input"];
2222
2243
  objectDatatype?: InputMaybe<Scalars["String"]["input"]>;
@@ -2310,13 +2331,6 @@ export type GQLQueryValidateActionPlanArgs = {
2310
2331
  export type GQLQueryWarehouseQueryArgs = {
2311
2332
  sql: Scalars["String"]["input"];
2312
2333
  };
2313
- export type GQLRdFoxExplanationResponse = {
2314
- __typename?: "RDFoxExplanationResponse";
2315
- error?: Maybe<Scalars["String"]["output"]>;
2316
- facts: Scalars["JSON"]["output"];
2317
- formatted: Scalars["String"]["output"];
2318
- summary?: Maybe<Scalars["String"]["output"]>;
2319
- };
2320
2334
  export type GQLRecordHotelProfileResponse = {
2321
2335
  __typename?: "RecordHotelProfileResponse";
2322
2336
  companyIri?: Maybe<Scalars["IRI"]["output"]>;
@@ -2858,11 +2872,11 @@ export type GQLValidateActionPlanResponse = {
2858
2872
  shaclShapeIri?: Maybe<Scalars["IRI"]["output"]>;
2859
2873
  valid: Scalars["Boolean"]["output"];
2860
2874
  };
2861
- export type GQLValidateRdFoxRuleInput = {
2875
+ export type GQLValidateRuleInput = {
2862
2876
  rule: Scalars["DatalogRule"]["input"];
2863
2877
  };
2864
- export type GQLValidateRdFoxRuleResponse = {
2865
- __typename?: "ValidateRDFoxRuleResponse";
2878
+ export type GQLValidateRuleResponse = {
2879
+ __typename?: "ValidateRuleResponse";
2866
2880
  error?: Maybe<Scalars["String"]["output"]>;
2867
2881
  ruleStructure?: Maybe<GQLRuleStructure>;
2868
2882
  valid: Scalars["Boolean"]["output"];
@@ -3450,6 +3464,17 @@ export type GQLExecuteAgentActionUpdateMutation = {
3450
3464
  code?: GQLExecuteActionErrorCode | null;
3451
3465
  };
3452
3466
  };
3467
+ export type GQLForgetUserNameMutationVariables = Exact<{
3468
+ userId: Scalars["String"]["input"];
3469
+ }>;
3470
+ export type GQLForgetUserNameMutation = {
3471
+ __typename?: "Mutation";
3472
+ forgetUserName: {
3473
+ __typename?: "ForgetUserNameResponse";
3474
+ id: string;
3475
+ datastoreIds: Array<string>;
3476
+ };
3477
+ };
3453
3478
  export type GQLGenerateStructuredDataMutationVariables = Exact<{
3454
3479
  input: GQLStructuredDataInput;
3455
3480
  }>;
@@ -4960,6 +4985,10 @@ export type GQLDatastoreSubscriptionsQuery = {
4960
4985
  datastoreId: string;
4961
4986
  status: string;
4962
4987
  inGoodStanding: boolean;
4988
+ amount?: number | null;
4989
+ currency?: string | null;
4990
+ interval?: string | null;
4991
+ intervalCount?: number | null;
4963
4992
  }>;
4964
4993
  };
4965
4994
  export type GQLDatastoreTreeQueryVariables = Exact<{
@@ -5007,7 +5036,7 @@ export type GQLDetectMemoryConflictsQuery = {
5007
5036
  }>;
5008
5037
  };
5009
5038
  };
5010
- export type GQLExplainRdFoxFactQueryVariables = Exact<{
5039
+ export type GQLExplainFactQueryVariables = Exact<{
5011
5040
  subject: Scalars["String"]["input"];
5012
5041
  predicate?: InputMaybe<Scalars["String"]["input"]>;
5013
5042
  object: Scalars["String"]["input"];
@@ -5015,10 +5044,10 @@ export type GQLExplainRdFoxFactQueryVariables = Exact<{
5015
5044
  summarize?: InputMaybe<Scalars["Boolean"]["input"]>;
5016
5045
  namedGraph?: InputMaybe<Scalars["IRI"]["input"]>;
5017
5046
  }>;
5018
- export type GQLExplainRdFoxFactQuery = {
5047
+ export type GQLExplainFactQuery = {
5019
5048
  __typename?: "Query";
5020
- explainRDFoxFact: {
5021
- __typename?: "RDFoxExplanationResponse";
5049
+ explainFact: {
5050
+ __typename?: "FactExplanationResponse";
5022
5051
  facts: unknown;
5023
5052
  formatted: string;
5024
5053
  summary?: string | null;
@@ -5906,6 +5935,10 @@ export declare const ExecuteAgentActionUpdateDocument = "\n mutation ExecuteA
5906
5935
  export declare const useExecuteAgentActionUpdateMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLExecuteAgentActionUpdateMutation, TError, GQLExecuteAgentActionUpdateMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLExecuteAgentActionUpdateMutation, TError, Exact<{
5907
5936
  input: GQLExecuteActionUpdateInput;
5908
5937
  }>, TContext>;
5938
+ export declare const ForgetUserNameDocument = "\n mutation ForgetUserName($userId: String!) {\n forgetUserName(userId: $userId) {\n id\n datastoreIds\n }\n}\n ";
5939
+ export declare const useForgetUserNameMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLForgetUserNameMutation, TError, GQLForgetUserNameMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLForgetUserNameMutation, TError, Exact<{
5940
+ userId: Scalars["String"]["input"];
5941
+ }>, TContext>;
5909
5942
  export declare const GenerateStructuredDataDocument = "\n mutation GenerateStructuredData($input: StructuredDataInput!) {\n generateStructuredData(input: $input) {\n data\n error\n code\n issues {\n path\n message\n }\n outputExcerpt\n }\n}\n ";
5910
5943
  export declare const useGenerateStructuredDataMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLGenerateStructuredDataMutation, TError, GQLGenerateStructuredDataMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLGenerateStructuredDataMutation, TError, Exact<{
5911
5944
  input: GQLStructuredDataInput;
@@ -6579,7 +6612,7 @@ export declare const useSuspenseDatastoreProvisioningStatusesQuery: {
6579
6612
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6580
6613
  }>)[];
6581
6614
  };
6582
- export declare const DatastoreSubscriptionsDocument = "\n query DatastoreSubscriptions($datastoreIds: [String!]!) {\n datastoreSubscriptions(datastoreIds: $datastoreIds) {\n datastoreId\n status\n inGoodStanding\n }\n}\n ";
6615
+ export declare const DatastoreSubscriptionsDocument = "\n query DatastoreSubscriptions($datastoreIds: [String!]!) {\n datastoreSubscriptions(datastoreIds: $datastoreIds) {\n datastoreId\n status\n inGoodStanding\n amount\n currency\n interval\n intervalCount\n }\n}\n ";
6583
6616
  export declare const useDatastoreSubscriptionsQuery: {
6584
6617
  <TData = GQLDatastoreSubscriptionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreSubscriptionsQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>, "queryKey"> & {
6585
6618
  queryKey?: UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>["queryKey"];
@@ -6630,12 +6663,12 @@ export declare const useSuspenseDetectMemoryConflictsQuery: {
6630
6663
  input: GQLDetectMemoryConflictsInput;
6631
6664
  }>)[];
6632
6665
  };
6633
- export declare const ExplainRdFoxFactDocument = "\n query ExplainRDFoxFact($subject: String!, $predicate: String, $object: String!, $objectDatatype: String, $summarize: Boolean = false, $namedGraph: IRI) {\n explainRDFoxFact(\n subject: $subject\n predicate: $predicate\n object: $object\n objectDatatype: $objectDatatype\n summarize: $summarize\n namedGraph: $namedGraph\n ) {\n facts\n formatted\n summary\n error\n }\n}\n ";
6634
- export declare const useExplainRdFoxFactQuery: {
6635
- <TData = GQLExplainRdFoxFactQuery, TError = unknown>(client: GraphQLClient, variables: GQLExplainRdFoxFactQueryVariables, options?: Omit<UseQueryOptions<GQLExplainRdFoxFactQuery, TError, TData>, "queryKey"> & {
6636
- queryKey?: UseQueryOptions<GQLExplainRdFoxFactQuery, TError, TData>["queryKey"];
6666
+ export declare const ExplainFactDocument = "\n query ExplainFact($subject: String!, $predicate: String, $object: String!, $objectDatatype: String, $summarize: Boolean = false, $namedGraph: IRI) {\n explainFact(\n subject: $subject\n predicate: $predicate\n object: $object\n objectDatatype: $objectDatatype\n summarize: $summarize\n namedGraph: $namedGraph\n ) {\n facts\n formatted\n summary\n error\n }\n}\n ";
6667
+ export declare const useExplainFactQuery: {
6668
+ <TData = GQLExplainFactQuery, TError = unknown>(client: GraphQLClient, variables: GQLExplainFactQueryVariables, options?: Omit<UseQueryOptions<GQLExplainFactQuery, TError, TData>, "queryKey"> & {
6669
+ queryKey?: UseQueryOptions<GQLExplainFactQuery, TError, TData>["queryKey"];
6637
6670
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6638
- getKey(variables: GQLExplainRdFoxFactQueryVariables): (string | Exact<{
6671
+ getKey(variables: GQLExplainFactQueryVariables): (string | Exact<{
6639
6672
  subject: Scalars["String"]["input"];
6640
6673
  predicate?: InputMaybe<Scalars["String"]["input"]>;
6641
6674
  object: Scalars["String"]["input"];
@@ -6644,11 +6677,11 @@ export declare const useExplainRdFoxFactQuery: {
6644
6677
  namedGraph?: InputMaybe<Scalars["IRI"]["input"]>;
6645
6678
  }>)[];
6646
6679
  };
6647
- export declare const useSuspenseExplainRdFoxFactQuery: {
6648
- <TData = GQLExplainRdFoxFactQuery, TError = unknown>(client: GraphQLClient, variables: GQLExplainRdFoxFactQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLExplainRdFoxFactQuery, TError, TData>, "queryKey"> & {
6649
- queryKey?: UseSuspenseQueryOptions<GQLExplainRdFoxFactQuery, TError, TData>["queryKey"];
6680
+ export declare const useSuspenseExplainFactQuery: {
6681
+ <TData = GQLExplainFactQuery, TError = unknown>(client: GraphQLClient, variables: GQLExplainFactQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLExplainFactQuery, TError, TData>, "queryKey"> & {
6682
+ queryKey?: UseSuspenseQueryOptions<GQLExplainFactQuery, TError, TData>["queryKey"];
6650
6683
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6651
- getKey(variables: GQLExplainRdFoxFactQueryVariables): (string | Exact<{
6684
+ getKey(variables: GQLExplainFactQueryVariables): (string | Exact<{
6652
6685
  subject: Scalars["String"]["input"];
6653
6686
  predicate?: InputMaybe<Scalars["String"]["input"]>;
6654
6687
  object: Scalars["String"]["input"];