@zernio/node 0.2.172 → 0.2.173
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 +56 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +56 -0
package/dist/index.d.mts
CHANGED
|
@@ -10868,6 +10868,17 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
10868
10868
|
title?: string;
|
|
10869
10869
|
message?: string;
|
|
10870
10870
|
} | null;
|
|
10871
|
+
/**
|
|
10872
|
+
* Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
|
|
10873
|
+
*/
|
|
10874
|
+
reactions?: Array<{
|
|
10875
|
+
emoji?: string;
|
|
10876
|
+
/**
|
|
10877
|
+
* true if the connected account reacted
|
|
10878
|
+
*/
|
|
10879
|
+
fromMe?: boolean;
|
|
10880
|
+
reactedAt?: string;
|
|
10881
|
+
}>;
|
|
10871
10882
|
}>;
|
|
10872
10883
|
lastUpdated?: string;
|
|
10873
10884
|
});
|
|
@@ -11142,6 +11153,51 @@ type SendInboxMessageData = {
|
|
|
11142
11153
|
* Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
|
|
11143
11154
|
*/
|
|
11144
11155
|
replyTo?: string;
|
|
11156
|
+
/**
|
|
11157
|
+
* WhatsApp-only. Send a location pin.
|
|
11158
|
+
*/
|
|
11159
|
+
location?: {
|
|
11160
|
+
/**
|
|
11161
|
+
* Latitude in decimal degrees.
|
|
11162
|
+
*/
|
|
11163
|
+
latitude: number;
|
|
11164
|
+
/**
|
|
11165
|
+
* Longitude in decimal degrees.
|
|
11166
|
+
*/
|
|
11167
|
+
longitude: number;
|
|
11168
|
+
/**
|
|
11169
|
+
* Optional location name.
|
|
11170
|
+
*/
|
|
11171
|
+
name?: string;
|
|
11172
|
+
/**
|
|
11173
|
+
* Optional street address.
|
|
11174
|
+
*/
|
|
11175
|
+
address?: string;
|
|
11176
|
+
};
|
|
11177
|
+
/**
|
|
11178
|
+
* WhatsApp-only. Send one or more contact cards.
|
|
11179
|
+
*/
|
|
11180
|
+
contacts?: Array<{
|
|
11181
|
+
name: {
|
|
11182
|
+
/**
|
|
11183
|
+
* Full display name.
|
|
11184
|
+
*/
|
|
11185
|
+
formatted_name: string;
|
|
11186
|
+
first_name?: string;
|
|
11187
|
+
last_name?: string;
|
|
11188
|
+
};
|
|
11189
|
+
phones?: Array<{
|
|
11190
|
+
phone?: string;
|
|
11191
|
+
/**
|
|
11192
|
+
* e.g. CELL, WORK, HOME.
|
|
11193
|
+
*/
|
|
11194
|
+
type?: string;
|
|
11195
|
+
}>;
|
|
11196
|
+
emails?: Array<{
|
|
11197
|
+
email?: string;
|
|
11198
|
+
type?: string;
|
|
11199
|
+
}>;
|
|
11200
|
+
}>;
|
|
11145
11201
|
};
|
|
11146
11202
|
path: {
|
|
11147
11203
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -10868,6 +10868,17 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
10868
10868
|
title?: string;
|
|
10869
10869
|
message?: string;
|
|
10870
10870
|
} | null;
|
|
10871
|
+
/**
|
|
10872
|
+
* Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
|
|
10873
|
+
*/
|
|
10874
|
+
reactions?: Array<{
|
|
10875
|
+
emoji?: string;
|
|
10876
|
+
/**
|
|
10877
|
+
* true if the connected account reacted
|
|
10878
|
+
*/
|
|
10879
|
+
fromMe?: boolean;
|
|
10880
|
+
reactedAt?: string;
|
|
10881
|
+
}>;
|
|
10871
10882
|
}>;
|
|
10872
10883
|
lastUpdated?: string;
|
|
10873
10884
|
});
|
|
@@ -11142,6 +11153,51 @@ type SendInboxMessageData = {
|
|
|
11142
11153
|
* Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
|
|
11143
11154
|
*/
|
|
11144
11155
|
replyTo?: string;
|
|
11156
|
+
/**
|
|
11157
|
+
* WhatsApp-only. Send a location pin.
|
|
11158
|
+
*/
|
|
11159
|
+
location?: {
|
|
11160
|
+
/**
|
|
11161
|
+
* Latitude in decimal degrees.
|
|
11162
|
+
*/
|
|
11163
|
+
latitude: number;
|
|
11164
|
+
/**
|
|
11165
|
+
* Longitude in decimal degrees.
|
|
11166
|
+
*/
|
|
11167
|
+
longitude: number;
|
|
11168
|
+
/**
|
|
11169
|
+
* Optional location name.
|
|
11170
|
+
*/
|
|
11171
|
+
name?: string;
|
|
11172
|
+
/**
|
|
11173
|
+
* Optional street address.
|
|
11174
|
+
*/
|
|
11175
|
+
address?: string;
|
|
11176
|
+
};
|
|
11177
|
+
/**
|
|
11178
|
+
* WhatsApp-only. Send one or more contact cards.
|
|
11179
|
+
*/
|
|
11180
|
+
contacts?: Array<{
|
|
11181
|
+
name: {
|
|
11182
|
+
/**
|
|
11183
|
+
* Full display name.
|
|
11184
|
+
*/
|
|
11185
|
+
formatted_name: string;
|
|
11186
|
+
first_name?: string;
|
|
11187
|
+
last_name?: string;
|
|
11188
|
+
};
|
|
11189
|
+
phones?: Array<{
|
|
11190
|
+
phone?: string;
|
|
11191
|
+
/**
|
|
11192
|
+
* e.g. CELL, WORK, HOME.
|
|
11193
|
+
*/
|
|
11194
|
+
type?: string;
|
|
11195
|
+
}>;
|
|
11196
|
+
emails?: Array<{
|
|
11197
|
+
email?: string;
|
|
11198
|
+
type?: string;
|
|
11199
|
+
}>;
|
|
11200
|
+
}>;
|
|
11145
11201
|
};
|
|
11146
11202
|
path: {
|
|
11147
11203
|
/**
|
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.173",
|
|
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.173",
|
|
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
|
@@ -10841,6 +10841,17 @@ export type GetInboxConversationMessagesResponse = ({
|
|
|
10841
10841
|
title?: string;
|
|
10842
10842
|
message?: string;
|
|
10843
10843
|
} | null;
|
|
10844
|
+
/**
|
|
10845
|
+
* Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
|
|
10846
|
+
*/
|
|
10847
|
+
reactions?: Array<{
|
|
10848
|
+
emoji?: string;
|
|
10849
|
+
/**
|
|
10850
|
+
* true if the connected account reacted
|
|
10851
|
+
*/
|
|
10852
|
+
fromMe?: boolean;
|
|
10853
|
+
reactedAt?: string;
|
|
10854
|
+
}>;
|
|
10844
10855
|
}>;
|
|
10845
10856
|
lastUpdated?: string;
|
|
10846
10857
|
});
|
|
@@ -11117,6 +11128,51 @@ export type SendInboxMessageData = {
|
|
|
11117
11128
|
* Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
|
|
11118
11129
|
*/
|
|
11119
11130
|
replyTo?: string;
|
|
11131
|
+
/**
|
|
11132
|
+
* WhatsApp-only. Send a location pin.
|
|
11133
|
+
*/
|
|
11134
|
+
location?: {
|
|
11135
|
+
/**
|
|
11136
|
+
* Latitude in decimal degrees.
|
|
11137
|
+
*/
|
|
11138
|
+
latitude: number;
|
|
11139
|
+
/**
|
|
11140
|
+
* Longitude in decimal degrees.
|
|
11141
|
+
*/
|
|
11142
|
+
longitude: number;
|
|
11143
|
+
/**
|
|
11144
|
+
* Optional location name.
|
|
11145
|
+
*/
|
|
11146
|
+
name?: string;
|
|
11147
|
+
/**
|
|
11148
|
+
* Optional street address.
|
|
11149
|
+
*/
|
|
11150
|
+
address?: string;
|
|
11151
|
+
};
|
|
11152
|
+
/**
|
|
11153
|
+
* WhatsApp-only. Send one or more contact cards.
|
|
11154
|
+
*/
|
|
11155
|
+
contacts?: Array<{
|
|
11156
|
+
name: {
|
|
11157
|
+
/**
|
|
11158
|
+
* Full display name.
|
|
11159
|
+
*/
|
|
11160
|
+
formatted_name: string;
|
|
11161
|
+
first_name?: string;
|
|
11162
|
+
last_name?: string;
|
|
11163
|
+
};
|
|
11164
|
+
phones?: Array<{
|
|
11165
|
+
phone?: string;
|
|
11166
|
+
/**
|
|
11167
|
+
* e.g. CELL, WORK, HOME.
|
|
11168
|
+
*/
|
|
11169
|
+
type?: string;
|
|
11170
|
+
}>;
|
|
11171
|
+
emails?: Array<{
|
|
11172
|
+
email?: string;
|
|
11173
|
+
type?: string;
|
|
11174
|
+
}>;
|
|
11175
|
+
}>;
|
|
11120
11176
|
};
|
|
11121
11177
|
path: {
|
|
11122
11178
|
/**
|