@manta-eu/client 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1794,6 +1794,7 @@ export type GQLMutationCreateStripeBillingPortalSessionArgs = {
1794
1794
  returnUrl: Scalars["String"]["input"];
1795
1795
  };
1796
1796
  export type GQLMutationCreateStripeCheckoutSessionArgs = {
1797
+ addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
1797
1798
  cancelUrl: Scalars["String"]["input"];
1798
1799
  datastoreId: Scalars["String"]["input"];
1799
1800
  priceId: Scalars["String"]["input"];
@@ -2584,11 +2585,16 @@ export type GQLSessionUser = {
2584
2585
  canManageSharedMemories: Scalars["Boolean"]["output"];
2585
2586
  canManageStreams: Scalars["Boolean"]["output"];
2586
2587
  canManageTeam: Scalars["Boolean"]["output"];
2588
+ canRename: Scalars["Boolean"]["output"];
2589
+ canUploadProfilePicture: Scalars["Boolean"]["output"];
2587
2590
  datastore?: Maybe<GQLCustomerDatastore>;
2588
2591
  email: Scalars["String"]["output"];
2592
+ federated: Scalars["Boolean"]["output"];
2593
+ firstName?: Maybe<Scalars["String"]["output"]>;
2589
2594
  id: Scalars["String"]["output"];
2590
2595
  isOperator: Scalars["Boolean"]["output"];
2591
2596
  isOrgAdmin: Scalars["Boolean"]["output"];
2597
+ lastName?: Maybe<Scalars["String"]["output"]>;
2592
2598
  memberOrgs: Array<Scalars["String"]["output"]>;
2593
2599
  name?: Maybe<Scalars["String"]["output"]>;
2594
2600
  picture?: Maybe<Scalars["String"]["output"]>;
@@ -3304,6 +3310,7 @@ export type GQLCreateStripeBillingPortalSessionMutation = {
3304
3310
  export type GQLCreateStripeCheckoutSessionMutationVariables = Exact<{
3305
3311
  datastoreId: Scalars["String"]["input"];
3306
3312
  priceId: Scalars["String"]["input"];
3313
+ addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
3307
3314
  successUrl: Scalars["String"]["input"];
3308
3315
  cancelUrl: Scalars["String"]["input"];
3309
3316
  }>;
@@ -5541,6 +5548,28 @@ export type GQLOrganizationLinkingQuery = {
5541
5548
  linkEnabled: boolean;
5542
5549
  } | null;
5543
5550
  };
5551
+ export type GQLProfileQueryVariables = Exact<{
5552
+ [key: string]: never;
5553
+ }>;
5554
+ export type GQLProfileQuery = {
5555
+ __typename?: "Query";
5556
+ sessionContext: {
5557
+ __typename?: "SessionContext";
5558
+ user: {
5559
+ __typename?: "SessionUser";
5560
+ id: string;
5561
+ email: string;
5562
+ name?: string | null;
5563
+ firstName?: string | null;
5564
+ lastName?: string | null;
5565
+ federated: boolean;
5566
+ picture?: string | null;
5567
+ pictureSource?: GQLPictureSource | null;
5568
+ canRename: boolean;
5569
+ canUploadProfilePicture: boolean;
5570
+ };
5571
+ };
5572
+ };
5544
5573
  export type GQLRulesQueryVariables = Exact<{
5545
5574
  ruleIri?: InputMaybe<Scalars["IRI"]["input"]>;
5546
5575
  filterByOwner?: InputMaybe<Scalars["String"]["input"]>;
@@ -5980,10 +6009,11 @@ export declare const useCreateStripeBillingPortalSessionMutation: <TError = unkn
5980
6009
  datastoreId: Scalars["String"]["input"];
5981
6010
  returnUrl: Scalars["String"]["input"];
5982
6011
  }>, TContext>;
5983
- export declare const CreateStripeCheckoutSessionDocument = "\n mutation CreateStripeCheckoutSession($datastoreId: String!, $priceId: String!, $successUrl: String!, $cancelUrl: String!) {\n createStripeCheckoutSession(\n datastoreId: $datastoreId\n priceId: $priceId\n successUrl: $successUrl\n cancelUrl: $cancelUrl\n ) {\n success\n url\n error\n }\n}\n ";
6012
+ export declare const CreateStripeCheckoutSessionDocument = "\n mutation CreateStripeCheckoutSession($datastoreId: String!, $priceId: String!, $addOnPriceId: String, $successUrl: String!, $cancelUrl: String!) {\n createStripeCheckoutSession(\n datastoreId: $datastoreId\n priceId: $priceId\n addOnPriceId: $addOnPriceId\n successUrl: $successUrl\n cancelUrl: $cancelUrl\n ) {\n success\n url\n error\n }\n}\n ";
5984
6013
  export declare const useCreateStripeCheckoutSessionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateStripeCheckoutSessionMutation, TError, GQLCreateStripeCheckoutSessionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateStripeCheckoutSessionMutation, TError, Exact<{
5985
6014
  datastoreId: Scalars["String"]["input"];
5986
6015
  priceId: Scalars["String"]["input"];
6016
+ addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
5987
6017
  successUrl: Scalars["String"]["input"];
5988
6018
  cancelUrl: Scalars["String"]["input"];
5989
6019
  }>, TContext>;
@@ -7097,6 +7127,23 @@ export declare const useSuspenseOrganizationLinkingQuery: {
7097
7127
  [key: string]: never;
7098
7128
  }>)[];
7099
7129
  };
