@getlatedev/node 0.2.1335 → 0.2.1336
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/README.md +2 -0
- package/dist/index.d.mts +58 -1
- package/dist/index.d.ts +58 -1
- package/dist/index.js +15 -1
- package/dist/index.mjs +15 -1
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/generated/sdk.gen.ts +39 -2
- package/src/generated/types.gen.ts +61 -0
|
@@ -2660,6 +2660,10 @@ export type BlogArticle = {
|
|
|
2660
2660
|
* URL slug of the article.
|
|
2661
2661
|
*/
|
|
2662
2662
|
handle?: string;
|
|
2663
|
+
/**
|
|
2664
|
+
* WordPress and Wix. Public URL of the article while it is published; null for drafts and scheduled posts, and on a Wix site that is not published yet.
|
|
2665
|
+
*/
|
|
2666
|
+
url?: (string) | null;
|
|
2663
2667
|
/**
|
|
2664
2668
|
* Tag names. On WordPress and Wix, missing tag names are created and matching is case-insensitive.
|
|
2665
2669
|
*/
|
|
@@ -24041,6 +24045,63 @@ export type GetGoogleAnalyticsConnectUrlError = (ErrorResponse | {
|
|
|
24041
24045
|
};
|
|
24042
24046
|
} | unknown);
|
|
24043
24047
|
|
|
24048
|
+
export type ListGoogleAnalyticsPropertiesData = {
|
|
24049
|
+
query: {
|
|
24050
|
+
/**
|
|
24051
|
+
* Token from the headless redirect.
|
|
24052
|
+
*/
|
|
24053
|
+
pendingDataToken: string;
|
|
24054
|
+
};
|
|
24055
|
+
};
|
|
24056
|
+
|
|
24057
|
+
export type ListGoogleAnalyticsPropertiesResponse = ({
|
|
24058
|
+
properties?: Array<{
|
|
24059
|
+
/**
|
|
24060
|
+
* Numeric GA4 property ID.
|
|
24061
|
+
*/
|
|
24062
|
+
propertyId?: string;
|
|
24063
|
+
displayName?: string;
|
|
24064
|
+
/**
|
|
24065
|
+
* Google Analytics account ID.
|
|
24066
|
+
*/
|
|
24067
|
+
accountId?: string;
|
|
24068
|
+
accountName?: string;
|
|
24069
|
+
}>;
|
|
24070
|
+
});
|
|
24071
|
+
|
|
24072
|
+
export type ListGoogleAnalyticsPropertiesError = (ErrorResponse | unknown);
|
|
24073
|
+
|
|
24074
|
+
export type SelectGoogleAnalyticsPropertyData = {
|
|
24075
|
+
body: {
|
|
24076
|
+
/**
|
|
24077
|
+
* Token from the headless redirect.
|
|
24078
|
+
*/
|
|
24079
|
+
pendingDataToken: string;
|
|
24080
|
+
/**
|
|
24081
|
+
* A propertyId from the properties list.
|
|
24082
|
+
*/
|
|
24083
|
+
propertyId: string;
|
|
24084
|
+
};
|
|
24085
|
+
};
|
|
24086
|
+
|
|
24087
|
+
export type SelectGoogleAnalyticsPropertyResponse = ({
|
|
24088
|
+
/**
|
|
24089
|
+
* Where to send the user next.
|
|
24090
|
+
*/
|
|
24091
|
+
redirect_url?: string;
|
|
24092
|
+
/**
|
|
24093
|
+
* The connected account, or null when the connect was refused.
|
|
24094
|
+
*/
|
|
24095
|
+
account?: {
|
|
24096
|
+
accountId?: string;
|
|
24097
|
+
platform?: string;
|
|
24098
|
+
username?: string;
|
|
24099
|
+
displayName?: string;
|
|
24100
|
+
} | null;
|
|
24101
|
+
});
|
|
24102
|
+
|
|
24103
|
+
export type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
|
|
24104
|
+
|
|
24044
24105
|
export type GetHubSpotConnectUrlData = {
|
|
24045
24106
|
query: {
|
|
24046
24107
|
/**
|