@manta-eu/client 0.3.0 → 0.4.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.
- package/dist/generated/graphql.d.ts +109 -1
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +66 -0
- package/dist/generated/graphql.js.map +1 -1
- package/dist/shared/action-document.d.ts +13 -4
- package/dist/shared/action-document.d.ts.map +1 -1
- package/dist/shared/action-document.js +55 -24
- package/dist/shared/action-document.js.map +1 -1
- package/dist/shared/email.d.ts.map +1 -1
- package/dist/shared/email.js +19 -17
- package/dist/shared/email.js.map +1 -1
- package/package.json +5 -7
- package/src/generated/graphql.ts +235 -4
- package/src/shared/action-document.ts +88 -35
- package/src/shared/email.ts +23 -17
|
@@ -933,6 +933,7 @@ export type GQLDatastoreSubscription = {
|
|
|
933
933
|
inGoodStanding: Scalars["Boolean"]["output"];
|
|
934
934
|
interval?: Maybe<Scalars["String"]["output"]>;
|
|
935
935
|
intervalCount?: Maybe<Scalars["Int"]["output"]>;
|
|
936
|
+
productIds: Array<Scalars["String"]["output"]>;
|
|
936
937
|
status: Scalars["String"]["output"];
|
|
937
938
|
};
|
|
938
939
|
export type GQLDatastoreTreeNode = {
|
|
@@ -1225,6 +1226,7 @@ export declare enum GQLInferalIntegrationProvider {
|
|
|
1225
1226
|
Linkedin = "LINKEDIN",
|
|
1226
1227
|
Mailchimp = "MAILCHIMP",
|
|
1227
1228
|
Meta = "META",
|
|
1229
|
+
Microsoftads = "MICROSOFTADS",
|
|
1228
1230
|
Pinterest = "PINTEREST",
|
|
1229
1231
|
Shopify = "SHOPIFY",
|
|
1230
1232
|
Slack = "SLACK",
|
|
@@ -1244,21 +1246,31 @@ export declare enum GQLInferalLocation {
|
|
|
1244
1246
|
}
|
|
1245
1247
|
export type GQLInferalProviderInput = {
|
|
1246
1248
|
klaviyo: GQLKlaviyoProviderInput;
|
|
1249
|
+
microsoftAds?: never;
|
|
1247
1250
|
shopify?: never;
|
|
1248
1251
|
triplewhale?: never;
|
|
1249
1252
|
woocommerce?: never;
|
|
1250
1253
|
} | {
|
|
1251
1254
|
klaviyo?: never;
|
|
1255
|
+
microsoftAds: GQLMicrosoftAdsProviderInput;
|
|
1256
|
+
shopify?: never;
|
|
1257
|
+
triplewhale?: never;
|
|
1258
|
+
woocommerce?: never;
|
|
1259
|
+
} | {
|
|
1260
|
+
klaviyo?: never;
|
|
1261
|
+
microsoftAds?: never;
|
|
1252
1262
|
shopify: GQLShopifyProviderInput;
|
|
1253
1263
|
triplewhale?: never;
|
|
1254
1264
|
woocommerce?: never;
|
|
1255
1265
|
} | {
|
|
1256
1266
|
klaviyo?: never;
|
|
1267
|
+
microsoftAds?: never;
|
|
1257
1268
|
shopify?: never;
|
|
1258
1269
|
triplewhale: GQLTriplewhaleProviderInput;
|
|
1259
1270
|
woocommerce?: never;
|
|
1260
1271
|
} | {
|
|
1261
1272
|
klaviyo?: never;
|
|
1273
|
+
microsoftAds?: never;
|
|
1262
1274
|
shopify?: never;
|
|
1263
1275
|
triplewhale?: never;
|
|
1264
1276
|
woocommerce: GQLWoocommerceProviderInput;
|
|
@@ -1286,6 +1298,7 @@ export declare enum GQLIntegration {
|
|
|
1286
1298
|
GoogleAnalytics = "GOOGLE_ANALYTICS",
|
|
1287
1299
|
Linkedin = "LINKEDIN",
|
|
1288
1300
|
Meta = "META",
|
|
1301
|
+
MicrosoftAds = "MICROSOFT_ADS",
|
|
1289
1302
|
Shopify = "SHOPIFY",
|
|
1290
1303
|
Slack = "SLACK",
|
|
1291
1304
|
Snapchat = "SNAPCHAT",
|
|
@@ -1602,6 +1615,23 @@ export declare enum GQLMetaSetupStateEnum {
|
|
|
1602
1615
|
Setup = "SETUP",
|
|
1603
1616
|
TimedOut = "TIMED_OUT"
|
|
1604
1617
|
}
|
|
1618
|
+
export type GQLMicrosoftAdsAccount = {
|
|
1619
|
+
__typename?: "MicrosoftAdsAccount";
|
|
1620
|
+
connectable: Scalars["Boolean"]["output"];
|
|
1621
|
+
customerId?: Maybe<Scalars["String"]["output"]>;
|
|
1622
|
+
id: Scalars["String"]["output"];
|
|
1623
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
1624
|
+
number?: Maybe<Scalars["String"]["output"]>;
|
|
1625
|
+
};
|
|
1626
|
+
export type GQLMicrosoftAdsProviderInput = {
|
|
1627
|
+
accountId: Scalars["String"]["input"];
|
|
1628
|
+
};
|
|
1629
|
+
export type GQLMicrosoftAdsSetupProgress = {
|
|
1630
|
+
__typename?: "MicrosoftAdsSetupProgress";
|
|
1631
|
+
accounts?: Maybe<Array<GQLMicrosoftAdsAccount>>;
|
|
1632
|
+
lastError?: Maybe<GQLGoogleSetupLastError>;
|
|
1633
|
+
state: Array<GQLGoogleSetupStateEnum>;
|
|
1634
|
+
};
|
|
1605
1635
|
export type GQLMutation = {
|
|
1606
1636
|
__typename?: "Mutation";
|
|
1607
1637
|
abortUpload: GQLAbortUploadResponse;
|
|
@@ -1655,6 +1685,7 @@ export type GQLMutation = {
|
|
|
1655
1685
|
manualActionResolve?: Maybe<GQLManualActionResolvePayload>;
|
|
1656
1686
|
materializeOntologyCoverage: GQLMaterializeOntologyCoverageResponse;
|
|
1657
1687
|
metaSetupConnect: GQLMetaSetupProgress;
|
|
1688
|
+
microsoftAdsSetupConnect: GQLMicrosoftAdsSetupProgress;
|
|
1658
1689
|
pauseLDESStream: GQLLdesStreamResponse;
|
|
1659
1690
|
provisionDatastore: GQLProvisionDatastoreResponse;
|
|
1660
1691
|
reconfirmMemory: GQLUpdateMemoryResponse;
|
|
@@ -1877,6 +1908,10 @@ export type GQLMutationManualActionResolveArgs = {
|
|
|
1877
1908
|
export type GQLMutationMetaSetupConnectArgs = {
|
|
1878
1909
|
accountIds: Array<Scalars["String"]["input"]>;
|
|
1879
1910
|
};
|
|
1911
|
+
export type GQLMutationMicrosoftAdsSetupConnectArgs = {
|
|
1912
|
+
accountIds: Array<Scalars["String"]["input"]>;
|
|
1913
|
+
location: GQLInferalLocation;
|
|
1914
|
+
};
|
|
1880
1915
|
export type GQLMutationPauseLdesStreamArgs = {
|
|
1881
1916
|
url: Scalars["String"]["input"];
|
|
1882
1917
|
};
|
|
@@ -2136,6 +2171,7 @@ export type GQLQuery = {
|
|
|
2136
2171
|
memoryReplaySeries: GQLMemoryReplaySeriesResult;
|
|
2137
2172
|
memorySchemas: GQLMemorySchemasResponse;
|
|
2138
2173
|
metaSetupProgress: GQLMetaSetupProgress;
|
|
2174
|
+
microsoftAdsSetupProgress: GQLMicrosoftAdsSetupProgress;
|
|
2139
2175
|
nodeProperties: GQLNodePropertiesResponse;
|
|
2140
2176
|
nodeRelationships: GQLActionPlanGraphResponse;
|
|
2141
2177
|
organizationLinking?: Maybe<GQLOrganizationLinking>;
|
|
@@ -3727,6 +3763,31 @@ export type GQLMetaSetupConnectMutation = {
|
|
|
3727
3763
|
} | null;
|
|
3728
3764
|
};
|
|
3729
3765
|
};
|
|
3766
|
+
export type GQLMicrosoftAdsSetupConnectMutationVariables = Exact<{
|
|
3767
|
+
accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
3768
|
+
location: GQLInferalLocation;
|
|
3769
|
+
}>;
|
|
3770
|
+
export type GQLMicrosoftAdsSetupConnectMutation = {
|
|
3771
|
+
__typename?: "Mutation";
|
|
3772
|
+
microsoftAdsSetupConnect: {
|
|
3773
|
+
__typename?: "MicrosoftAdsSetupProgress";
|
|
3774
|
+
state: Array<GQLGoogleSetupStateEnum>;
|
|
3775
|
+
accounts?: Array<{
|
|
3776
|
+
__typename?: "MicrosoftAdsAccount";
|
|
3777
|
+
id: string;
|
|
3778
|
+
name?: string | null;
|
|
3779
|
+
number?: string | null;
|
|
3780
|
+
customerId?: string | null;
|
|
3781
|
+
connectable: boolean;
|
|
3782
|
+
}> | null;
|
|
3783
|
+
lastError?: {
|
|
3784
|
+
__typename?: "GoogleSetupLastError";
|
|
3785
|
+
severity: string;
|
|
3786
|
+
message: string;
|
|
3787
|
+
title?: string | null;
|
|
3788
|
+
} | null;
|
|
3789
|
+
};
|
|
3790
|
+
};
|
|
3730
3791
|
export type GQLPauseLdesStreamMutationVariables = Exact<{
|
|
3731
3792
|
url: Scalars["String"]["input"];
|
|
3732
3793
|
}>;
|
|
@@ -4989,6 +5050,7 @@ export type GQLDatastoreSubscriptionsQuery = {
|
|
|
4989
5050
|
currency?: string | null;
|
|
4990
5051
|
interval?: string | null;
|
|
4991
5052
|
intervalCount?: number | null;
|
|
5053
|
+
productIds: Array<string>;
|
|
4992
5054
|
}>;
|
|
4993
5055
|
};
|
|
4994
5056
|
export type GQLDatastoreTreeQueryVariables = Exact<{
|
|
@@ -5382,6 +5444,30 @@ export type GQLMetaSetupProgressQuery = {
|
|
|
5382
5444
|
} | null;
|
|
5383
5445
|
};
|
|
5384
5446
|
};
|
|
5447
|
+
export type GQLMicrosoftAdsSetupProgressQueryVariables = Exact<{
|
|
5448
|
+
[key: string]: never;
|
|
5449
|
+
}>;
|
|
5450
|
+
export type GQLMicrosoftAdsSetupProgressQuery = {
|
|
5451
|
+
__typename?: "Query";
|
|
5452
|
+
microsoftAdsSetupProgress: {
|
|
5453
|
+
__typename?: "MicrosoftAdsSetupProgress";
|
|
5454
|
+
state: Array<GQLGoogleSetupStateEnum>;
|
|
5455
|
+
accounts?: Array<{
|
|
5456
|
+
__typename?: "MicrosoftAdsAccount";
|
|
5457
|
+
id: string;
|
|
5458
|
+
name?: string | null;
|
|
5459
|
+
number?: string | null;
|
|
5460
|
+
customerId?: string | null;
|
|
5461
|
+
connectable: boolean;
|
|
5462
|
+
}> | null;
|
|
5463
|
+
lastError?: {
|
|
5464
|
+
__typename?: "GoogleSetupLastError";
|
|
5465
|
+
severity: string;
|
|
5466
|
+
message: string;
|
|
5467
|
+
title?: string | null;
|
|
5468
|
+
} | null;
|
|
5469
|
+
};
|
|
5470
|
+
};
|
|
5385
5471
|
export type GQLNodePropertiesQueryVariables = Exact<{
|
|
5386
5472
|
nodeIri: Scalars["String"]["input"];
|
|
5387
5473
|
planGraphIri?: InputMaybe<Scalars["IRI"]["input"]>;
|
|
@@ -6008,6 +6094,11 @@ export declare const MetaSetupConnectDocument = "\n mutation MetaSetupConnect
|
|
|
6008
6094
|
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
6095
|
accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
6010
6096
|
}>, TContext>;
|
|
6097
|
+
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 ";
|
|
6098
|
+
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<{
|
|
6099
|
+
accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
6100
|
+
location: GQLInferalLocation;
|
|
6101
|
+
}>, TContext>;
|
|
6011
6102
|
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
6103
|
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
6104
|
url: Scalars["String"]["input"];
|
|
@@ -6612,7 +6703,7 @@ export declare const useSuspenseDatastoreProvisioningStatusesQuery: {
|
|
|
6612
6703
|
datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
6613
6704
|
}>)[];
|
|
6614
6705
|
};
|
|
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 ";
|
|
6706
|
+
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
6707
|
export declare const useDatastoreSubscriptionsQuery: {
|
|
6617
6708
|
<TData = GQLDatastoreSubscriptionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreSubscriptionsQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>, "queryKey"> & {
|
|
6618
6709
|
queryKey?: UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>["queryKey"];
|
|
@@ -6900,6 +6991,23 @@ export declare const useSuspenseMetaSetupProgressQuery: {
|
|
|
6900
6991
|
[key: string]: never;
|
|
6901
6992
|
}>)[];
|
|
6902
6993
|
};
|
|
6994
|
+
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 ";
|
|
6995
|
+
export declare const useMicrosoftAdsSetupProgressQuery: {
|
|
6996
|
+
<TData = GQLMicrosoftAdsSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMicrosoftAdsSetupProgressQueryVariables, options?: Omit<UseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>, "queryKey"> & {
|
|
6997
|
+
queryKey?: UseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>["queryKey"];
|
|
6998
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
|
|
6999
|
+
getKey(variables?: GQLMicrosoftAdsSetupProgressQueryVariables): (string | Exact<{
|
|
7000
|
+
[key: string]: never;
|
|
7001
|
+
}>)[];
|
|
7002
|
+
};
|
|
7003
|
+
export declare const useSuspenseMicrosoftAdsSetupProgressQuery: {
|
|
7004
|
+
<TData = GQLMicrosoftAdsSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMicrosoftAdsSetupProgressQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>, "queryKey"> & {
|
|
7005
|
+
queryKey?: UseSuspenseQueryOptions<GQLMicrosoftAdsSetupProgressQuery, TError, TData>["queryKey"];
|
|
7006
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
|
|
7007
|
+
getKey(variables?: GQLMicrosoftAdsSetupProgressQueryVariables): (string | Exact<{
|
|
7008
|
+
[key: string]: never;
|
|
7009
|
+
}>)[];
|
|
7010
|
+
};
|
|
6903
7011
|
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
7012
|
export declare const useNodePropertiesQuery: {
|
|
6905
7013
|
<TData = GQLNodePropertiesQuery, TError = unknown>(client: GraphQLClient, variables: GQLNodePropertiesQueryVariables, options?: Omit<UseQueryOptions<GQLNodePropertiesQuery, TError, TData>, "queryKey"> & {
|