@getlatedev/node 0.2.1226 → 0.2.1227

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.
@@ -2295,35 +2295,35 @@ export type billingSystem = 'metronome' | 'stripe' | 'shopify';
2295
2295
  */
2296
2296
  export type Blog = {
2297
2297
  /**
2298
- * Platform-native blog id. Shopify uses a numeric blog id. WordPress.com uses the numeric site id; self-hosted WordPress uses `1`, scoped to the connected account.
2298
+ * Platform-native blog id. Shopify uses a numeric blog id. WordPress.com uses the numeric site id; self-hosted WordPress and Wix use `1`, scoped to the connected account.
2299
2299
  */
2300
2300
  id?: string;
2301
- platform?: 'shopify' | 'wordpress';
2301
+ platform?: 'shopify' | 'wordpress' | 'wix';
2302
2302
  title?: string;
2303
2303
  /**
2304
- * URL slug on Shopify; site hostname on WordPress.
2304
+ * URL slug on Shopify; site hostname on WordPress and Wix.
2305
2305
  */
2306
2306
  handle?: string;
2307
2307
  };
2308
2308
 
2309
- export type platform3 = 'shopify' | 'wordpress';
2309
+ export type platform3 = 'shopify' | 'wordpress' | 'wix';
2310
2310
 
2311
2311
  /**
2312
2312
  * An article inside a blog on the connected platform.
2313
2313
  */