7130
+ export declare const ProfileDocument = "\n query Profile {\n sessionContext {\n user {\n id\n email\n name\n firstName\n lastName\n federated\n picture\n pictureSource\n canRename\n canUploadProfilePicture\n }\n }\n}\n ";
7131
+ export declare const useProfileQuery: {
7132
+ <TData = GQLProfileQuery, TError = unknown>(client: GraphQLClient, variables?: GQLProfileQueryVariables, options?: Omit<UseQueryOptions<GQLProfileQuery, TError, TData>, "queryKey"> & {
7133
+ queryKey?: UseQueryOptions<GQLProfileQuery, TError, TData>["queryKey"];
7134
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
7135
+ getKey(variables?: GQLProfileQueryVariables): (string | Exact<{
7136
+ [key: string]: never;
7137
+ }>)[];
7138
+ };
7139
+ export declare const useSuspenseProfileQuery: {
7140
+ <TData = GQLProfileQuery, TError = unknown>(client: GraphQLClient, variables?: GQLProfileQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLProfileQuery, TError, TData>, "queryKey"> & {
7141
+ queryKey?: UseSuspenseQueryOptions<GQLProfileQuery, TError, TData>["queryKey"];
7142
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
7143
+ getKey(variables?: GQLProfileQueryVariables): (string | Exact<{
7144
+ [key: string]: never;
7145
+ }>)[];
7146
+ };
7100
7147
  export declare const RulesDocument = "\n query Rules($ruleIri: IRI, $filterByOwner: String, $namedGraph: IRI, $typeFilter: [IRI!]) {\n rules(\n ruleIri: $ruleIri\n filterByOwner: $filterByOwner\n namedGraph: $namedGraph\n typeFilter: $typeFilter\n ) {\n rules {\n ruleIri\n committedRule\n stagedRule\n isStaged\n isModified\n ownedBy {\n type\n userId\n }\n namedGraphs\n mentionedTypes\n component\n stratumIndex\n dependsPositivelyOn\n dependsNegativelyOn\n dependentRules\n unifiesWith\n }\n jsonLdGraph\n count\n error\n }\n}\n ";
7101
7148
  export declare const useRulesQuery: {
7102
7149
  <TData = GQLRulesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLRulesQueryVariables, options?: Omit<UseQueryOptions<GQLRulesQuery, TError, TData>, "queryKey"> & {