@unlimited-messaging/sdk 0.1.23 → 0.1.25
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/README.md +3 -3
- package/package.json +2 -2
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItem.d.ts +3 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessage.d.ts +3 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessage.d.ts +3 -0
- package/src/api/types/WebhookEventMessageSentDataMessage.d.ts +3 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItem.d.ts +3 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItem.js +3 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessage.d.ts +3 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessage.js +3 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessage.d.ts +3 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessage.js +3 -0
- package/src/serialization/types/WebhookEventMessageSentDataMessage.d.ts +3 -0
- package/src/serialization/types/WebhookEventMessageSentDataMessage.js +3 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @unlimited-messaging/sdk
|
|
2
2
|
|
|
3
|
-
Official TypeScript / Node.js client for the [Unlimited Messaging](https://unlimitedmessaging.app) API — send and receive WhatsApp messages programmatically.
|
|
3
|
+
Official TypeScript / Node.js client for the [Unlimited Messaging](https://unlimitedmessaging.app?utm_source=npm&utm_medium=readme&utm_campaign=sdk_typescript) API — send and receive WhatsApp messages programmatically.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@unlimited-messaging/sdk)
|
|
6
6
|
[](https://www.npmjs.com/package/@unlimited-messaging/sdk)
|
|
@@ -10,7 +10,7 @@ Official TypeScript / Node.js client for the [Unlimited Messaging](https://unlim
|
|
|
10
10
|
[](https://github.com/unlimitedmessaging/unlimited-messaging-sdk/blob/main/LICENSE)
|
|
11
11
|
[](https://socket.dev/npm/package/@unlimited-messaging/sdk)
|
|
12
12
|
|
|
13
|
-
- **Website:** [unlimitedmessaging.app](https://unlimitedmessaging.app)
|
|
13
|
+
- **Website:** [unlimitedmessaging.app](https://unlimitedmessaging.app?utm_source=npm&utm_medium=readme&utm_campaign=sdk_typescript)
|
|
14
14
|
- **Docs:** [docs.unlimitedmessaging.app](https://docs.unlimitedmessaging.app)
|
|
15
15
|
- **API reference:** [api.unlimitedmessaging.app](https://api.unlimitedmessaging.app)
|
|
16
16
|
- **GitHub:** [unlimitedmessaging/unlimited-messaging-sdk](https://github.com/unlimitedmessaging/unlimited-messaging-sdk)
|
|
@@ -42,7 +42,7 @@ console.log(message.id, message.status);
|
|
|
42
42
|
|
|
43
43
|
## Authentication
|
|
44
44
|
|
|
45
|
-
Get your API token from the [dashboard](https://app.unlimitedmessaging.app) and pass it as the `token` option.
|
|
45
|
+
Get your API token from the [dashboard](https://app.unlimitedmessaging.app/api?utm_source=npm&utm_medium=readme&utm_campaign=sdk_typescript) and pass it as the `token` option.
|
|
46
46
|
|
|
47
47
|
```typescript
|
|
48
48
|
const client = new UnlimitedMessagingApiClient({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unlimited-messaging/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"description": "TypeScript / Node.js SDK for the Unlimited Messaging API — send and receive WhatsApp messages programmatically",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://ilianazz.com"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
|
-
"homepage": "https://unlimitedmessaging.app",
|
|
33
|
+
"homepage": "https://unlimitedmessaging.app?utm_source=npm&utm_medium=package&utm_campaign=sdk_typescript",
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
36
36
|
"url": "https://github.com/UnlimitedMessaging/unlimited-messaging-sdk.git"
|
|
@@ -22,6 +22,9 @@ export interface WebhookEventMessageHistoryDataMessagesItem {
|
|
|
22
22
|
mediaSize?: number;
|
|
23
23
|
durationSec?: number;
|
|
24
24
|
mediaError?: string;
|
|
25
|
+
latitude?: number;
|
|
26
|
+
longitude?: number;
|
|
27
|
+
locationName?: string;
|
|
25
28
|
transcript: string | null;
|
|
26
29
|
subject?: string;
|
|
27
30
|
html?: string;
|
|
@@ -22,6 +22,9 @@ export interface WebhookEventMessageReceivedDataMessage {
|
|
|
22
22
|
mediaSize?: number;
|
|
23
23
|
durationSec?: number;
|
|
24
24
|
mediaError?: string;
|
|
25
|
+
latitude?: number;
|
|
26
|
+
longitude?: number;
|
|
27
|
+
locationName?: string;
|
|
25
28
|
transcript: string | null;
|
|
26
29
|
subject?: string;
|
|
27
30
|
html?: string;
|
|
@@ -22,6 +22,9 @@ export interface WebhookEventMessageSelfSentDataMessage {
|
|
|
22
22
|
mediaSize?: number;
|
|
23
23
|
durationSec?: number;
|
|
24
24
|
mediaError?: string;
|
|
25
|
+
latitude?: number;
|
|
26
|
+
longitude?: number;
|
|
27
|
+
locationName?: string;
|
|
25
28
|
transcript: string | null;
|
|
26
29
|
subject?: string;
|
|
27
30
|
html?: string;
|
|
@@ -22,6 +22,9 @@ export interface WebhookEventMessageSentDataMessage {
|
|
|
22
22
|
mediaSize?: number;
|
|
23
23
|
durationSec?: number;
|
|
24
24
|
mediaError?: string;
|
|
25
|
+
latitude?: number;
|
|
26
|
+
longitude?: number;
|
|
27
|
+
locationName?: string;
|
|
25
28
|
transcript: string | null;
|
|
26
29
|
subject?: string;
|
|
27
30
|
html?: string;
|
|
@@ -30,6 +30,9 @@ export declare namespace WebhookEventMessageHistoryDataMessagesItem {
|
|
|
30
30
|
mediaSize?: number | null;
|
|
31
31
|
durationSec?: number | null;
|
|
32
32
|
mediaError?: string | null;
|
|
33
|
+
latitude?: number | null;
|
|
34
|
+
longitude?: number | null;
|
|
35
|
+
locationName?: string | null;
|
|
33
36
|
transcript: string | null;
|
|
34
37
|
subject?: string | null;
|
|
35
38
|
html?: string | null;
|
|
@@ -62,6 +62,9 @@ exports.WebhookEventMessageHistoryDataMessagesItem = core.serialization.object({
|
|
|
62
62
|
mediaSize: core.serialization.number().optional(),
|
|
63
63
|
durationSec: core.serialization.number().optional(),
|
|
64
64
|
mediaError: core.serialization.string().optional(),
|
|
65
|
+
latitude: core.serialization.number().optional(),
|
|
66
|
+
longitude: core.serialization.number().optional(),
|
|
67
|
+
locationName: core.serialization.string().optional(),
|
|
65
68
|
transcript: core.serialization.string().nullable(),
|
|
66
69
|
subject: core.serialization.string().optional(),
|
|
67
70
|
html: core.serialization.string().optional(),
|
|
@@ -29,6 +29,9 @@ export declare namespace WebhookEventMessageReceivedDataMessage {
|
|
|
29
29
|
mediaSize?: number | null;
|
|
30
30
|
durationSec?: number | null;
|
|
31
31
|
mediaError?: string | null;
|
|
32
|
+
latitude?: number | null;
|
|
33
|
+
longitude?: number | null;
|
|
34
|
+
locationName?: string | null;
|
|
32
35
|
transcript: string | null;
|
|
33
36
|
subject?: string | null;
|
|
34
37
|
html?: string | null;
|
|
@@ -61,6 +61,9 @@ exports.WebhookEventMessageReceivedDataMessage = core.serialization.object({
|
|
|
61
61
|
mediaSize: core.serialization.number().optional(),
|
|
62
62
|
durationSec: core.serialization.number().optional(),
|
|
63
63
|
mediaError: core.serialization.string().optional(),
|
|
64
|
+
latitude: core.serialization.number().optional(),
|
|
65
|
+
longitude: core.serialization.number().optional(),
|
|
66
|
+
locationName: core.serialization.string().optional(),
|
|
64
67
|
transcript: core.serialization.string().nullable(),
|
|
65
68
|
subject: core.serialization.string().optional(),
|
|
66
69
|
html: core.serialization.string().optional(),
|
|
@@ -29,6 +29,9 @@ export declare namespace WebhookEventMessageSelfSentDataMessage {
|
|
|
29
29
|
mediaSize?: number | null;
|
|
30
30
|
durationSec?: number | null;
|
|
31
31
|
mediaError?: string | null;
|
|
32
|
+
latitude?: number | null;
|
|
33
|
+
longitude?: number | null;
|
|
34
|
+
locationName?: string | null;
|
|
32
35
|
transcript: string | null;
|
|
33
36
|
subject?: string | null;
|
|
34
37
|
html?: string | null;
|
|
@@ -61,6 +61,9 @@ exports.WebhookEventMessageSelfSentDataMessage = core.serialization.object({
|
|
|
61
61
|
mediaSize: core.serialization.number().optional(),
|
|
62
62
|
durationSec: core.serialization.number().optional(),
|
|
63
63
|
mediaError: core.serialization.string().optional(),
|
|
64
|
+
latitude: core.serialization.number().optional(),
|
|
65
|
+
longitude: core.serialization.number().optional(),
|
|
66
|
+
locationName: core.serialization.string().optional(),
|
|
64
67
|
transcript: core.serialization.string().nullable(),
|
|
65
68
|
subject: core.serialization.string().optional(),
|
|
66
69
|
html: core.serialization.string().optional(),
|
|
@@ -29,6 +29,9 @@ export declare namespace WebhookEventMessageSentDataMessage {
|
|
|
29
29
|
mediaSize?: number | null;
|
|
30
30
|
durationSec?: number | null;
|
|
31
31
|
mediaError?: string | null;
|
|
32
|
+
latitude?: number | null;
|
|
33
|
+
longitude?: number | null;
|
|
34
|
+
locationName?: string | null;
|
|
32
35
|
transcript: string | null;
|
|
33
36
|
subject?: string | null;
|
|
34
37
|
html?: string | null;
|
|
@@ -61,6 +61,9 @@ exports.WebhookEventMessageSentDataMessage = core.serialization.object({
|
|
|
61
61
|
mediaSize: core.serialization.number().optional(),
|
|
62
62
|
durationSec: core.serialization.number().optional(),
|
|
63
63
|
mediaError: core.serialization.string().optional(),
|
|
64
|
+
latitude: core.serialization.number().optional(),
|
|
65
|
+
longitude: core.serialization.number().optional(),
|
|
66
|
+
locationName: core.serialization.string().optional(),
|
|
64
67
|
transcript: core.serialization.string().nullable(),
|
|
65
68
|
subject: core.serialization.string().optional(),
|
|
66
69
|
html: core.serialization.string().optional(),
|