@getlatedev/node 0.2.230 → 0.2.232

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/index.d.mts CHANGED
@@ -18519,7 +18519,7 @@ type CreateStandaloneAdData = {
18519
18519
  */
18520
18520
  linkUrl?: string;
18521
18521
  /**
18522
- * Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. `placementAssets` (per-placement creative) IS supported on instant-form lead ads — the form is attached for you. NOT compatible with `dynamicCreative` (the auto-optimizing multi-asset pool), which Meta requires a dedicated Dynamic Creative ad set for; that combination is rejected with INVALID_FIELD_VALUE (use `placementAssets`, a single creative, or run `dynamicCreative` on a `traffic`/`conversions` goal).
18522
+ * Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. Both `placementAssets` (per-placement creative) and `dynamicCreative` (multi-text / multi-asset pool, e.g. multiple headlines and primary texts) ARE supported on instant-form lead ads — the form is attached for you, and for `dynamicCreative` the ad set is created as a Dynamic Creative ad set automatically (Meta requires that for any multi-text feed; there is no non-DCO multi-text path). Send a single `imageUrls` entry plus your text variations to get Meta's "Multiple Text Options" behavior on a lead ad.
18523
18523
  */
18524
18524
  leadGenFormId?: string;
18525
18525
  /**
package/dist/index.d.ts CHANGED
@@ -18519,7 +18519,7 @@ type CreateStandaloneAdData = {
18519
18519
  */
18520
18520
  linkUrl?: string;
18521
18521
  /**
18522
- * Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. `placementAssets` (per-placement creative) IS supported on instant-form lead ads — the form is attached for you. NOT compatible with `dynamicCreative` (the auto-optimizing multi-asset pool), which Meta requires a dedicated Dynamic Creative ad set for; that combination is rejected with INVALID_FIELD_VALUE (use `placementAssets`, a single creative, or run `dynamicCreative` on a `traffic`/`conversions` goal).
18522
+ * Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. Both `placementAssets` (per-placement creative) and `dynamicCreative` (multi-text / multi-asset pool, e.g. multiple headlines and primary texts) ARE supported on instant-form lead ads — the form is attached for you, and for `dynamicCreative` the ad set is created as a Dynamic Creative ad set automatically (Meta requires that for any multi-text feed; there is no non-DCO multi-text path). Send a single `imageUrls` entry plus your text variations to get Meta's "Multiple Text Options" behavior on a lead ad.
18523
18523
  */
18524
18524
  leadGenFormId?: string;
18525
18525
  /**
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.230",
39
+ version: "0.2.232",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.230",
8
+ version: "0.2.232",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.230",
3
+ "version": "0.2.232",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3483,7 +3483,7 @@ export const deleteWhatsAppSandboxSession = <ThrowOnError extends boolean = fals
3483
3483
  * List active WhatsApp group chats for a business phone number.
3484
3484
  * These are actual WhatsApp group conversations on the platform.
3485
3485
  *
3486
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3486
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3487
3487
  *
3488
3488
  */
3489
3489
  export const listWhatsAppGroupChats = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListWhatsAppGroupChatsData, ThrowOnError>) => {
@@ -3497,7 +3497,7 @@ export const listWhatsAppGroupChats = <ThrowOnError extends boolean = false>(opt
3497
3497
  * Create group
3498
3498
  * Create a new WhatsApp group chat. Returns the group ID and optionally an invite link.
3499
3499
  *
3500
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3500
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3501
3501
  *
3502
3502
  */
3503
3503
  export const createWhatsAppGroupChat = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateWhatsAppGroupChatData, ThrowOnError>) => {
@@ -3512,7 +3512,7 @@ export const createWhatsAppGroupChat = <ThrowOnError extends boolean = false>(op
3512
3512
  * Retrieve metadata about a WhatsApp group including subject, description,
3513
3513
  * participants, and settings.
3514
3514
  *
3515
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3515
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3516
3516
  *
3517
3517
  */
3518
3518
  export const getWhatsAppGroupChat = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetWhatsAppGroupChatData, ThrowOnError>) => {
@@ -3526,7 +3526,7 @@ export const getWhatsAppGroupChat = <ThrowOnError extends boolean = false>(optio
3526
3526
  * Update group settings
3527
3527
  * Update the subject, description, or join approval mode of a WhatsApp group.
3528
3528
  *
3529
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3529
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3530
3530
  *
3531
3531
  */
3532
3532
  export const updateWhatsAppGroupChat = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateWhatsAppGroupChatData, ThrowOnError>) => {
@@ -3540,7 +3540,7 @@ export const updateWhatsAppGroupChat = <ThrowOnError extends boolean = false>(op
3540
3540
  * Delete group
3541
3541
  * Delete a WhatsApp group and remove all participants.
3542
3542
  *
3543
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3543
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3544
3544
  *
3545
3545
  */
3546
3546
  export const deleteWhatsAppGroupChat = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteWhatsAppGroupChatData, ThrowOnError>) => {
@@ -3554,7 +3554,7 @@ export const deleteWhatsAppGroupChat = <ThrowOnError extends boolean = false>(op
3554
3554
  * Add participants
3555
3555
  * Add participants to a WhatsApp group. Maximum 8 participants per request.
3556
3556
  *
3557
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3557
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3558
3558
  *
3559
3559
  */
3560
3560
  export const addWhatsAppGroupParticipants = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AddWhatsAppGroupParticipantsData, ThrowOnError>) => {
@@ -3568,7 +3568,7 @@ export const addWhatsAppGroupParticipants = <ThrowOnError extends boolean = fals
3568
3568
  * Remove participants
3569
3569
  * Remove participants from a WhatsApp group.
3570
3570
  *
3571
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3571
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3572
3572
  *
3573
3573
  */
3574
3574
  export const removeWhatsAppGroupParticipants = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RemoveWhatsAppGroupParticipantsData, ThrowOnError>) => {
@@ -3582,7 +3582,7 @@ export const removeWhatsAppGroupParticipants = <ThrowOnError extends boolean = f
3582
3582
  * Create invite link
3583
3583
  * Create a new invite link for a WhatsApp group. The previous link is revoked.
3584
3584
  *
3585
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3585
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3586
3586
  *
3587
3587
  */
3588
3588
  export const createWhatsAppGroupInviteLink = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateWhatsAppGroupInviteLinkData, ThrowOnError>) => {
@@ -3596,7 +3596,7 @@ export const createWhatsAppGroupInviteLink = <ThrowOnError extends boolean = fal
3596
3596
  * List join requests
3597
3597
  * List pending join requests for a WhatsApp group (only for groups with approval_required mode).
3598
3598
  *
3599
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3599
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3600
3600
  *
3601
3601
  */
3602
3602
  export const listWhatsAppGroupJoinRequests = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListWhatsAppGroupJoinRequestsData, ThrowOnError>) => {
@@ -3610,7 +3610,7 @@ export const listWhatsAppGroupJoinRequests = <ThrowOnError extends boolean = fal
3610
3610
  * Approve join requests
3611
3611
  * Approve pending join requests for a WhatsApp group.
3612
3612
  *
3613
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3613
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3614
3614
  *
3615
3615
  */
3616
3616
  export const approveWhatsAppGroupJoinRequests = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ApproveWhatsAppGroupJoinRequestsData, ThrowOnError>) => {
@@ -3624,7 +3624,7 @@ export const approveWhatsAppGroupJoinRequests = <ThrowOnError extends boolean =
3624
3624
  * Reject join requests
3625
3625
  * Reject pending join requests for a WhatsApp group.
3626
3626
  *
3627
- * Not available on [Coexistence](/platforms/whatsapp#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3627
+ * Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
3628
3628
  *
3629
3629
  */
3630
3630
  export const rejectWhatsAppGroupJoinRequests = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RejectWhatsAppGroupJoinRequestsData, ThrowOnError>) => {
@@ -19008,7 +19008,7 @@ export type CreateStandaloneAdData = {
19008
19008
  */
19009
19009
  linkUrl?: string;
19010
19010
  /**
19011
- * Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. `placementAssets` (per-placement creative) IS supported on instant-form lead ads — the form is attached for you. NOT compatible with `dynamicCreative` (the auto-optimizing multi-asset pool), which Meta requires a dedicated Dynamic Creative ad set for; that combination is rejected with INVALID_FIELD_VALUE (use `placementAssets`, a single creative, or run `dynamicCreative` on a `traffic`/`conversions` goal).
19011
+ * Meta Lead Gen forms only (facebook/instagram). The leadgen_forms ID to attach to the ad's creative — create one via POST /v1/ads/lead-forms. REQUIRED when `goal` is `lead_generation`; ignored otherwise. The ad set's promoted_object.page_id + LEAD_GENERATION optimization + destination_type ON_AD are derived automatically from the goal. Both `placementAssets` (per-placement creative) and `dynamicCreative` (multi-text / multi-asset pool, e.g. multiple headlines and primary texts) ARE supported on instant-form lead ads — the form is attached for you, and for `dynamicCreative` the ad set is created as a Dynamic Creative ad set automatically (Meta requires that for any multi-text feed; there is no non-DCO multi-text path). Send a single `imageUrls` entry plus your text variations to get Meta's "Multiple Text Options" behavior on a lead ad.
19012
19012
  */
19013
19013
  leadGenFormId?: string;
19014
19014
  /**