@getlatedev/node 0.2.230 → 0.2.231
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +11 -11
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.
|
|
39
|
+
version: "0.2.231",
|
|
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.
|
|
8
|
+
version: "0.2.231",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -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>) => {
|