@zernio/node 0.2.413 → 0.2.414
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 +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -21230,7 +21230,7 @@ type ListWhatsAppGroupChatsResponse = ({
|
|
|
21230
21230
|
};
|
|
21231
21231
|
};
|
|
21232
21232
|
});
|
|
21233
|
-
type ListWhatsAppGroupChatsError = ({
|
|
21233
|
+
type ListWhatsAppGroupChatsError = (ErrorResponse | {
|
|
21234
21234
|
error?: string;
|
|
21235
21235
|
});
|
|
21236
21236
|
type CreateWhatsAppGroupChatData = {
|
|
@@ -21260,7 +21260,7 @@ type CreateWhatsAppGroupChatResponse = ({
|
|
|
21260
21260
|
inviteLink?: string;
|
|
21261
21261
|
};
|
|
21262
21262
|
});
|
|
21263
|
-
type CreateWhatsAppGroupChatError = ({
|
|
21263
|
+
type CreateWhatsAppGroupChatError = (ErrorResponse | {
|
|
21264
21264
|
error?: string;
|
|
21265
21265
|
});
|
|
21266
21266
|
type GetWhatsAppGroupChatData = {
|
|
@@ -21299,7 +21299,7 @@ type GetWhatsAppGroupChatResponse = ({
|
|
|
21299
21299
|
isSuspended?: boolean;
|
|
21300
21300
|
};
|
|
21301
21301
|
});
|
|
21302
|
-
type GetWhatsAppGroupChatError = ({
|
|
21302
|
+
type GetWhatsAppGroupChatError = (ErrorResponse | {
|
|
21303
21303
|
error?: string;
|
|
21304
21304
|
});
|
|
21305
21305
|
type UpdateWhatsAppGroupChatData = {
|
|
@@ -21325,7 +21325,7 @@ type UpdateWhatsAppGroupChatResponse = ({
|
|
|
21325
21325
|
success?: boolean;
|
|
21326
21326
|
message?: string;
|
|
21327
21327
|
});
|
|
21328
|
-
type UpdateWhatsAppGroupChatError = ({
|
|
21328
|
+
type UpdateWhatsAppGroupChatError = (ErrorResponse | {
|
|
21329
21329
|
error?: string;
|
|
21330
21330
|
});
|
|
21331
21331
|
type DeleteWhatsAppGroupChatData = {
|
|
@@ -21346,7 +21346,7 @@ type DeleteWhatsAppGroupChatResponse = ({
|
|
|
21346
21346
|
success?: boolean;
|
|
21347
21347
|
message?: string;
|
|
21348
21348
|
});
|
|
21349
|
-
type DeleteWhatsAppGroupChatError = ({
|
|
21349
|
+
type DeleteWhatsAppGroupChatError = (ErrorResponse | {
|
|
21350
21350
|
error?: string;
|
|
21351
21351
|
});
|
|
21352
21352
|
type AddWhatsAppGroupParticipantsData = {
|
|
@@ -21373,7 +21373,7 @@ type AddWhatsAppGroupParticipantsResponse = ({
|
|
|
21373
21373
|
success?: boolean;
|
|
21374
21374
|
message?: string;
|
|
21375
21375
|
});
|
|
21376
|
-
type AddWhatsAppGroupParticipantsError = ({
|
|
21376
|
+
type AddWhatsAppGroupParticipantsError = (ErrorResponse | {
|
|
21377
21377
|
error?: string;
|
|
21378
21378
|
});
|
|
21379
21379
|
type RemoveWhatsAppGroupParticipantsData = {
|
|
@@ -21400,7 +21400,7 @@ type RemoveWhatsAppGroupParticipantsResponse = ({
|
|
|
21400
21400
|
success?: boolean;
|
|
21401
21401
|
message?: string;
|
|
21402
21402
|
});
|
|
21403
|
-
type RemoveWhatsAppGroupParticipantsError = ({
|
|
21403
|
+
type RemoveWhatsAppGroupParticipantsError = (ErrorResponse | {
|
|
21404
21404
|
error?: string;
|
|
21405
21405
|
});
|
|
21406
21406
|
type CreateWhatsAppGroupInviteLinkData = {
|
|
@@ -21421,7 +21421,7 @@ type CreateWhatsAppGroupInviteLinkResponse = ({
|
|
|
21421
21421
|
success?: boolean;
|
|
21422
21422
|
inviteLink?: string;
|
|
21423
21423
|
});
|
|
21424
|
-
type CreateWhatsAppGroupInviteLinkError = ({
|
|
21424
|
+
type CreateWhatsAppGroupInviteLinkError = (ErrorResponse | {
|
|
21425
21425
|
error?: string;
|
|
21426
21426
|
});
|
|
21427
21427
|
type ListWhatsAppGroupJoinRequestsData = {
|
|
@@ -21451,7 +21451,7 @@ type ListWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21451
21451
|
timestamp?: number;
|
|
21452
21452
|
}>;
|
|
21453
21453
|
});
|
|
21454
|
-
type ListWhatsAppGroupJoinRequestsError = ({
|
|
21454
|
+
type ListWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21455
21455
|
error?: string;
|
|
21456
21456
|
});
|
|
21457
21457
|
type ApproveWhatsAppGroupJoinRequestsData = {
|
|
@@ -21478,7 +21478,7 @@ type ApproveWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21478
21478
|
success?: boolean;
|
|
21479
21479
|
message?: string;
|
|
21480
21480
|
});
|
|
21481
|
-
type ApproveWhatsAppGroupJoinRequestsError = ({
|
|
21481
|
+
type ApproveWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21482
21482
|
error?: string;
|
|
21483
21483
|
});
|
|
21484
21484
|
type RejectWhatsAppGroupJoinRequestsData = {
|
|
@@ -21505,7 +21505,7 @@ type RejectWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21505
21505
|
success?: boolean;
|
|
21506
21506
|
message?: string;
|
|
21507
21507
|
});
|
|
21508
|
-
type RejectWhatsAppGroupJoinRequestsError = ({
|
|
21508
|
+
type RejectWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21509
21509
|
error?: string;
|
|
21510
21510
|
});
|
|
21511
21511
|
type ListWhatsAppFlowsData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -21230,7 +21230,7 @@ type ListWhatsAppGroupChatsResponse = ({
|
|
|
21230
21230
|
};
|
|
21231
21231
|
};
|
|
21232
21232
|
});
|
|
21233
|
-
type ListWhatsAppGroupChatsError = ({
|
|
21233
|
+
type ListWhatsAppGroupChatsError = (ErrorResponse | {
|
|
21234
21234
|
error?: string;
|
|
21235
21235
|
});
|
|
21236
21236
|
type CreateWhatsAppGroupChatData = {
|
|
@@ -21260,7 +21260,7 @@ type CreateWhatsAppGroupChatResponse = ({
|
|
|
21260
21260
|
inviteLink?: string;
|
|
21261
21261
|
};
|
|
21262
21262
|
});
|
|
21263
|
-
type CreateWhatsAppGroupChatError = ({
|
|
21263
|
+
type CreateWhatsAppGroupChatError = (ErrorResponse | {
|
|
21264
21264
|
error?: string;
|
|
21265
21265
|
});
|
|
21266
21266
|
type GetWhatsAppGroupChatData = {
|
|
@@ -21299,7 +21299,7 @@ type GetWhatsAppGroupChatResponse = ({
|
|
|
21299
21299
|
isSuspended?: boolean;
|
|
21300
21300
|
};
|
|
21301
21301
|
});
|
|
21302
|
-
type GetWhatsAppGroupChatError = ({
|
|
21302
|
+
type GetWhatsAppGroupChatError = (ErrorResponse | {
|
|
21303
21303
|
error?: string;
|
|
21304
21304
|
});
|
|
21305
21305
|
type UpdateWhatsAppGroupChatData = {
|
|
@@ -21325,7 +21325,7 @@ type UpdateWhatsAppGroupChatResponse = ({
|
|
|
21325
21325
|
success?: boolean;
|
|
21326
21326
|
message?: string;
|
|
21327
21327
|
});
|
|
21328
|
-
type UpdateWhatsAppGroupChatError = ({
|
|
21328
|
+
type UpdateWhatsAppGroupChatError = (ErrorResponse | {
|
|
21329
21329
|
error?: string;
|
|
21330
21330
|
});
|
|
21331
21331
|
type DeleteWhatsAppGroupChatData = {
|
|
@@ -21346,7 +21346,7 @@ type DeleteWhatsAppGroupChatResponse = ({
|
|
|
21346
21346
|
success?: boolean;
|
|
21347
21347
|
message?: string;
|
|
21348
21348
|
});
|
|
21349
|
-
type DeleteWhatsAppGroupChatError = ({
|
|
21349
|
+
type DeleteWhatsAppGroupChatError = (ErrorResponse | {
|
|
21350
21350
|
error?: string;
|
|
21351
21351
|
});
|
|
21352
21352
|
type AddWhatsAppGroupParticipantsData = {
|
|
@@ -21373,7 +21373,7 @@ type AddWhatsAppGroupParticipantsResponse = ({
|
|
|
21373
21373
|
success?: boolean;
|
|
21374
21374
|
message?: string;
|
|
21375
21375
|
});
|
|
21376
|
-
type AddWhatsAppGroupParticipantsError = ({
|
|
21376
|
+
type AddWhatsAppGroupParticipantsError = (ErrorResponse | {
|
|
21377
21377
|
error?: string;
|
|
21378
21378
|
});
|
|
21379
21379
|
type RemoveWhatsAppGroupParticipantsData = {
|
|
@@ -21400,7 +21400,7 @@ type RemoveWhatsAppGroupParticipantsResponse = ({
|
|
|
21400
21400
|
success?: boolean;
|
|
21401
21401
|
message?: string;
|
|
21402
21402
|
});
|
|
21403
|
-
type RemoveWhatsAppGroupParticipantsError = ({
|
|
21403
|
+
type RemoveWhatsAppGroupParticipantsError = (ErrorResponse | {
|
|
21404
21404
|
error?: string;
|
|
21405
21405
|
});
|
|
21406
21406
|
type CreateWhatsAppGroupInviteLinkData = {
|
|
@@ -21421,7 +21421,7 @@ type CreateWhatsAppGroupInviteLinkResponse = ({
|
|
|
21421
21421
|
success?: boolean;
|
|
21422
21422
|
inviteLink?: string;
|
|
21423
21423
|
});
|
|
21424
|
-
type CreateWhatsAppGroupInviteLinkError = ({
|
|
21424
|
+
type CreateWhatsAppGroupInviteLinkError = (ErrorResponse | {
|
|
21425
21425
|
error?: string;
|
|
21426
21426
|
});
|
|
21427
21427
|
type ListWhatsAppGroupJoinRequestsData = {
|
|
@@ -21451,7 +21451,7 @@ type ListWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21451
21451
|
timestamp?: number;
|
|
21452
21452
|
}>;
|
|
21453
21453
|
});
|
|
21454
|
-
type ListWhatsAppGroupJoinRequestsError = ({
|
|
21454
|
+
type ListWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21455
21455
|
error?: string;
|
|
21456
21456
|
});
|
|
21457
21457
|
type ApproveWhatsAppGroupJoinRequestsData = {
|
|
@@ -21478,7 +21478,7 @@ type ApproveWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21478
21478
|
success?: boolean;
|
|
21479
21479
|
message?: string;
|
|
21480
21480
|
});
|
|
21481
|
-
type ApproveWhatsAppGroupJoinRequestsError = ({
|
|
21481
|
+
type ApproveWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21482
21482
|
error?: string;
|
|
21483
21483
|
});
|
|
21484
21484
|
type RejectWhatsAppGroupJoinRequestsData = {
|
|
@@ -21505,7 +21505,7 @@ type RejectWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21505
21505
|
success?: boolean;
|
|
21506
21506
|
message?: string;
|
|
21507
21507
|
});
|
|
21508
|
-
type RejectWhatsAppGroupJoinRequestsError = ({
|
|
21508
|
+
type RejectWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21509
21509
|
error?: string;
|
|
21510
21510
|
});
|
|
21511
21511
|
type ListWhatsAppFlowsData = {
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.414",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.414",
|
|
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
|
@@ -21358,7 +21358,7 @@ export type ListWhatsAppGroupChatsResponse = ({
|
|
|
21358
21358
|
};
|
|
21359
21359
|
});
|
|
21360
21360
|
|
|
21361
|
-
export type ListWhatsAppGroupChatsError = ({
|
|
21361
|
+
export type ListWhatsAppGroupChatsError = (ErrorResponse | {
|
|
21362
21362
|
error?: string;
|
|
21363
21363
|
});
|
|
21364
21364
|
|
|
@@ -21391,7 +21391,7 @@ export type CreateWhatsAppGroupChatResponse = ({
|
|
|
21391
21391
|
};
|
|
21392
21392
|
});
|
|
21393
21393
|
|
|
21394
|
-
export type CreateWhatsAppGroupChatError = ({
|
|
21394
|
+
export type CreateWhatsAppGroupChatError = (ErrorResponse | {
|
|
21395
21395
|
error?: string;
|
|
21396
21396
|
});
|
|
21397
21397
|
|
|
@@ -21433,7 +21433,7 @@ export type GetWhatsAppGroupChatResponse = ({
|
|
|
21433
21433
|
};
|
|
21434
21434
|
});
|
|
21435
21435
|
|
|
21436
|
-
export type GetWhatsAppGroupChatError = ({
|
|
21436
|
+
export type GetWhatsAppGroupChatError = (ErrorResponse | {
|
|
21437
21437
|
error?: string;
|
|
21438
21438
|
});
|
|
21439
21439
|
|
|
@@ -21462,7 +21462,7 @@ export type UpdateWhatsAppGroupChatResponse = ({
|
|
|
21462
21462
|
message?: string;
|
|
21463
21463
|
});
|
|
21464
21464
|
|
|
21465
|
-
export type UpdateWhatsAppGroupChatError = ({
|
|
21465
|
+
export type UpdateWhatsAppGroupChatError = (ErrorResponse | {
|
|
21466
21466
|
error?: string;
|
|
21467
21467
|
});
|
|
21468
21468
|
|
|
@@ -21486,7 +21486,7 @@ export type DeleteWhatsAppGroupChatResponse = ({
|
|
|
21486
21486
|
message?: string;
|
|
21487
21487
|
});
|
|
21488
21488
|
|
|
21489
|
-
export type DeleteWhatsAppGroupChatError = ({
|
|
21489
|
+
export type DeleteWhatsAppGroupChatError = (ErrorResponse | {
|
|
21490
21490
|
error?: string;
|
|
21491
21491
|
});
|
|
21492
21492
|
|
|
@@ -21516,7 +21516,7 @@ export type AddWhatsAppGroupParticipantsResponse = ({
|
|
|
21516
21516
|
message?: string;
|
|
21517
21517
|
});
|
|
21518
21518
|
|
|
21519
|
-
export type AddWhatsAppGroupParticipantsError = ({
|
|
21519
|
+
export type AddWhatsAppGroupParticipantsError = (ErrorResponse | {
|
|
21520
21520
|
error?: string;
|
|
21521
21521
|
});
|
|
21522
21522
|
|
|
@@ -21546,7 +21546,7 @@ export type RemoveWhatsAppGroupParticipantsResponse = ({
|
|
|
21546
21546
|
message?: string;
|
|
21547
21547
|
});
|
|
21548
21548
|
|
|
21549
|
-
export type RemoveWhatsAppGroupParticipantsError = ({
|
|
21549
|
+
export type RemoveWhatsAppGroupParticipantsError = (ErrorResponse | {
|
|
21550
21550
|
error?: string;
|
|
21551
21551
|
});
|
|
21552
21552
|
|
|
@@ -21570,7 +21570,7 @@ export type CreateWhatsAppGroupInviteLinkResponse = ({
|
|
|
21570
21570
|
inviteLink?: string;
|
|
21571
21571
|
});
|
|
21572
21572
|
|
|
21573
|
-
export type CreateWhatsAppGroupInviteLinkError = ({
|
|
21573
|
+
export type CreateWhatsAppGroupInviteLinkError = (ErrorResponse | {
|
|
21574
21574
|
error?: string;
|
|
21575
21575
|
});
|
|
21576
21576
|
|
|
@@ -21603,7 +21603,7 @@ export type ListWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21603
21603
|
}>;
|
|
21604
21604
|
});
|
|
21605
21605
|
|
|
21606
|
-
export type ListWhatsAppGroupJoinRequestsError = ({
|
|
21606
|
+
export type ListWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21607
21607
|
error?: string;
|
|
21608
21608
|
});
|
|
21609
21609
|
|
|
@@ -21633,7 +21633,7 @@ export type ApproveWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21633
21633
|
message?: string;
|
|
21634
21634
|
});
|
|
21635
21635
|
|
|
21636
|
-
export type ApproveWhatsAppGroupJoinRequestsError = ({
|
|
21636
|
+
export type ApproveWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21637
21637
|
error?: string;
|
|
21638
21638
|
});
|
|
21639
21639
|
|
|
@@ -21663,7 +21663,7 @@ export type RejectWhatsAppGroupJoinRequestsResponse = ({
|
|
|
21663
21663
|
message?: string;
|
|
21664
21664
|
});
|
|
21665
21665
|
|
|
21666
|
-
export type RejectWhatsAppGroupJoinRequestsError = ({
|
|
21666
|
+
export type RejectWhatsAppGroupJoinRequestsError = (ErrorResponse | {
|
|
21667
21667
|
error?: string;
|
|
21668
21668
|
});
|
|
21669
21669
|
|