@manta-eu/client 0.3.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"]>;
@@ -933,10 +940,12 @@ export type GQLDatastoreSubscription = {
933
940
  inGoodStanding: Scalars["Boolean"]["output"];
934
941
  interval?: Maybe<Scalars["String"]["output"]>;
935
942
  intervalCount?: Maybe<Scalars["Int"]["output"]>;
943
+ productIds: Array<Scalars["String"]["output"]>;
936
944
  status: Scalars["String"]["output"];
937
945
  };
938
946
  export type GQLDatastoreTreeNode = {
939
947
  __typename?: "DatastoreTreeNode";
948
+ accessibleId: Scalars["String"]["output"];
940
949
  datastoreId?: Maybe<Scalars["String"]["output"]>;
941
950
  depth: Scalars["Int"]["output"];
942
951
  id: Scalars["String"]["output"];
@@ -1225,6 +1234,7 @@ export declare enum GQLInferalIntegrationProvider {
1225
1234
  Linkedin = "LINKEDIN",
1226
1235
  Mailchimp = "MAILCHIMP",
1227
1236
  Meta = "META",
1237
+ Microsoftads = "MICROSOFTADS",
1228
1238
  Pinterest = "PINTEREST",
1229
1239
  Shopify = "SHOPIFY",
1230
1240
  Slack = "SLACK",
@@ -1244,21 +1254,31 @@ export declare enum GQLInferalLocation {
1244
1254
  }
1245
1255
  export type GQLInferalProviderInput = {
1246
1256
  klaviyo: GQLKlaviyoProviderInput;
1257
+ microsoftAds?: never;
1258
+ shopify?: never;
1259
+ triplewhale?: never;
1260
+ woocommerce?: never;
1261
+ } | {
1262
+ klaviyo?: never;
1263
+ microsoftAds: GQLMicrosoftAdsProviderInput;
1247
1264
  shopify?: never;
1248
1265
  triplewhale?: never;
1249
1266
  woocommerce?: never;
1250
1267
  } | {
1251
1268
  klaviyo?: never;
1269
+ microsoftAds?: never;
1252
1270
  shopify: GQLShopifyProviderInput;
1253
1271
  triplewhale?: never;
1254
1272
  woocommerce?: never;
1255
1273
  } | {
1256
1274
  klaviyo?: never;
1275
+ microsoftAds?: never;
1257
1276
  shopify?: never;
1258
1277
  triplewhale: GQLTriplewhaleProviderInput;
1259
1278
  woocommerce?: never;
1260
1279
  } | {
1261
1280
  klaviyo?: never;
1281
+ microsoftAds?: never;
1262
1282
  shopify?: never;
1263
1283
  triplewhale?: never;
1264
1284
  woocommerce: GQLWoocommerceProviderInput;
@@ -1286,6 +1306,7 @@ export declare enum GQLIntegration {
1286
1306
  GoogleAnalytics = "GOOGLE_ANALYTICS",
1287
1307
  Linkedin = "LINKEDIN",
1288
1308
  Meta = "META",
1309
+ MicrosoftAds = "MICROSOFT_ADS",
1289
1310
  Shopify = "SHOPIFY",
1290
1311
  Slack = "SLACK",
1291
1312
  Snapchat = "SNAPCHAT",
@@ -1602,6 +1623,23 @@ export declare enum GQLMetaSetupStateEnum {
1602
1623
  Setup = "SETUP",
1603
1624
  TimedOut = "TIMED_OUT"
1604
1625
  }
1626
+ export type GQLMicrosoftAdsAccount = {
1627
+ __typename?: "MicrosoftAdsAccount";
1628
+ connectable: Scalars["Boolean"]["output"];
1629
+ customerId?: Maybe<Scalars["String"]["output"]>;
1630
+ id: Scalars["String"]["output"];
1631
+ name?: Maybe<Scalars["String"]["output"]>;
1632
+ number?: Maybe<Scalars["String"]["output"]>;
1633
+ };
1634
+ export type GQLMicrosoftAdsProviderInput = {
1635
+ accountId: Scalars["String"]["input"];
1636
+ };
1637
+ export type GQLMicrosoftAdsSetupProgress = {
1638
+ __typename?: "MicrosoftAdsSetupProgress";
1639
+ accounts?: Maybe<Array<GQLMicrosoftAdsAccount>>;
1640
+ lastError?: Maybe<GQLGoogleSetupLastError>;
1641
+ state: Array<GQLGoogleSetupStateEnum>;
1642
+ };
1605
1643
  export type GQLMutation = {
1606
1644
  __typename?: "Mutation";
1607
1645
  abortUpload: GQLAbortUploadResponse;
@@ -1620,6 +1658,7 @@ export type GQLMutation = {
1620
1658
  createDataConnection: GQLDataConnectionTestState;
1621
1659
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1622
1660
  createMemory: GQLCreateMemoryResponse;
1661
+ createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
1623
1662
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
1624
1663
  dashSetupConnect: GQLDashSetupProgress;
1625
1664
  deleteActionPlan: GQLDeleteActionPlanResponse;
@@ -1655,6 +1694,7 @@ export type GQLMutation = {
1655
1694
  manualActionResolve?: Maybe<GQLManualActionResolvePayload>;
1656
1695
  materializeOntologyCoverage: GQLMaterializeOntologyCoverageResponse;
1657
1696
  metaSetupConnect: GQLMetaSetupProgress;
1697
+ microsoftAdsSetupConnect: GQLMicrosoftAdsSetupProgress;
1658
1698
  pauseLDESStream: GQLLdesStreamResponse;
1659
1699
  provisionDatastore: GQLProvisionDatastoreResponse;
1660
1700
  reconfirmMemory: GQLUpdateMemoryResponse;
@@ -1749,6 +1789,10 @@ export type GQLMutationCreateInferalIntegrationArgs = {
1749
1789
  export type GQLMutationCreateMemoryArgs = {
1750
1790
  input: GQLCreateMemoryInput;
1751
1791
  };
1792
+ export type GQLMutationCreateStripeBillingPortalSessionArgs = {
1793
+ datastoreId: Scalars["String"]["input"];
1794
+ returnUrl: Scalars["String"]["input"];
1795
+ };
1752
1796
  export type GQLMutationCreateStripeCheckoutSessionArgs = {
1753
1797
  cancelUrl: Scalars["String"]["input"];
1754
1798
  datastoreId: Scalars["String"]["input"];
@@ -1877,6 +1921,10 @@ export type GQLMutationManualActionResolveArgs = {
1877
1921
  export type GQLMutationMetaSetupConnectArgs = {
1878
1922
  accountIds: Array<Scalars["String"]["input"]>;
1879
1923
  };
1924
+ export type GQLMutationMicrosoftAdsSetupConnectArgs = {
1925
+ accountIds: Array<Scalars["String"]["input"]>;
1926
+ location: GQLInferalLocation;
1927
+ };
1880
1928
  export type GQLMutationPauseLdesStreamArgs = {
1881
1929
  url: Scalars["String"]["input"];
1882
1930
  };
@@ -2136,6 +2184,7 @@ export type GQLQuery = {
2136
2184
  memoryReplaySeries: GQLMemoryReplaySeriesResult;
2137
2185
  memorySchemas: GQLMemorySchemasResponse;
2138
2186
  metaSetupProgress: GQLMetaSetupProgress;
2187
+ microsoftAdsSetupProgress: GQLMicrosoftAdsSetupProgress;
2139
2188
  nodeProperties: GQLNodePropertiesResponse;
2140
2189
  nodeRelationships: GQLActionPlanGraphResponse;
2141
2190
  organizationLinking?: Maybe<GQLOrganizationLinking>;
@@ -3239,6 +3288,19 @@ export type GQLCreateMemoryMutation = {
3239
3288
  } | null;
3240
3289
  };
3241
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
+ };
3242
3304
  export type GQLCreateStripeCheckoutSessionMutationVariables = Exact<{
3243
3305
  datastoreId: Scalars["String"]["input"];
3244
3306
  priceId: Scalars["String"]["input"];
@@ -3727,6 +3789,31 @@ export type GQLMetaSetupConnectMutation = {
3727
3789
  } | null;
3728
3790
  };
3729
3791
  };
3792
+ export type GQLMicrosoftAdsSetupConnectMutationVariables = Exact<{
3793
+ accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
3794
+ location: GQLInferalLocation;
3795
+ }>;
3796
+ export type GQLMicrosoftAdsSetupConnectMutation = {
3797
+ __typename?: "Mutation";
3798
+ microsoftAdsSetupConnect: {
3799
+ __typename?: "MicrosoftAdsSetupProgress";
3800
+ state: Array<GQLGoogleSetupStateEnum>;
3801
+ accounts?: Array<{
3802
+ __typename?: "MicrosoftAdsAccount";
3803
+ id: string;
3804
+ name?: string | null;
3805
+ number?: string | null;
3806
+ customerId?: string | null;
3807
+ connectable: boolean;
3808
+ }> | null;
3809
+ lastError?: {
3810
+ __typename?: "GoogleSetupLastError";
3811
+ severity: string;
3812
+ message: string;
3813
+ title?: string | null;
3814
+ } | null;
3815
+ };
3816
+ };
3730
3817
  export type GQLPauseLdesStreamMutationVariables = Exact<{
3731
3818
  url: Scalars["String"]["input"];
3732
3819
  }>;
@@ -4989,6 +5076,7 @@ export type GQLDatastoreSubscriptionsQuery = {
4989
5076
  currency?: string | null;
4990
5077
  interval?: string | null;
4991
5078
  intervalCount?: number | null;
5079
+ productIds: Array<string>;
4992
5080
  }>;
4993
5081
  };
4994
5082
  export type GQLDatastoreTreeQueryVariables = Exact<{
@@ -4999,6 +5087,7 @@ export type GQLDatastoreTreeQuery = {
4999
5087
  datastoreTree: Array<{
5000
5088
  __typename?: "DatastoreTreeNode";
5001
5089
  id: string;
5090
+ accessibleId: string;
5002
5091
  name: string;
5003
5092
  depth: number;
5004
5093
  organizationId: string;
@@ -5382,6 +5471,30 @@ export type GQLMetaSetupProgressQuery = {
5382
5471
  } | null;
5383
5472
  };
5384
5473
  };
5474
+ export type GQLMicrosoftAdsSetupProgressQueryVariables = Exact<{
5475
+ [key: string]: never;
5476
+ }>;
5477
+ export type GQLMicrosoftAdsSetupProgressQuery = {
5478
+ __typename?: "Query";
5479
+ microsoftAdsSetupProgress: {
5480
+ __typename?: "MicrosoftAdsSetupProgress";
5481
+ state: Array<GQLGoogleSetupStateEnum>;
5482
+ accounts?: Array<{
5483
+ __typename?: "MicrosoftAdsAccount";
5484
+ id: string;
5485
+ name?: string | null;
5486
+ number?: string | null;
5487
+ customerId?: string | null;
5488
+ connectable: boolean;
5489
+ }> | null;
5490
+ lastError?: {
5491
+ __typename?: "GoogleSetupLastError";
5492
+ severity: string;
5493
+ message: string;
5494
+ title?: string | null;
5495
+ } | null;
5496
+ };
5497
+ };
5385
5498
  export type GQLNodePropertiesQueryVariables = Exact<{
5386
5499
  nodeIri: Scalars["String"]["input"];
5387
5500
  planGraphIri?: InputMaybe<Scalars["IRI"]["input"]>;
@@ -5862,6 +5975,11 @@ export declare const CreateMemoryDocument = "\n mutation CreateMemory($input:
5862
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<{
5863
5976
  input: GQLCreateMemoryInput;
5864
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>;
5865
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 ";
5866
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<{
5867
5985
  datastoreId: Scalars["String"]["input"];
@@ -6008,6 +6126,11 @@ export declare const MetaSetupConnectDocument = "\n mutation MetaSetupConnect
6008
6126
  export declare const useMetaSetupConnectMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLMetaSetupConnectMutation, TError, GQLMetaSetupConnectMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLMetaSetupConnectMutation, TError, Exact<{
6009
6127
  accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6010
6128
  }>, TContext>;
6129
+ export declare const MicrosoftAdsSetupConnectDocument = "\n mutation MicrosoftAdsSetupConnect($accountIds: [String!]!, $location: InferalLocation!) {\n microsoftAdsSetupConnect(accountIds: $accountIds, location: $location) {\n state\n accounts {\n id\n name\n number\n customerId\n connectable\n }\n lastError {\n severity\n message\n title\n }\n }\n}\n ";
6130
+ export declare const useMicrosoftAdsSetupConnectMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLMicrosoftAdsSetupConnectMutation, TError, GQLMicrosoftAdsSetupConnectMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLMicrosoftAdsSetupConnectMutation, TError, Exact<{
6131
+ accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6132
+ location: GQLInferalLocation;
6133
+ }>, TContext>;
6011
6134
  export declare const PauseLdesStreamDocument = "\n mutation PauseLdesStream($url: String!) {\n pauseLDESStream(url: $url) {\n success\n stream {\n url\n phase\n }\n }\n}\n ";
6012
6135
  export declare const usePauseLdesStreamMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLPauseLdesStreamMutation, TError, GQLPauseLdesStreamMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLPauseLdesStreamMutation, TError, Exact<{
6013
6136
  url: Scalars["String"]["input"];
@@ -6612,7 +6735,7 @@ export declare const useSuspenseDatastoreProvisioningStatusesQuery: {
6612
6735
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6613
6736
  }>)[];
6614
6737
  };
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 ";
6738
+ 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 productIds\n }\n}\n ";
6616
6739
  export declare const useDatastoreSubscriptionsQuery: {
6617
6740
  <TData = GQLDatastoreSubscriptionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreSubscriptionsQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>, "queryKey"> & {
6618
6741
  queryKey?: UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>["queryKey"];
@@ -6629,7 +6752,7 @@ export declare const useSuspenseDatastoreSubscriptionsQuery: {
6629
6752
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6630
6753
  }>)[];
6631
6754
  };
6632
- 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 ";
6633
6756
  export declare const useDatastoreTreeQuery: {
6634
6757
  <TData = GQLDatastoreTreeQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreTreeQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>, "queryKey"> & {
6635
6758
  queryKey?: UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>["queryKey"];
@@ -6900,6 +7023,23 @@ export declare const useSuspenseMetaSetupProgressQuery: {
6900
7023
  [key: string]: never;
6901
7024
  }>)[];
6902
7025
  };
7026
+ export declare const MicrosoftAdsSetupProgressDocument = "\n query MicrosoftAdsSetupProgress {\n microsoftAdsSetupProgress {\n state\n accounts {\n id\n name\n number\n customerId\n connectable\n }\n lastError {\n severity\n message\n title\n }\n }\n}\n ";
7027
+ export declare const useMicrosoftAdsSetupProgressQuery: {
7028
+ <TData = GQLMicrosoftAdsSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMicrosoftAdsSetupProgressQueryVariables, options?: Omit<UseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>, "queryKey"> & {
7029
+ queryKey?: UseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>["queryKey"];
7030
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
7031
+ getKey(variables?: GQLMicrosoftAdsSetupProgressQueryVariables): (string | Exact<{
7032
+ [key: string]: never;
7033
+ }>)[];
7034
+ };
7035
+ export declare const useSuspenseMicrosoftAdsSetupProgressQuery: {
7036
+ <TData = GQLMicrosoftAdsSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMicrosoftAdsSetupProgressQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>, "queryKey"> & {
7037
+ queryKey?: UseSuspenseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>["queryKey"];
7038
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
7039
+ getKey(variables?: GQLMicrosoftAdsSetupProgressQueryVariables): (string | Exact<{
7040
+ [key: string]: never;
7041
+ }>)[];
7042
+ };
6903
7043
  export declare const NodePropertiesDocument = "\n query NodeProperties($nodeIri: String!, $planGraphIri: IRI) {\n nodeProperties(nodeIri: $nodeIri, planGraphIri: $planGraphIri) {\n subject\n label\n typeName\n properties {\n predicate\n predicateLabel\n object\n objectLabel\n beforeObject\n beforeObjectLabel\n changeType\n }\n }\n}\n ";
6904
7044
  export declare const useNodePropertiesQuery: {
6905
7045
  <TData = GQLNodePropertiesQuery, TError = unknown>(client: GraphQLClient, variables: GQLNodePropertiesQueryVariables, options?: Omit<UseQueryOptions<GQLNodePropertiesQuery, TError, TData>, "queryKey"> & {