2314
2314
  export type BlogArticle = {
2315
2315
  /**
2316
- * Platform-native numeric article/post id.
2316
+ * Platform-native article/post id: numeric on Shopify and WordPress, a GUID on Wix.
2317
2317
  */
2318
2318
  id?: string;
2319
2319
  /**
2320
2320
  * Platform-native id of the blog the article belongs to.
2321
2321
  */
2322
2322
  blogId?: string;
2323
- platform?: 'shopify' | 'wordpress';
2323
+ platform?: 'shopify' | 'wordpress' | 'wix';
2324
2324
  title?: string;
2325
2325
  /**
2326
- * Article body as HTML.
2326
+ * Article body as HTML. Wix stores rich content, converted from and to HTML; Wix lists return null (get the article for its body).
2327
2327
  */
2328
2328
  bodyHtml?: (string) | null;
2329
2329
  /**
@@ -2331,11 +2331,11 @@ export type BlogArticle = {
2331
2331
  */
2332
2332
  handle?: string;
2333
2333
  /**
2334
- * Tag names. On WordPress, missing tag names are created and matching is case-insensitive.
2334
+ * Tag names. On WordPress and Wix, missing tag names are created and matching is case-insensitive.
2335
2335
  */
2336
2336
  tags?: Array<(string)>;
2337
2337
  /**
2338
- * Shopify author display name, or numeric WordPress user id serialized as a string.
2338
+ * Shopify author display name, numeric WordPress user id serialized as a string, or Wix site member id. Wix posts without one are attributed to the site's default author.
2339
2339
  */
2340
2340
  author?: (string) | null;
2341
2341
  /**
@@ -2358,11 +2358,11 @@ export type BlogArticle = {
2358
2358
  */
2359
2359
  publishedAt?: (string) | null;
2360
2360
  /**
2361
- * WordPress only. Native post status returned by WordPress; omitted for Shopify.
2361
+ * WordPress and Wix. Post status (`future` = scheduled, `pending` = in review on Wix); omitted for Shopify.
2362
2362
  */
2363
2363
  status?: 'publish' | 'future' | 'draft' | 'pending' | 'private';
2364
2364
  /**
2365
- * WordPress only. Scheduled publication time in UTC when status is `future`; null for other WordPress statuses and omitted for Shopify.
2365
+ * WordPress and Wix. Scheduled publication time in UTC when status is `future`; null for other statuses and omitted for Shopify.
2366
2366
  */
2367
2367
  publishDate?: (string) | null;
2368
2368
  /**
@@ -2376,7 +2376,7 @@ export type BlogArticle = {
2376
2376
  };
2377
2377
 
2378
2378
  /**
2379
- * WordPress only. Native post status returned by WordPress; omitted for Shopify.
2379
+ * WordPress and Wix. Post status (`future` = scheduled, `pending` = in review on Wix); omitted for Shopify.
2380
2380
  */
2381
2381
  export type status3 = 'publish' | 'future' | 'draft' | 'pending' | 'private';
2382
2382
 
@@ -10913,7 +10913,7 @@ export type contentType3 = 'story' | 'saved_story' | 'spotlight';
10913
10913
 
10914
10914
  export type SocialAccount = {
10915
10915
  _id: string;
10916
- platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads';
10916
+ platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads';
10917
10917
  profileId: (string | Profile);
10918
10918
  username?: string;
10919
10919
  displayName?: string;
@@ -11023,7 +11023,7 @@ export type SocialAccount = {
11023
11023
  };
11024
11024
  };
11025
11025
 
11026
- export type platform11 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads';
11026
+ export type platform11 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads';
11027
11027
 
11028
11028
  /**
11029
11029
  * TikTok accounts only. The account type TikTok reported when the account was connected. `personal` accounts cannot use TikTok direct messages through the API (TikTok limits Business Messaging to Business Accounts): skip the inbox for them and tell the user to switch to a Business Account in the TikTok app, then reconnect. `business` is the prerequisite, not a guarantee; messaging also needs the messaging scopes granted and TikTok's regional availability. `unknown` on accounts connected before this was captured or whose grant left out the account-type scope.
@@ -11100,6 +11100,11 @@ export type StorePixelInstall = {
11100
11100
  sidebarId?: (string) | null;
11101
11101
  };
11102
11102
 
11103
+ /**
11104
+ * The store platform.
11105
+ */
11106
+ export type platform12 = 'shopify' | 'wordpress';
11107
+
11103
11108
  /**
11104
11109
  * WordPress only.
11105
11110
  */
@@ -11779,7 +11784,7 @@ export type TrackingTag = {
11779
11784
  autoTagging?: boolean;
11780
11785
  };
11781
11786
 
11782
- export type platform12 = 'metaads' | 'openaiads' | 'tiktokads' | 'googleads' | 'xads' | 'linkedinads' | 'pinterestads' | 'whopads';
11787
+ export type platform13 = 'metaads' | 'openaiads' | 'tiktokads' | 'googleads' | 'xads' | 'linkedinads' | 'pinterestads' | 'whopads';
11783
11788
 
11784
11789
  /**
11785
11790
  * Platform-native flavor of the tag (Meta: `pixel`).
@@ -13691,7 +13696,7 @@ export type WebhookPayloadComment = {
13691
13696
 
13692
13697
  export type event14 = 'comment.received';
13693
13698
 
13694
- export type platform13 = 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
13699
+ export type platform14 = 'instagram' | 'facebook' | 'threads' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit' | 'tiktok';
13695
13700
 
13696
13701
  export type WebhookPayloadCommerceOrder = {
13697
13702
  /**
@@ -14053,7 +14058,7 @@ export type WebhookPayloadLead = {
14053
14058
 
14054
14059
  export type event22 = 'lead.received';
14055
14060
 
14056
- export type platform14 = 'facebook';
14061
+ export type platform15 = 'facebook';
14057
14062
 
14058
14063
  /**
14059
14064
  * Webhook payload for message received events
@@ -15070,7 +15075,7 @@ export type event27 = 'message.sent';
15070
15075
  /**
15071
15076
  * Every platform whose outgoing messages Zernio observes. sms is absent on purpose: its carrier receipts update delivery status and never raise message.sent.
15072
15077
  */
15073
- export type platform15 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'slack' | 'tiktok' | 'imessage';
15078
+ export type platform16 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'slack' | 'tiktok' | 'imessage';
15074
15079
 
15075
15080
  /**
15076
15081
  * WhatsApp send origin. whatsapp_business_app when sent from the WhatsApp Business phone app on a Coexistence number; cloud_api when sent through Zernio (dashboard, API, or broadcasts); meta_business_agent when Meta Business Agent answered on the number. Absent on non-WhatsApp platforms. Says where WhatsApp saw the send come from, not which Zernio surface produced it: read sentVia for that.
@@ -15645,7 +15650,7 @@ export type WebhookPayloadWhatsAppAccountAlertReceived = {
15645
15650
 
15646
15651
  export type event38 = 'whatsapp.account.alert_received';
15647
15652
 
15648
- export type platform16 = 'whatsapp';
15653
+ export type platform17 = 'whatsapp';
15649
15654
 
15650
15655
  /**
15651
15656
  * Webhook payload for the `whatsapp.account.name_status_updated` event.
@@ -20229,7 +20234,7 @@ export type GetAllAccountsHealthData = {
20229
20234
  /**
20230
20235
  * Filter by platform
20231
20236
  */
20232
- platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'whopads';
20237
+ platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'whopads';
20233
20238
  /**
20234
20239
  * Filter by profile ID
20235
20240
  */
@@ -21891,6 +21896,87 @@ export type GetWordPressAuthUrlError = (unknown | ErrorResponse | {
21891
21896
  };
21892
21897
  });
