@manta-eu/client 0.4.0 → 0.5.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.
@@ -282,6 +282,7 @@ export type GQLAbortUploadResponse = {
282
282
  };
283
283
  export type GQLAccessibleDatastore = {
284
284
  __typename?: "AccessibleDatastore";
285
+ datastoresInSubtree?: Maybe<Scalars["Int"]["output"]>;
285
286
  depth: Scalars["Int"]["output"];
286
287
  id: Scalars["String"]["output"];
287
288
  live?: Maybe<Scalars["Boolean"]["output"]>;
@@ -688,6 +689,12 @@ export type GQLCreateMemoryResponse = {
688
689
  error?: Maybe<Scalars["String"]["output"]>;
689
690
  memory?: Maybe<GQLMemory>;
690
691
  };
692
+ export type GQLCreateStripeBillingPortalSessionResponse = {
693
+ __typename?: "CreateStripeBillingPortalSessionResponse";
694
+ error?: Maybe<Scalars["String"]["output"]>;
695
+ success: Scalars["Boolean"]["output"];
696
+ url?: Maybe<Scalars["String"]["output"]>;
697
+ };
691
698
  export type GQLCreateStripeCheckoutSessionResponse = {
692
699
  __typename?: "CreateStripeCheckoutSessionResponse";
693
700
  error?: Maybe<Scalars["String"]["output"]>;
@@ -938,6 +945,7 @@ export type GQLDatastoreSubscription = {
938
945
  };
939
946
  export type GQLDatastoreTreeNode = {
940
947
  __typename?: "DatastoreTreeNode";
948
+ accessibleId: Scalars["String"]["output"];
941
949
  datastoreId?: Maybe<Scalars["String"]["output"]>;
942
950
  depth: Scalars["Int"]["output"];
943
951
  id: Scalars["String"]["output"];
@@ -1650,6 +1658,7 @@ export type GQLMutation = {
1650
1658
  createDataConnection: GQLDataConnectionTestState;
1651
1659
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1652
1660
  createMemory: GQLCreateMemoryResponse;
1661
+ createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
1653
1662
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
1654
1663
  dashSetupConnect: GQLDashSetupProgress;
1655
1664
  deleteActionPlan: GQLDeleteActionPlanResponse;
@@ -1780,6 +1789,10 @@ export type GQLMutationCreateInferalIntegrationArgs = {
1780
1789
  export type GQLMutationCreateMemoryArgs = {
1781
1790
  input: GQLCreateMemoryInput;
1782
1791
  };
1792
+ export type GQLMutationCreateStripeBillingPortalSessionArgs = {
1793
+ datastoreId: Scalars["String"]["input"];
1794
+ returnUrl: Scalars["String"]["input"];
1795
+ };
1783
1796
  export type GQLMutationCreateStripeCheckoutSessionArgs = {
1784
1797
  cancelUrl: Scalars["String"]["input"];
1785
1798
  datastoreId: Scalars["String"]["input"];
@@ -3275,6 +3288,19 @@ export type GQLCreateMemoryMutation = {
3275
3288
  } | null;
3276
3289
  };
3277
3290
  };
3291
+ export type GQLCreateStripeBillingPortalSessionMutationVariables = Exact<{
3292
+ datastoreId: Scalars["String"]["input"];
3293
+ returnUrl: Scalars["String"]["input"];
3294
+ }>;
3295
+ export type GQLCreateStripeBillingPortalSessionMutation = {
3296
+ __typename?: "Mutation";
3297
+ createStripeBillingPortalSession: {
3298
+ __typename?: "CreateStripeBillingPortalSessionResponse";
3299
+ success: boolean;
3300
+ url?: string | null;
3301
+ error?: string | null;
3302
+ };
3303
+ };
3278
3304
  export type GQLCreateStripeCheckoutSessionMutationVariables = Exact<{
3279
3305
  datastoreId: Scalars["String"]["input"];
3280
3306
  priceId: Scalars["String"]["input"];
@@ -5061,6 +5087,7 @@ export type GQLDatastoreTreeQuery = {
5061
5087
  datastoreTree: Array<{
5062
5088
  __typename?: "DatastoreTreeNode";
5063
5089
  id: string;
5090
+ accessibleId: string;
5064
5091
  name: string;
5065
5092
  depth: number;
5066
5093
  organizationId: string;
@@ -5948,6 +5975,11 @@ export declare const CreateMemoryDocument = "\n mutation CreateMemory($input:
5948
5975
  export declare const useCreateMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateMemoryMutation, TError, GQLCreateMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateMemoryMutation, TError, Exact<{
5949
5976
  input: GQLCreateMemoryInput;
5950
5977
  }>, TContext>;
5978
+ export declare const CreateStripeBillingPortalSessionDocument = "\n mutation CreateStripeBillingPortalSession($datastoreId: String!, $returnUrl: String!) {\n createStripeBillingPortalSession(\n datastoreId: $datastoreId\n returnUrl: $returnUrl\n ) {\n success\n url\n error\n }\n}\n ";
5979
+ export declare const useCreateStripeBillingPortalSessionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateStripeBillingPortalSessionMutation, TError, GQLCreateStripeBillingPortalSessionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateStripeBillingPortalSessionMutation, TError, Exact<{
5980
+ datastoreId: Scalars["String"]["input"];
5981
+ returnUrl: Scalars["String"]["input"];
5982
+ }>, TContext>;
5951
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 ";
5952
5984
  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<{
5953
5985
  datastoreId: Scalars["String"]["input"];
@@ -6720,7 +6752,7 @@ export declare const useSuspenseDatastoreSubscriptionsQuery: {
6720
6752
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6721
6753
  }>)[];
6722
6754
  };
6723
- export declare const DatastoreTreeDocument = "\n query DatastoreTree {\n datastoreTree {\n id\n name\n depth\n organizationId\n organizationName\n organizationAlias\n path\n datastoreId\n removed\n provisionedAt\n provisionedBy\n isOrganization\n mirrored\n }\n}\n ";
6755
+ export declare const DatastoreTreeDocument = "\n query DatastoreTree {\n datastoreTree {\n id\n accessibleId\n name\n depth\n organizationId\n organizationName\n organizationAlias\n path\n datastoreId\n removed\n provisionedAt\n provisionedBy\n isOrganization\n mirrored\n }\n}\n ";
6724
6756
  export declare const useDatastoreTreeQuery: {
6725
6757
  <TData = GQLDatastoreTreeQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreTreeQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>, "queryKey"> & {
6726
6758
  queryKey?: UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>["queryKey"];