@linqapp/sdk 0.23.0 → 0.24.1
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/CHANGELOG.md +27 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/attachments.d.mts.map +1 -1
- package/resources/attachments.d.ts.map +1 -1
- package/resources/attachments.mjs.map +1 -1
- package/resources/capability.d.mts.map +1 -1
- package/resources/capability.d.ts.map +1 -1
- package/resources/capability.mjs.map +1 -1
- package/resources/chats/chats.d.mts +10 -10
- package/resources/chats/chats.d.mts.map +1 -1
- package/resources/chats/chats.d.ts +10 -10
- package/resources/chats/chats.d.ts.map +1 -1
- package/resources/chats/chats.mjs.map +1 -1
- package/resources/chats/index.d.mts.map +1 -1
- package/resources/chats/index.d.ts.map +1 -1
- package/resources/chats/index.mjs.map +1 -1
- package/resources/chats/messages.d.mts.map +1 -1
- package/resources/chats/messages.d.ts.map +1 -1
- package/resources/chats/messages.mjs.map +1 -1
- package/resources/chats/participants.d.mts.map +1 -1
- package/resources/chats/participants.d.ts.map +1 -1
- package/resources/chats/participants.mjs.map +1 -1
- package/resources/chats/typing.d.mts.map +1 -1
- package/resources/chats/typing.d.ts.map +1 -1
- package/resources/chats/typing.mjs.map +1 -1
- package/resources/chats.d.mts.map +1 -1
- package/resources/chats.d.ts.map +1 -1
- package/resources/chats.mjs.map +1 -1
- package/resources/contact-card.d.mts.map +1 -1
- package/resources/contact-card.d.ts.map +1 -1
- package/resources/contact-card.mjs.map +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.mjs.map +1 -1
- package/resources/phone-numbers.d.mts +43 -0
- package/resources/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers.d.ts +43 -0
- package/resources/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers.mjs.map +1 -1
- package/resources/phonenumbers.d.mts.map +1 -1
- package/resources/phonenumbers.d.ts.map +1 -1
- package/resources/phonenumbers.mjs.map +1 -1
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhook-events.mjs.map +1 -1
- package/resources/webhook-subscriptions.d.mts.map +1 -1
- package/resources/webhook-subscriptions.d.ts.map +1 -1
- package/resources/webhook-subscriptions.mjs.map +1 -1
- package/resources/webhooks.d.mts +23 -15
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +23 -15
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/resources/chats/chats.ts +10 -10
- package/src/resources/phone-numbers.ts +46 -0
- package/src/resources/webhooks.ts +25 -15
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -109,9 +109,9 @@ export namespace MessageEventV2 {
|
|
|
109
109
|
id: string;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
* **[BETA]** Current health for a chat. Always present — chats start at `
|
|
112
|
+
* **[BETA]** Current health for a chat. Always present — chats start at `HEALTHY`
|
|
113
113
|
* and may shift based on engagement and delivery signals on the conversation. Many
|
|
114
|
-
* `
|
|
114
|
+
* `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line
|
|
115
115
|
* flagging.
|
|
116
116
|
*
|
|
117
117
|
* Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -136,9 +136,9 @@ export namespace MessageEventV2 {
|
|
|
136
136
|
|
|
137
137
|
export namespace Chat {
|
|
138
138
|
/**
|
|
139
|
-
* **[BETA]** Current health for a chat. Always present — chats start at `
|
|
139
|
+
* **[BETA]** Current health for a chat. Always present — chats start at `HEALTHY`
|
|
140
140
|
* and may shift based on engagement and delivery signals on the conversation. Many
|
|
141
|
-
* `
|
|
141
|
+
* `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line
|
|
142
142
|
* flagging.
|
|
143
143
|
*
|
|
144
144
|
* Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -159,7 +159,7 @@ export namespace MessageEventV2 {
|
|
|
159
159
|
* [Chat Health guide](/guides/chats/chat-health) for what each value means and how
|
|
160
160
|
* to react. `doc_url` deep-links to the relevant section.
|
|
161
161
|
*/
|
|
162
|
-
status: '
|
|
162
|
+
status: 'HEALTHY' | 'AT_RISK' | 'CRITICAL' | 'OPTED_OUT';
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* When this status last changed.
|
|
@@ -924,9 +924,9 @@ export namespace MessageEditedWebhookEvent {
|
|
|
924
924
|
id: string;
|
|
925
925
|
|
|
926
926
|
/**
|
|
927
|
-
* **[BETA]** Current health for a chat. Always present — chats start at `
|
|
927
|
+
* **[BETA]** Current health for a chat. Always present — chats start at `HEALTHY`
|
|
928
928
|
* and may shift based on engagement and delivery signals on the conversation. Many
|
|
929
|
-
* `
|
|
929
|
+
* `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line
|
|
930
930
|
* flagging.
|
|
931
931
|
*
|
|
932
932
|
* Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -951,9 +951,9 @@ export namespace MessageEditedWebhookEvent {
|
|
|
951
951
|
|
|
952
952
|
export namespace Chat {
|
|
953
953
|
/**
|
|
954
|
-
* **[BETA]** Current health for a chat. Always present — chats start at `
|
|
954
|
+
* **[BETA]** Current health for a chat. Always present — chats start at `HEALTHY`
|
|
955
955
|
* and may shift based on engagement and delivery signals on the conversation. Many
|
|
956
|
-
* `
|
|
956
|
+
* `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line
|
|
957
957
|
* flagging.
|
|
958
958
|
*
|
|
959
959
|
* Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -974,7 +974,7 @@ export namespace MessageEditedWebhookEvent {
|
|
|
974
974
|
* [Chat Health guide](/guides/chats/chat-health) for what each value means and how
|
|
975
975
|
* to react. `doc_url` deep-links to the relevant section.
|
|
976
976
|
*/
|
|
977
|
-
status: '
|
|
977
|
+
status: 'HEALTHY' | 'AT_RISK' | 'CRITICAL' | 'OPTED_OUT';
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
* When this status last changed.
|
|
@@ -1341,9 +1341,9 @@ export namespace ChatCreatedWebhookEvent {
|
|
|
1341
1341
|
handles: Array<Shared.ChatHandle>;
|
|
1342
1342
|
|
|
1343
1343
|
/**
|
|
1344
|
-
* **[BETA]** Current health for a chat. Always present — chats start at `
|
|
1344
|
+
* **[BETA]** Current health for a chat. Always present — chats start at `HEALTHY`
|
|
1345
1345
|
* and may shift based on engagement and delivery signals on the conversation. Many
|
|
1346
|
-
* `
|
|
1346
|
+
* `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line
|
|
1347
1347
|
* flagging.
|
|
1348
1348
|
*
|
|
1349
1349
|
* Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -1373,9 +1373,9 @@ export namespace ChatCreatedWebhookEvent {
|
|
|
1373
1373
|
|
|
1374
1374
|
export namespace Data {
|
|
1375
1375
|
/**
|
|
1376
|
-
* **[BETA]** Current health for a chat. Always present — chats start at `
|
|
1376
|
+
* **[BETA]** Current health for a chat. Always present — chats start at `HEALTHY`
|
|
1377
1377
|
* and may shift based on engagement and delivery signals on the conversation. Many
|
|
1378
|
-
* `
|
|
1378
|
+
* `AT_RISK` or `CRITICAL` chats on a single line increase the risk of line
|
|
1379
1379
|
* flagging.
|
|
1380
1380
|
*
|
|
1381
1381
|
* Switch on `status` to gate sends or surface line health in your UI — the enum is
|
|
@@ -1396,7 +1396,7 @@ export namespace ChatCreatedWebhookEvent {
|
|
|
1396
1396
|
* [Chat Health guide](/guides/chats/chat-health) for what each value means and how
|
|
1397
1397
|
* to react. `doc_url` deep-links to the relevant section.
|
|
1398
1398
|
*/
|
|
1399
|
-
status: '
|
|
1399
|
+
status: 'HEALTHY' | 'AT_RISK' | 'CRITICAL' | 'OPTED_OUT';
|
|
1400
1400
|
|
|
1401
1401
|
/**
|
|
1402
1402
|
* When this status last changed.
|
|
@@ -1934,6 +1934,11 @@ export namespace PhoneNumberStatusUpdatedWebhookEvent {
|
|
|
1934
1934
|
*/
|
|
1935
1935
|
changed_at: string;
|
|
1936
1936
|
|
|
1937
|
+
/**
|
|
1938
|
+
* The new line health status
|
|
1939
|
+
*/
|
|
1940
|
+
new_health_status: 'HEALTHY' | 'AT_RISK' | 'CRITICAL';
|
|
1941
|
+
|
|
1937
1942
|
/**
|
|
1938
1943
|
* The new service status
|
|
1939
1944
|
*/
|
|
@@ -1944,6 +1949,11 @@ export namespace PhoneNumberStatusUpdatedWebhookEvent {
|
|
|
1944
1949
|
*/
|
|
1945
1950
|
phone_number: string;
|
|
1946
1951
|
|
|
1952
|
+
/**
|
|
1953
|
+
* The previous line health status
|
|
1954
|
+
*/
|
|
1955
|
+
previous_health_status: 'HEALTHY' | 'AT_RISK' | 'CRITICAL';
|
|
1956
|
+
|
|
1947
1957
|
/**
|
|
1948
1958
|
* The previous service status
|
|
1949
1959
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.24.1'; // x-release-please-version
|
package/uploads.d.mts
CHANGED
package/uploads.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/uploads.d.ts
CHANGED
package/uploads.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
|
package/uploads.mjs
CHANGED
package/uploads.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.24.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.24.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.24.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|