21893
21898
 
21899
+ export type GetWixConnectUrlData = {
21900
+ query: {
21901
+ /**
21902
+ * Your Zernio profile ID (get from /v1/profiles).
21903
+ */
21904
+ profileId: string;
21905
+ /**
21906
+ * Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.
21907
+ */
21908
+ redirect_url?: string;
21909
+ };
21910
+ };
21911
+
21912
+ export type GetWixConnectUrlResponse = ({
21913
+ /**
21914
+ * Wix installer URL to open in the user agent.
21915
+ */
21916
+ authUrl: string;
21917
+ /**
21918
+ * Authenticated, expiring state handled by the callback.
21919
+ */
21920
+ state: string;
21921
+ });
21922
+
21923
+ export type GetWixConnectUrlError = (unknown | ErrorResponse | {
21924
+ /**
21925
+ * Human-readable error message suitable for end-user display.
21926
+ */
21927
+ error: string;
21928
+ /**
21929
+ * Machine-readable error code. Stable across versions.
21930
+ */
21931
+ code: 'PAYMENT_REQUIRED';
21932
+ /**
21933
+ * Discriminator for which gate fired.
21934
+ */
21935
+ reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
21936
+ /**
21937
+ * Link to the relevant documentation page.
21938
+ */
21939
+ documentation_url?: string;
21940
+ /**
21941
+ * Deep-link to send the end-user to. For
21942
+ * `free_tier_exceeded` and `twitter_passthrough` this opens
21943
+ * the add-payment-method drawer on the Zernio billing page.
21944
+ * For `enterprise_required` this is the Zernio enterprise
21945
+ * contact page.
21946
+ *
21947
+ */
21948
+ dashboard_url?: string;
21949
+ /**
21950
+ * Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
21951
+ */
21952
+ details?: {
21953
+ /**
21954
+ * How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
21955
+ */
21956
+ free_tier_account_limit?: number;
21957
+ /**
21958
+ * How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
21959
+ */
21960
+ current_account_count?: number;
21961
+ /**
21962
+ * Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
21963
+ */
21964
+ has_payment_method?: boolean;
21965
+ /**
21966
+ * One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
21967
+ */
21968
+ verification_amount_cents?: number;
21969
+ /**
21970
+ * The negotiated connected-account cap from the
21971
+ * team's enterprise contract. Self-service teams
21972
+ * have no cap and never receive this reason. Only
21973
+ * set when reason=enterprise_required.
21974
+ *
21975
+ */
21976
+ effective_account_limit?: number;
21977
+ };
21978
+ });
21979
+
21894
21980
  export type ConnectWordPressWithApplicationPasswordData = {
21895
21981
  body: {
21896
21982
  /**
@@ -54714,7 +54800,7 @@ export type GetTrackingTagStatsError = (unknown | ErrorResponse);
54714
54800
  export type ListBlogsData = {
54715
54801
  path: {
54716
54802
  /**
54717
- * Connected Shopify or WordPress account id.
54803
+ * Connected Shopify, WordPress or Wix account id.
54718
54804
  */
54719
54805
  accountId: string;
54720
54806
  };
@@ -54731,7 +54817,7 @@ export type ListBlogsData = {
54731
54817
  };
54732
54818
 
54733
54819
  export type ListBlogsResponse = ({
54734
- platform?: 'shopify' | 'wordpress';
54820
+ platform?: 'shopify' | 'wordpress' | 'wix';
54735
54821
  blogs?: Array<Blog>;
54736
54822
  /**
54737
54823
  * Cursor for the next page; null when there are no more pages.
@@ -54767,18 +54853,18 @@ export type CreateBlogError = (ErrorResponse | unknown);
54767
54853
  export type GetBlogData = {
54768
54854
  path: {
54769
54855
  /**
54770
- * Connected Shopify or WordPress account id.
54856
+ * Connected Shopify, WordPress or Wix account id.
54771
54857
  */
54772
54858
  accountId: string;
54773
54859
  /**
54774
- * Platform-native numeric blog/site id returned by the list operation.
54860
+ * Platform-native blog/site id returned by the list operation.
54775
54861
  */
54776
54862
  blogId: string;
54777
54863
  };
54778
54864
  };
54779
54865
 
54780
54866
  export type GetBlogResponse = ({
54781
- platform?: 'shopify' | 'wordpress';
54867
+ platform?: 'shopify' | 'wordpress' | 'wix';
54782
54868
  blog?: Blog;
54783
54869
  });
54784
54870
 
@@ -54798,7 +54884,7 @@ export type UpdateBlogData = {
54798
54884
  */
54799
54885
  accountId: string;
54800
54886
  /**
54801
- * Platform-native numeric blog id. Non-numeric values return 400.
54887
+ * Platform-native blog id. Shopify blog ids are numeric; other values return 400.
54802
54888
  */
54803
54889
  blogId: string;
54804
54890
  };
@@ -54818,7 +54904,7 @@ export type DeleteBlogData = {
54818
54904
  */
54819
54905
  accountId: string;
54820
54906
  /**
54821
- * Platform-native numeric blog id. Non-numeric values return 400.
54907
+ * Platform-native blog id. Shopify blog ids are numeric; other values return 400.
54822
54908
  */
54823
54909
  blogId: string;
54824
54910
  };
@@ -54831,11 +54917,11 @@ export type DeleteBlogError = (ErrorResponse | unknown);
54831
54917
  export type ListBlogArticlesData = {
54832
54918
  path: {
54833
54919
  /**
54834
- * Connected Shopify or WordPress account id.
54920
+ * Connected Shopify, WordPress or Wix account id.
54835
54921
  */
54836
54922
  accountId: string;
54837
54923
  /**
54838
- * Platform-native numeric blog/site id returned by the list operation.
54924
+ * Platform-native blog/site id returned by the list operation.
54839
54925
  */
54840
54926
  blogId: string;
54841
54927
  };
@@ -54852,7 +54938,7 @@ export type ListBlogArticlesData = {
54852
54938
  };
54853
54939
 
54854
54940
  export type ListBlogArticlesResponse = ({
54855
- platform?: 'shopify' | 'wordpress';
54941
+ platform?: 'shopify' | 'wordpress' | 'wix';
54856
54942
  articles?: Array<BlogArticle>;
54857
54943
  /**
54858
54944
  * Cursor for the next page; null when there are no more pages.
@@ -54874,11 +54960,11 @@ export type CreateBlogArticleData = {
54874
54960
  */
54875
54961
  handle?: string;
54876
54962
  /**
54877
- * Tag names. WordPress resolves existing names case-insensitively and creates missing tags.
54963
+ * Tag names. WordPress and Wix resolve existing names case-insensitively and create missing tags (Wix allows up to 30).
54878
54964
  */
54879
54965
  tags?: Array<(string)>;
54880
54966
  /**
54881
- * Shopify author display name, or numeric WordPress user id serialized as a string. Assigning another WordPress user may require elevated capability.
54967
+ * Shopify author display name, numeric WordPress user id serialized as a string, or Wix site member id. Assigning another WordPress user may require elevated capability. Wix posts without one go to the site's default author.
54882
54968
  */
54883
54969
  author?: string;
54884
54970
  /**
@@ -54886,21 +54972,21 @@ export type CreateBlogArticleData = {
54886
54972
  */
54887
54973
  excerpt?: string;
54888
54974
  /**
54889
- * Featured image from a public URL. WordPress downloads it into the media library; JPEG, PNG, GIF and WebP are accepted up to 10 MB.
54975
+ * Featured image from a public URL. WordPress downloads it into the media library and Wix imports it into the Media Manager; JPEG, PNG, GIF and WebP are accepted up to 10 MB.
54890
54976
  */
54891
54977
  image?: {
54892
54978
  url: string;
54893
54979
  altText?: string;
54894
54980
  };
54895
54981
  /**
54896
- * Shopify only. Search-engine overrides mapped to global title_tag and description_tag metafields. WordPress rejects this field.
54982
+ * Shopify and Wix. Search-engine overrides: Shopify global title_tag and description_tag metafields, Wix post SEO title and meta description. WordPress rejects this field.
54897
54983
  */
54898
54984
  seo?: {
54899
54985
  title?: string;
54900
54986
  description?: string;
54901
54987
  };
54902
54988
  /**
54903
- * Set false for a draft or true to publish. On WordPress false takes priority over a future publishDate; omission with no date defaults to draft.
54989
+ * Set false for a draft or true to publish. On WordPress and Wix false takes priority over a future publishDate; omission with no date defaults to draft.
54904
54990
  */
54905
54991
  isPublished?: boolean;
54906
54992
  /**
@@ -54910,18 +54996,18 @@ export type CreateBlogArticleData = {
54910
54996
  };
54911
54997
  path: {
54912
54998
  /**
54913
- * Connected Shopify or WordPress account id.
54999
+ * Connected Shopify, WordPress or Wix account id.
54914
55000
  */
54915
55001
  accountId: string;
54916
55002
  /**
54917
- * Platform-native numeric blog/site id returned by the list operation.
55003
+ * Platform-native blog/site id returned by the list operation.
54918
55004
  */
54919
55005
  blogId: string;
54920
55006
  };
54921
55007
  };
54922
55008
 
54923
55009
  export type CreateBlogArticleResponse = ({
54924
- platform?: 'shopify' | 'wordpress';
55010
+ platform?: 'shopify' | 'wordpress' | 'wix';
54925
55011
  article?: BlogArticle;
54926
55012
  });
54927
55013
 
@@ -54930,22 +55016,22 @@ export type CreateBlogArticleError = (ErrorResponse | unknown);
54930
55016
  export type GetBlogArticleData = {
54931
55017
  path: {
54932
55018
  /**
54933
- * Connected Shopify or WordPress account id.
55019
+ * Connected Shopify, WordPress or Wix account id.
54934
55020
  */
54935
55021
  accountId: string;
54936
55022
  /**
54937
- * Platform-native numeric article id. Non-numeric values return 400.
55023
+ * Platform-native article id: numeric on Shopify and WordPress, a GUID on Wix. Other formats return 400.
54938
55024
  */
54939
55025
  articleId: string;
54940
55026
  /**
54941
- * Platform-native numeric blog/site id returned by the list operation.
55027
+ * Platform-native blog/site id returned by the list operation.
54942
55028
  */
54943
55029
  blogId: string;
54944
55030
  };
54945
55031
  };
54946
55032
 
54947
55033
  export type GetBlogArticleResponse = ({
54948
- platform?: 'shopify' | 'wordpress';
55034
+ platform?: 'shopify' | 'wordpress' | 'wix';
54949
55035
  article?: BlogArticle;
54950
55036
  });
54951
55037
 
@@ -54963,11 +55049,11 @@ export type UpdateBlogArticleData = {
54963
55049
  */
54964
55050
  handle?: string;
54965
55051
  /**
54966
- * Replaces the full tag-name list. WordPress resolves existing names case-insensitively and creates missing tags.
55052
+ * Replaces the full tag-name list. WordPress and Wix resolve existing names case-insensitively and create missing tags (Wix allows up to 30).
54967
55053
  */
54968
55054
  tags?: Array<(string)>;
54969
55055
  /**
54970
- * Shopify author display name, or numeric WordPress user id serialized as a string. Assigning another WordPress user may require elevated capability.
55056
+ * Shopify author display name, numeric WordPress user id serialized as a string, or Wix site member id. Assigning another WordPress user may require elevated capability. Wix posts without one go to the site's default author.
54971
55057
  */
54972
55058
  author?: string;
54973
55059
  /**
@@ -54975,21 +55061,21 @@ export type UpdateBlogArticleData = {
54975
55061
  */
54976
55062
  excerpt?: string;
54977
55063
  /**
54978
- * Featured image from a public URL. WordPress downloads it into the media library; JPEG, PNG, GIF and WebP are accepted up to 10 MB. Omit to preserve it; null removal is not supported.
55064
+ * Featured image from a public URL. WordPress downloads it into the media library and Wix imports it into the Media Manager; JPEG, PNG, GIF and WebP are accepted up to 10 MB. Omit to preserve it; null removal is not supported.
54979
55065
  */
54980
55066
  image?: {
54981
55067
  url: string;
54982
55068
  altText?: string;
54983
55069
  };
54984
55070
  /**
54985
- * Shopify only. Search-engine overrides mapped to global title_tag and description_tag metafields. WordPress rejects this field.
55071
+ * Shopify and Wix. Search-engine overrides: Shopify global title_tag and description_tag metafields, Wix post SEO title and meta description. WordPress rejects this field.
54986
55072
  */
54987
55073
  seo?: {
54988
55074
  title?: string;
54989
55075
  description?: string;
54990
55076
  };
54991
55077
  /**
54992
- * Set false to move to draft or true to publish. On WordPress false takes priority over a future publishDate; omission preserves status unless publishDate is sent.
55078
+ * Set false to move to draft or true to publish. On WordPress and Wix false takes priority over a future publishDate; omission preserves status unless publishDate is sent (edits to a published Wix post go live).
54993
55079
  */
54994
55080
  isPublished?: boolean;
54995
55081
  /**
@@ -54999,22 +55085,22 @@ export type UpdateBlogArticleData = {
54999
55085
  };
55000
55086
  path: {
55001
55087
  /**
55002
- * Connected Shopify or WordPress account id.
55088
+ * Connected Shopify, WordPress or Wix account id.
55003
55089
  */
55004
55090
  accountId: string;
55005
55091
  /**
55006
- * Platform-native numeric article id. Non-numeric values return 400.
55092
+ * Platform-native article id: numeric on Shopify and WordPress, a GUID on Wix. Other formats return 400.
55007
55093
  */
55008
55094
  articleId: string;
55009
55095
  /**
55010
- * Platform-native numeric blog/site id returned by the list operation.
55096
+ * Platform-native blog/site id returned by the list operation.
55011
55097
  */
55012
55098
  blogId: string;
55013
55099
  };
55014
55100
  };
55015
55101
 
55016
55102
  export type UpdateBlogArticleResponse = ({
55017
- platform?: 'shopify' | 'wordpress';
55103
+ platform?: 'shopify' | 'wordpress' | 'wix';
55018
55104
  article?: BlogArticle;
55019
55105
  });
55020
55106
 
@@ -55023,15 +55109,15 @@ export type UpdateBlogArticleError = (ErrorResponse | unknown);
55023
55109
  export type DeleteBlogArticleData = {
55024
55110
  path: {
55025
55111
  /**
55026
- * Connected Shopify or WordPress account id.
55112
+ * Connected Shopify, WordPress or Wix account id.
55027
55113
  */
55028
55114
  accountId: string;
55029
55115
  /**
55030
- * Platform-native numeric article id. Non-numeric values return 400.
55116
+ * Platform-native article id: numeric on Shopify and WordPress, a GUID on Wix. Other formats return 400.
55031
55117
  */
55032
55118
  articleId: string;
55033
55119
  /**
55034
- * Platform-native numeric blog/site id returned by the list operation.
55120
+ * Platform-native blog/site id returned by the list operation.
55035
55121
  */
55036
55122
  blogId: string;
55037
55123
  };