@zernio/node 0.2.180 → 0.2.181
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 +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +22 -0
package/dist/index.d.mts
CHANGED
|
@@ -2238,6 +2238,16 @@ type InboxWebhookMessage = {
|
|
|
2238
2238
|
*
|
|
2239
2239
|
*/
|
|
2240
2240
|
id: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Zernio CRM Contact id for this sender, when one exists (joined via
|
|
2243
|
+
* the ContactChannel mapping). Lets integrators link a message straight
|
|
2244
|
+
* to a Contact without a follow-up Contacts API call. Omitted when the
|
|
2245
|
+
* sender isn't a tracked contact (e.g. outgoing messages where the
|
|
2246
|
+
* sender is the business, or first-touch messages before the contact
|
|
2247
|
+
* is created).
|
|
2248
|
+
*
|
|
2249
|
+
*/
|
|
2250
|
+
contactId?: string;
|
|
2241
2251
|
name?: string;
|
|
2242
2252
|
username?: string;
|
|
2243
2253
|
picture?: string;
|
|
@@ -4380,6 +4390,10 @@ type WebhookPayloadMessage = {
|
|
|
4380
4390
|
*
|
|
4381
4391
|
*/
|
|
4382
4392
|
id: string;
|
|
4393
|
+
/**
|
|
4394
|
+
* Zernio CRM Contact id for this sender, when one exists (omitted for outgoing/business sender).
|
|
4395
|
+
*/
|
|
4396
|
+
contactId?: string;
|
|
4383
4397
|
name?: string;
|
|
4384
4398
|
username?: string;
|
|
4385
4399
|
picture?: string;
|
|
@@ -4760,6 +4774,10 @@ type WebhookPayloadMessageSent = {
|
|
|
4760
4774
|
}>;
|
|
4761
4775
|
sender: {
|
|
4762
4776
|
id: string;
|
|
4777
|
+
/**
|
|
4778
|
+
* Zernio CRM Contact id for this sender, when one exists.
|
|
4779
|
+
*/
|
|
4780
|
+
contactId?: string;
|
|
4763
4781
|
name?: string;
|
|
4764
4782
|
username?: string;
|
|
4765
4783
|
picture?: string;
|
|
@@ -4918,6 +4936,10 @@ type WebhookPayloadReaction = {
|
|
|
4918
4936
|
*/
|
|
4919
4937
|
sender: {
|
|
4920
4938
|
id: string;
|
|
4939
|
+
/**
|
|
4940
|
+
* Zernio CRM Contact id for this sender, when one exists.
|
|
4941
|
+
*/
|
|
4942
|
+
contactId?: string;
|
|
4921
4943
|
name?: string;
|
|
4922
4944
|
username?: string;
|
|
4923
4945
|
picture?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2238,6 +2238,16 @@ type InboxWebhookMessage = {
|
|
|
2238
2238
|
*
|
|
2239
2239
|
*/
|
|
2240
2240
|
id: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Zernio CRM Contact id for this sender, when one exists (joined via
|
|
2243
|
+
* the ContactChannel mapping). Lets integrators link a message straight
|
|
2244
|
+
* to a Contact without a follow-up Contacts API call. Omitted when the
|
|
2245
|
+
* sender isn't a tracked contact (e.g. outgoing messages where the
|
|
2246
|
+
* sender is the business, or first-touch messages before the contact
|
|
2247
|
+
* is created).
|
|
2248
|
+
*
|
|
2249
|
+
*/
|
|
2250
|
+
contactId?: string;
|
|
2241
2251
|
name?: string;
|
|
2242
2252
|
username?: string;
|
|
2243
2253
|
picture?: string;
|
|
@@ -4380,6 +4390,10 @@ type WebhookPayloadMessage = {
|
|
|
4380
4390
|
*
|
|
4381
4391
|
*/
|
|
4382
4392
|
id: string;
|
|
4393
|
+
/**
|
|
4394
|
+
* Zernio CRM Contact id for this sender, when one exists (omitted for outgoing/business sender).
|
|
4395
|
+
*/
|
|
4396
|
+
contactId?: string;
|
|
4383
4397
|
name?: string;
|
|
4384
4398
|
username?: string;
|
|
4385
4399
|
picture?: string;
|
|
@@ -4760,6 +4774,10 @@ type WebhookPayloadMessageSent = {
|
|
|
4760
4774
|
}>;
|
|
4761
4775
|
sender: {
|
|
4762
4776
|
id: string;
|
|
4777
|
+
/**
|
|
4778
|
+
* Zernio CRM Contact id for this sender, when one exists.
|
|
4779
|
+
*/
|
|
4780
|
+
contactId?: string;
|
|
4763
4781
|
name?: string;
|
|
4764
4782
|
username?: string;
|
|
4765
4783
|
picture?: string;
|
|
@@ -4918,6 +4936,10 @@ type WebhookPayloadReaction = {
|
|
|
4918
4936
|
*/
|
|
4919
4937
|
sender: {
|
|
4920
4938
|
id: string;
|
|
4939
|
+
/**
|
|
4940
|
+
* Zernio CRM Contact id for this sender, when one exists.
|
|
4941
|
+
*/
|
|
4942
|
+
contactId?: string;
|
|
4921
4943
|
name?: string;
|
|
4922
4944
|
username?: string;
|
|
4923
4945
|
picture?: string;
|
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.181",
|
|
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.181",
|
|
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
|
@@ -1624,6 +1624,16 @@ export type InboxWebhookMessage = {
|
|
|
1624
1624
|
*
|
|
1625
1625
|
*/
|
|
1626
1626
|
id: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* Zernio CRM Contact id for this sender, when one exists (joined via
|
|
1629
|
+
* the ContactChannel mapping). Lets integrators link a message straight
|
|
1630
|
+
* to a Contact without a follow-up Contacts API call. Omitted when the
|
|
1631
|
+
* sender isn't a tracked contact (e.g. outgoing messages where the
|
|
1632
|
+
* sender is the business, or first-touch messages before the contact
|
|
1633
|
+
* is created).
|
|
1634
|
+
*
|
|
1635
|
+
*/
|
|
1636
|
+
contactId?: string;
|
|
1627
1637
|
name?: string;
|
|
1628
1638
|
username?: string;
|
|
1629
1639
|
picture?: string;
|
|
@@ -3876,6 +3886,10 @@ export type WebhookPayloadMessage = {
|
|
|
3876
3886
|
*
|
|
3877
3887
|
*/
|
|
3878
3888
|
id: string;
|
|
3889
|
+
/**
|
|
3890
|
+
* Zernio CRM Contact id for this sender, when one exists (omitted for outgoing/business sender).
|
|
3891
|
+
*/
|
|
3892
|
+
contactId?: string;
|
|
3879
3893
|
name?: string;
|
|
3880
3894
|
username?: string;
|
|
3881
3895
|
picture?: string;
|
|
@@ -4265,6 +4279,10 @@ export type WebhookPayloadMessageSent = {
|
|
|
4265
4279
|
}>;
|
|
4266
4280
|
sender: {
|
|
4267
4281
|
id: string;
|
|
4282
|
+
/**
|
|
4283
|
+
* Zernio CRM Contact id for this sender, when one exists.
|
|
4284
|
+
*/
|
|
4285
|
+
contactId?: string;
|
|
4268
4286
|
name?: string;
|
|
4269
4287
|
username?: string;
|
|
4270
4288
|
picture?: string;
|
|
@@ -4429,6 +4447,10 @@ export type WebhookPayloadReaction = {
|
|
|
4429
4447
|
*/
|
|
4430
4448
|
sender: {
|
|
4431
4449
|
id: string;
|
|
4450
|
+
/**
|
|
4451
|
+
* Zernio CRM Contact id for this sender, when one exists.
|
|
4452
|
+
*/
|
|
4453
|
+
contactId?: string;
|
|
4432
4454
|
name?: string;
|
|
4433
4455
|
username?: string;
|
|
4434
4456
|
picture?: string;
|