blujay 1.2.0 → 2.0.0
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 +7 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.d.ts +1 -1
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.js.map +1 -1
- package/dist/cjs/api/types/AudioPart.d.ts +1 -1
- package/dist/cjs/api/types/AudioPart.js.map +1 -1
- package/dist/cjs/api/types/CallEndedWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/CallEndedWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/CallRecordingReadyWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/CallRecordingReadyWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/ContactAssignedWebhookData.d.ts +10 -0
- package/dist/cjs/api/types/ContactAssignedWebhookData.js +4 -0
- package/dist/cjs/api/types/ContactAssignedWebhookData.js.map +1 -0
- package/dist/cjs/api/types/ContactAssignedWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/ContactAssignedWebhookEvent.js +11 -0
- package/dist/cjs/api/types/ContactAssignedWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/ContactTagAddedWebhookData.d.ts +9 -0
- package/dist/cjs/api/types/ContactTagAddedWebhookData.js +4 -0
- package/dist/cjs/api/types/ContactTagAddedWebhookData.js.map +1 -0
- package/dist/cjs/api/types/ContactTagAddedWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/ContactTagAddedWebhookEvent.js +11 -0
- package/dist/cjs/api/types/ContactTagAddedWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/ContactWebhookContact.d.ts +25 -0
- package/dist/cjs/api/types/ContactWebhookContact.js +4 -0
- package/dist/cjs/api/types/ContactWebhookContact.js.map +1 -0
- package/dist/cjs/api/types/GenericWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/GenericWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/GroupNameWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/GroupNameWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/GroupParticipantWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/GroupParticipantWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/MessageEditedWebhookData.d.ts +6 -6
- package/dist/cjs/api/types/MessageEditedWebhookData.js.map +1 -1
- package/dist/cjs/api/types/MessageEditedWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/MessageEditedWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/MessageLifecycleWebhookData.d.ts +5 -5
- package/dist/cjs/api/types/MessageLifecycleWebhookData.js.map +1 -1
- package/dist/cjs/api/types/MessageLifecycleWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/MessageLifecycleWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/MessageReceivedWebhookData.d.ts +7 -10
- package/dist/cjs/api/types/MessageReceivedWebhookData.js +1 -2
- package/dist/cjs/api/types/MessageReceivedWebhookData.js.map +1 -1
- package/dist/cjs/api/types/MessageReceivedWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/MessageReceivedWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/MessageUnsentWebhookData.d.ts +5 -5
- package/dist/cjs/api/types/MessageUnsentWebhookData.js.map +1 -1
- package/dist/cjs/api/types/MessageUnsentWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/MessageUnsentWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/ReactionWebhookData.d.ts +2 -2
- package/dist/cjs/api/types/ReactionWebhookData.js.map +1 -1
- package/dist/cjs/api/types/ReactionWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/ReactionWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/TypingWebhookData.d.ts +2 -2
- package/dist/cjs/api/types/TypingWebhookData.js.map +1 -1
- package/dist/cjs/api/types/TypingWebhookEvent.d.ts +1 -1
- package/dist/cjs/api/types/TypingWebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/WebhookEnvelope.d.ts +7 -6
- package/dist/cjs/api/types/WebhookEnvelope.js.map +1 -1
- package/dist/cjs/api/types/WebhookEvent.d.ts +6 -6
- package/dist/cjs/api/types/WebhookEvent.js.map +1 -1
- package/dist/cjs/api/types/WebhookEventPayloadVersion.d.ts +4 -0
- package/dist/cjs/api/types/WebhookEventPayloadVersion.js +4 -0
- package/dist/cjs/api/types/WebhookEventPayloadVersion.js.map +1 -0
- package/dist/cjs/api/types/WebhookPayloadVersion.d.ts +2 -15
- package/dist/cjs/api/types/WebhookPayloadVersion.js +2 -15
- package/dist/cjs/api/types/WebhookPayloadVersion.js.map +1 -1
- package/dist/cjs/api/types/index.d.ts +6 -0
- package/dist/cjs/api/types/index.js +6 -0
- package/dist/cjs/api/types/index.js.map +1 -1
- package/dist/cjs/custom/version.d.ts +1 -1
- package/dist/cjs/custom/version.js +1 -1
- package/dist/cjs/custom/version.js.map +1 -1
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.d.ts +1 -1
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.js.map +1 -1
- package/dist/esm/api/types/AudioPart.d.ts +1 -1
- package/dist/esm/api/types/AudioPart.js.map +1 -1
- package/dist/esm/api/types/CallEndedWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/CallEndedWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/CallRecordingReadyWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/CallRecordingReadyWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/ContactAssignedWebhookData.d.ts +10 -0
- package/dist/esm/api/types/ContactAssignedWebhookData.js +3 -0
- package/dist/esm/api/types/ContactAssignedWebhookData.js.map +1 -0
- package/dist/esm/api/types/ContactAssignedWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/ContactAssignedWebhookEvent.js +8 -0
- package/dist/esm/api/types/ContactAssignedWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/ContactTagAddedWebhookData.d.ts +9 -0
- package/dist/esm/api/types/ContactTagAddedWebhookData.js +3 -0
- package/dist/esm/api/types/ContactTagAddedWebhookData.js.map +1 -0
- package/dist/esm/api/types/ContactTagAddedWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/ContactTagAddedWebhookEvent.js +8 -0
- package/dist/esm/api/types/ContactTagAddedWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/ContactWebhookContact.d.ts +25 -0
- package/dist/esm/api/types/ContactWebhookContact.js +3 -0
- package/dist/esm/api/types/ContactWebhookContact.js.map +1 -0
- package/dist/esm/api/types/GenericWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/GenericWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/GroupNameWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/GroupNameWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/GroupParticipantWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/GroupParticipantWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/MessageEditedWebhookData.d.ts +6 -6
- package/dist/esm/api/types/MessageEditedWebhookData.js.map +1 -1
- package/dist/esm/api/types/MessageEditedWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/MessageEditedWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/MessageLifecycleWebhookData.d.ts +5 -5
- package/dist/esm/api/types/MessageLifecycleWebhookData.js.map +1 -1
- package/dist/esm/api/types/MessageLifecycleWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/MessageLifecycleWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/MessageReceivedWebhookData.d.ts +7 -10
- package/dist/esm/api/types/MessageReceivedWebhookData.js +1 -2
- package/dist/esm/api/types/MessageReceivedWebhookData.js.map +1 -1
- package/dist/esm/api/types/MessageReceivedWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/MessageReceivedWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/MessageUnsentWebhookData.d.ts +5 -5
- package/dist/esm/api/types/MessageUnsentWebhookData.js.map +1 -1
- package/dist/esm/api/types/MessageUnsentWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/MessageUnsentWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/PhoneNumberAssignedWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/PhoneNumberAssignedWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/PhoneNumberReleasedWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/PhoneNumberReleasedWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/ReactionWebhookData.d.ts +2 -2
- package/dist/esm/api/types/ReactionWebhookData.js.map +1 -1
- package/dist/esm/api/types/ReactionWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/ReactionWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/TypingWebhookData.d.ts +2 -2
- package/dist/esm/api/types/TypingWebhookData.js.map +1 -1
- package/dist/esm/api/types/TypingWebhookEvent.d.ts +1 -1
- package/dist/esm/api/types/TypingWebhookEvent.js.map +1 -1
- package/dist/esm/api/types/WebhookEnvelope.d.ts +7 -6
- package/dist/esm/api/types/WebhookEnvelope.js.map +1 -1
- package/dist/esm/api/types/WebhookEvent.d.ts +6 -6
- package/dist/esm/api/types/WebhookEvent.js.map +1 -1
- package/dist/esm/api/types/WebhookEventPayloadVersion.d.ts +4 -0
- package/dist/esm/api/types/WebhookEventPayloadVersion.js +3 -0
- package/dist/esm/api/types/WebhookEventPayloadVersion.js.map +1 -0
- package/dist/esm/api/types/WebhookPayloadVersion.d.ts +2 -15
- package/dist/esm/api/types/WebhookPayloadVersion.js +2 -15
- package/dist/esm/api/types/WebhookPayloadVersion.js.map +1 -1
- package/dist/esm/api/types/index.d.ts +6 -0
- package/dist/esm/api/types/index.js +6 -0
- package/dist/esm/api/types/index.js.map +1 -1
- package/dist/esm/custom/version.d.ts +1 -1
- package/dist/esm/custom/version.js +1 -1
- package/dist/esm/custom/version.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneNumberAssignedWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/PhoneNumberAssignedWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC/B,0CAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,+BAA+B,KAA/B,+BAA+B,QAK/C","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is PhoneNumberAssignedWebhookData.\n */\nexport interface PhoneNumberAssignedWebhookEvent {\n api_version: PhoneNumberAssignedWebhookEvent.ApiVersion;\n webhook_version: Blujay.
|
|
1
|
+
{"version":3,"file":"PhoneNumberAssignedWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/PhoneNumberAssignedWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC/B,0CAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,+BAA+B,KAA/B,+BAA+B,QAK/C","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is PhoneNumberAssignedWebhookData.\n */\nexport interface PhoneNumberAssignedWebhookEvent {\n api_version: PhoneNumberAssignedWebhookEvent.ApiVersion;\n webhook_version: Blujay.WebhookEventPayloadVersion;\n event_id: Blujay.EventId;\n created_at: string;\n trace_id: Blujay.TraceId;\n /** The workspace the event happened in. For a reseller partner subscription, the customer's workspace ID (the value you send in `Blujay-Workspace`); for customer events, your own partner workspace. */\n workspace_id: Blujay.WorkspaceId;\n /** The subscription that matched. Events for a reseller partner subscription always carry the partner subscription's ID, for every customer. */\n subscription_id: Blujay.WebhookSubscriptionId;\n data: Blujay.PhoneNumberAssignedWebhookData;\n}\n\nexport namespace PhoneNumberAssignedWebhookEvent {\n export const ApiVersion = {\n V1: \"v1\",\n } as const;\n export type ApiVersion = (typeof ApiVersion)[keyof typeof ApiVersion];\n}\n"]}
|
|
@@ -4,7 +4,7 @@ import type * as Blujay from "../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface PhoneNumberReleasedWebhookEvent {
|
|
6
6
|
api_version: PhoneNumberReleasedWebhookEvent.ApiVersion;
|
|
7
|
-
webhook_version: Blujay.
|
|
7
|
+
webhook_version: Blujay.WebhookEventPayloadVersion;
|
|
8
8
|
event_id: Blujay.EventId;
|
|
9
9
|
created_at: string;
|
|
10
10
|
trace_id: Blujay.TraceId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneNumberReleasedWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/PhoneNumberReleasedWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC/B,0CAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,+BAA+B,KAA/B,+BAA+B,QAK/C","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is PhoneNumberReleasedWebhookData.\n */\nexport interface PhoneNumberReleasedWebhookEvent {\n api_version: PhoneNumberReleasedWebhookEvent.ApiVersion;\n webhook_version: Blujay.
|
|
1
|
+
{"version":3,"file":"PhoneNumberReleasedWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/PhoneNumberReleasedWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC/B,0CAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,+BAA+B,KAA/B,+BAA+B,QAK/C","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is PhoneNumberReleasedWebhookData.\n */\nexport interface PhoneNumberReleasedWebhookEvent {\n api_version: PhoneNumberReleasedWebhookEvent.ApiVersion;\n webhook_version: Blujay.WebhookEventPayloadVersion;\n event_id: Blujay.EventId;\n created_at: string;\n trace_id: Blujay.TraceId;\n /** The workspace the event happened in. For a reseller partner subscription, the customer's workspace ID (the value you send in `Blujay-Workspace`); for customer events, your own partner workspace. */\n workspace_id: Blujay.WorkspaceId;\n /** The subscription that matched. Events for a reseller partner subscription always carry the partner subscription's ID, for every customer. */\n subscription_id: Blujay.WebhookSubscriptionId;\n data: Blujay.PhoneNumberReleasedWebhookData;\n}\n\nexport namespace PhoneNumberReleasedWebhookEvent {\n export const ApiVersion = {\n V1: \"v1\",\n } as const;\n export type ApiVersion = (typeof ApiVersion)[keyof typeof ApiVersion];\n}\n"]}
|
|
@@ -3,7 +3,7 @@ export interface ReactionWebhookData {
|
|
|
3
3
|
message_id: Blujay.MessageId;
|
|
4
4
|
chat_id: Blujay.ChatId;
|
|
5
5
|
phone_number_id: Blujay.PhoneNumberId;
|
|
6
|
-
/** The reaction.
|
|
6
|
+
/** The reaction. Contacts' emoji reactions arrive as `custom` with `emoji`, and stickers as `sticker` with `sticker`. */
|
|
7
7
|
reaction: ReactionWebhookData.Reaction;
|
|
8
8
|
reactor: Blujay.ReactionReactor;
|
|
9
9
|
occurred_at: string;
|
|
@@ -11,7 +11,7 @@ export interface ReactionWebhookData {
|
|
|
11
11
|
}
|
|
12
12
|
export declare namespace ReactionWebhookData {
|
|
13
13
|
/**
|
|
14
|
-
* The reaction.
|
|
14
|
+
* The reaction. Contacts' emoji reactions arrive as `custom` with `emoji`, and stickers as `sticker` with `sticker`.
|
|
15
15
|
*/
|
|
16
16
|
interface Reaction {
|
|
17
17
|
type: Blujay.ReactionKind;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionWebhookData.js","sourceRoot":"","sources":["../../../../src/api/types/ReactionWebhookData.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\nexport interface ReactionWebhookData {\n message_id: Blujay.MessageId;\n chat_id: Blujay.ChatId;\n phone_number_id: Blujay.PhoneNumberId;\n /** The reaction.
|
|
1
|
+
{"version":3,"file":"ReactionWebhookData.js","sourceRoot":"","sources":["../../../../src/api/types/ReactionWebhookData.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\nexport interface ReactionWebhookData {\n message_id: Blujay.MessageId;\n chat_id: Blujay.ChatId;\n phone_number_id: Blujay.PhoneNumberId;\n /** The reaction. Contacts' emoji reactions arrive as `custom` with `emoji`, and stickers as `sticker` with `sticker`. */\n reaction: ReactionWebhookData.Reaction;\n reactor: Blujay.ReactionReactor;\n occurred_at: string;\n observed_at: string;\n}\n\nexport namespace ReactionWebhookData {\n /**\n * The reaction. Contacts' emoji reactions arrive as `custom` with `emoji`, and stickers as `sticker` with `sticker`.\n */\n export interface Reaction {\n type: Blujay.ReactionKind;\n part_index: number;\n /** The emoji, present when `type` is `custom`. */\n emoji?: Blujay.ReactionEmoji | undefined;\n /** The sticker, present when `type` is `sticker`. A sticker peeled onto the bubble is never removed; a sticker used as a tapback can be, and its `reaction.removed` carries the same sticker when Blujay has it. */\n sticker?: Blujay.ReactionSticker | undefined;\n }\n}\n"]}
|
|
@@ -4,7 +4,7 @@ import type * as Blujay from "../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ReactionWebhookEvent {
|
|
6
6
|
api_version: ReactionWebhookEvent.ApiVersion;
|
|
7
|
-
webhook_version: Blujay.
|
|
7
|
+
webhook_version: Blujay.WebhookEventPayloadVersion;
|
|
8
8
|
event_id: Blujay.EventId;
|
|
9
9
|
created_at: string;
|
|
10
10
|
trace_id: Blujay.TraceId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/ReactionWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,oBAAoB,CAKpC;AALD,WAAiB,oBAAoB;IACpB,+BAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,oBAAoB,KAApB,oBAAoB,QAKpC","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is ReactionWebhookData.\n */\nexport interface ReactionWebhookEvent {\n api_version: ReactionWebhookEvent.ApiVersion;\n webhook_version: Blujay.
|
|
1
|
+
{"version":3,"file":"ReactionWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/ReactionWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,oBAAoB,CAKpC;AALD,WAAiB,oBAAoB;IACpB,+BAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,oBAAoB,KAApB,oBAAoB,QAKpC","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is ReactionWebhookData.\n */\nexport interface ReactionWebhookEvent {\n api_version: ReactionWebhookEvent.ApiVersion;\n webhook_version: Blujay.WebhookEventPayloadVersion;\n event_id: Blujay.EventId;\n created_at: string;\n trace_id: Blujay.TraceId;\n /** The workspace the event happened in. For a reseller partner subscription, the customer's workspace ID (the value you send in `Blujay-Workspace`); for customer events, your own partner workspace. */\n workspace_id: Blujay.WorkspaceId;\n /** The subscription that matched. Events for a reseller partner subscription always carry the partner subscription's ID, for every customer. */\n subscription_id: Blujay.WebhookSubscriptionId;\n data: Blujay.ReactionWebhookData;\n}\n\nexport namespace ReactionWebhookEvent {\n export const ApiVersion = {\n V1: \"v1\",\n } as const;\n export type ApiVersion = (typeof ApiVersion)[keyof typeof ApiVersion];\n}\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as Blujay from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Someone started or stopped typing in a direct iMessage chat
|
|
3
|
+
* Someone started or stopped typing in a direct iMessage chat or an iMessage group.
|
|
4
4
|
*
|
|
5
5
|
* `occurred_at` is when Blujay saw the indicator, not when the person pressed a key. Both start and stop events expire 60 seconds after `occurred_at`. While someone keeps typing you may get more start events, and a stop isn't guaranteed. Events can also arrive out of order. For each `chat_id` and `phone_number_id`, ignore expired or older events, and let a stop win a tie. Redelivering an event never extends its expiry.
|
|
6
6
|
*
|
|
7
|
-
* Direct-chat events
|
|
7
|
+
* Direct-chat events never include `participants`.
|
|
8
8
|
*/
|
|
9
9
|
export interface TypingWebhookData {
|
|
10
10
|
chat_id: Blujay.ChatId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypingWebhookData.js","sourceRoot":"","sources":["../../../../src/api/types/TypingWebhookData.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * Someone started or stopped typing in a direct iMessage chat
|
|
1
|
+
{"version":3,"file":"TypingWebhookData.js","sourceRoot":"","sources":["../../../../src/api/types/TypingWebhookData.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * Someone started or stopped typing in a direct iMessage chat or an iMessage group.\n *\n * `occurred_at` is when Blujay saw the indicator, not when the person pressed a key. Both start and stop events expire 60 seconds after `occurred_at`. While someone keeps typing you may get more start events, and a stop isn't guaranteed. Events can also arrive out of order. For each `chat_id` and `phone_number_id`, ignore expired or older events, and let a stop win a tie. Redelivering an event never extends its expiry.\n *\n * Direct-chat events never include `participants`.\n */\nexport interface TypingWebhookData {\n chat_id: Blujay.ChatId;\n phone_number_id: Blujay.PhoneNumberId;\n occurred_at: string;\n expires_at: string;\n /** Group chats only. Everyone typing in the group at `occurred_at`. Started events list at least one person; stopped events have an empty list. Replace your whole list of typers for the chat with each newer snapshot. Only current group members appear; your own numbers and former or unknown members never do. */\n participants?: Blujay.TypingWebhookParticipant[] | undefined;\n}\n"]}
|
|
@@ -4,7 +4,7 @@ import type * as Blujay from "../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface TypingWebhookEvent {
|
|
6
6
|
api_version: TypingWebhookEvent.ApiVersion;
|
|
7
|
-
webhook_version: Blujay.
|
|
7
|
+
webhook_version: Blujay.WebhookEventPayloadVersion;
|
|
8
8
|
event_id: Blujay.EventId;
|
|
9
9
|
created_at: string;
|
|
10
10
|
trace_id: Blujay.TraceId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypingWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/TypingWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IAClB,6BAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,kBAAkB,KAAlB,kBAAkB,QAKlC","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is TypingWebhookData.\n */\nexport interface TypingWebhookEvent {\n api_version: TypingWebhookEvent.ApiVersion;\n webhook_version: Blujay.
|
|
1
|
+
{"version":3,"file":"TypingWebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/TypingWebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAoBhE,MAAM,KAAW,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IAClB,6BAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,kBAAkB,KAAlB,kBAAkB,QAKlC","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event whose `data` is TypingWebhookData.\n */\nexport interface TypingWebhookEvent {\n api_version: TypingWebhookEvent.ApiVersion;\n webhook_version: Blujay.WebhookEventPayloadVersion;\n event_id: Blujay.EventId;\n created_at: string;\n trace_id: Blujay.TraceId;\n /** The workspace the event happened in. For a reseller partner subscription, the customer's workspace ID (the value you send in `Blujay-Workspace`); for customer events, your own partner workspace. */\n workspace_id: Blujay.WorkspaceId;\n /** The subscription that matched. Events for a reseller partner subscription always carry the partner subscription's ID, for every customer. */\n subscription_id: Blujay.WebhookSubscriptionId;\n data: Blujay.TypingWebhookData;\n}\n\nexport namespace TypingWebhookEvent {\n export const ApiVersion = {\n V1: \"v1\",\n } as const;\n export type ApiVersion = (typeof ApiVersion)[keyof typeof ApiVersion];\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Blujay from "../index.js";
|
|
2
2
|
export interface WebhookEnvelope {
|
|
3
3
|
api_version: WebhookEnvelope.ApiVersion;
|
|
4
|
-
webhook_version: Blujay.
|
|
4
|
+
webhook_version: Blujay.WebhookEventPayloadVersion;
|
|
5
5
|
event_type: Blujay.WebhookEventType;
|
|
6
6
|
event_id: Blujay.EventId;
|
|
7
7
|
created_at: string;
|
|
@@ -11,11 +11,12 @@ export interface WebhookEnvelope {
|
|
|
11
11
|
/** The subscription that matched. Events for a reseller partner subscription always carry the partner subscription's ID, for every customer. */
|
|
12
12
|
subscription_id: Blujay.WebhookSubscriptionId;
|
|
13
13
|
/**
|
|
14
|
-
* The event's details. The shape depends on `event_type
|
|
15
|
-
* - Message events
|
|
16
|
-
* - `message.received` events for group messages, and for direct messages from someone who isn't a contact (an email address, a short code or a number outside the US), include `sender
|
|
17
|
-
* -
|
|
18
|
-
* - `message.failed` events may include a `failure_code` you can act on.
|
|
14
|
+
* The event's details. The shape depends on `event_type`.
|
|
15
|
+
* - Message events include `parts`. A media part gives the `attachment_id`, file details and a `download_url`.
|
|
16
|
+
* - `message.received` events for group messages, and for direct messages from someone who isn't a contact (an email address, a short code or a number outside the US), include `sender`. A contact's direct messages include `sender` too, with the same `contact_id`. Check `sender.type` to skip `short_code` alerts.
|
|
17
|
+
* - Every message event includes `reply_to` (the same object as in message reads, or null).
|
|
18
|
+
* - `message.failed` events may include a `failure_code` you can act on. They also include `failure` with a `code` and a readable `reason`. `failure.code` is one of `network_rejected` (the messaging network rejected the message), `service_mismatch`, `sender_unavailable`, `sender_retired`, `recipient_unavailable`, `reply_requires_imessage`, `dispatch_unavailable`, `unsupported_content` (content the selected service can't send, such as a file type or size it doesn't carry) or `delivery_failed`.
|
|
19
|
+
* - `contact.tag_added` and `contact.assigned` include the `contact` as `GET /v1/contacts/{contact_id}` returns it, with `first_name`, `last_name` and `company` when it has them.
|
|
19
20
|
*/
|
|
20
21
|
data: Record<string, unknown>;
|
|
21
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookEnvelope.js","sourceRoot":"","sources":["../../../../src/api/types/WebhookEnvelope.ts"],"names":[],"mappings":"AAAA,gEAAgE;
|
|
1
|
+
{"version":3,"file":"WebhookEnvelope.js","sourceRoot":"","sources":["../../../../src/api/types/WebhookEnvelope.ts"],"names":[],"mappings":"AAAA,gEAAgE;AA0BhE,MAAM,KAAW,eAAe,CAK/B;AALD,WAAiB,eAAe;IACf,0BAAU,GAAG;QACtB,EAAE,EAAE,IAAI;KACF,CAAC;AAEf,CAAC,EALgB,eAAe,KAAf,eAAe,QAK/B","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\nexport interface WebhookEnvelope {\n api_version: WebhookEnvelope.ApiVersion;\n webhook_version: Blujay.WebhookEventPayloadVersion;\n event_type: Blujay.WebhookEventType;\n event_id: Blujay.EventId;\n created_at: string;\n trace_id: Blujay.TraceId;\n /** The workspace the event happened in. For a reseller partner subscription, the customer's workspace ID (the value you send in `Blujay-Workspace`); for customer events, your own partner workspace. */\n workspace_id: Blujay.WorkspaceId;\n /** The subscription that matched. Events for a reseller partner subscription always carry the partner subscription's ID, for every customer. */\n subscription_id: Blujay.WebhookSubscriptionId;\n /**\n * The event's details. The shape depends on `event_type`.\n * - Message events include `parts`. A media part gives the `attachment_id`, file details and a `download_url`.\n * - `message.received` events for group messages, and for direct messages from someone who isn't a contact (an email address, a short code or a number outside the US), include `sender`. A contact's direct messages include `sender` too, with the same `contact_id`. Check `sender.type` to skip `short_code` alerts.\n * - Every message event includes `reply_to` (the same object as in message reads, or null).\n * - `message.failed` events may include a `failure_code` you can act on. They also include `failure` with a `code` and a readable `reason`. `failure.code` is one of `network_rejected` (the messaging network rejected the message), `service_mismatch`, `sender_unavailable`, `sender_retired`, `recipient_unavailable`, `reply_requires_imessage`, `dispatch_unavailable`, `unsupported_content` (content the selected service can't send, such as a file type or size it doesn't carry) or `delivery_failed`.\n * - `contact.tag_added` and `contact.assigned` include the `contact` as `GET /v1/contacts/{contact_id}` returns it, with `first_name`, `last_name` and `company` when it has them.\n */\n data: Record<string, unknown>;\n}\n\nexport namespace WebhookEnvelope {\n export const ApiVersion = {\n V1: \"v1\",\n } as const;\n export type ApiVersion = (typeof ApiVersion)[keyof typeof ApiVersion];\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import type * as Blujay from "../index.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* A webhook event. Check `event_type` to know the shape of `data`.
|
|
4
4
|
*/
|
|
5
|
-
export type WebhookEvent = Blujay.WebhookEvent.CallEnded | Blujay.WebhookEvent.CallRecordingReady | Blujay.WebhookEvent.MessageAccepted | Blujay.WebhookEvent.MessageSent | Blujay.WebhookEvent.MessageDelivered | Blujay.WebhookEvent.MessageRead | Blujay.WebhookEvent.MessageFailed | Blujay.WebhookEvent.ReactionAdded | Blujay.WebhookEvent.ReactionRemoved | Blujay.WebhookEvent.MessageReceived | Blujay.WebhookEvent.ChatTypingIndicatorStarted | Blujay.WebhookEvent.ChatTypingIndicatorStopped | Blujay.WebhookEvent.ParticipantAdded | Blujay.WebhookEvent.ParticipantRemoved | Blujay.WebhookEvent.ChatGroupNameUpdated | Blujay.WebhookEvent.MessageEdited | Blujay.WebhookEvent.MessageUnsent | Blujay.WebhookEvent.PhoneNumberAssigned | Blujay.WebhookEvent.PhoneNumberReleased | Blujay.WebhookEvent.
|
|
5
|
+
export type WebhookEvent = Blujay.WebhookEvent.CallEnded | Blujay.WebhookEvent.CallRecordingReady | Blujay.WebhookEvent.MessageAccepted | Blujay.WebhookEvent.MessageSent | Blujay.WebhookEvent.MessageDelivered | Blujay.WebhookEvent.MessageRead | Blujay.WebhookEvent.MessageFailed | Blujay.WebhookEvent.ReactionAdded | Blujay.WebhookEvent.ReactionRemoved | Blujay.WebhookEvent.MessageReceived | Blujay.WebhookEvent.ChatTypingIndicatorStarted | Blujay.WebhookEvent.ChatTypingIndicatorStopped | Blujay.WebhookEvent.ParticipantAdded | Blujay.WebhookEvent.ParticipantRemoved | Blujay.WebhookEvent.ChatGroupNameUpdated | Blujay.WebhookEvent.MessageEdited | Blujay.WebhookEvent.MessageUnsent | Blujay.WebhookEvent.PhoneNumberAssigned | Blujay.WebhookEvent.PhoneNumberReleased | Blujay.WebhookEvent.ContactTagAdded | Blujay.WebhookEvent.ContactAssigned | Blujay.WebhookEvent.PhoneNumberStatusUpdated;
|
|
6
6
|
export declare namespace WebhookEvent {
|
|
7
7
|
interface CallEnded extends Blujay.CallEndedWebhookEvent {
|
|
8
8
|
event_type: "call.ended";
|
|
@@ -61,13 +61,13 @@ export declare namespace WebhookEvent {
|
|
|
61
61
|
interface PhoneNumberReleased extends Blujay.PhoneNumberReleasedWebhookEvent {
|
|
62
62
|
event_type: "phone_number.released";
|
|
63
63
|
}
|
|
64
|
-
interface
|
|
65
|
-
event_type: "phone_number.status_updated";
|
|
66
|
-
}
|
|
67
|
-
interface ContactTagAdded extends Blujay.GenericWebhookEvent {
|
|
64
|
+
interface ContactTagAdded extends Blujay.ContactTagAddedWebhookEvent {
|
|
68
65
|
event_type: "contact.tag_added";
|
|
69
66
|
}
|
|
70
|
-
interface ContactAssigned extends Blujay.
|
|
67
|
+
interface ContactAssigned extends Blujay.ContactAssignedWebhookEvent {
|
|
71
68
|
event_type: "contact.assigned";
|
|
72
69
|
}
|
|
70
|
+
interface PhoneNumberStatusUpdated extends Blujay.GenericWebhookEvent {
|
|
71
|
+
event_type: "phone_number.status_updated";
|
|
72
|
+
}
|
|
73
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/WebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event. Check `event_type` to know the shape of `data`.\n */\nexport type WebhookEvent =\n | Blujay.WebhookEvent.CallEnded\n | Blujay.WebhookEvent.CallRecordingReady\n | Blujay.WebhookEvent.MessageAccepted\n | Blujay.WebhookEvent.MessageSent\n | Blujay.WebhookEvent.MessageDelivered\n | Blujay.WebhookEvent.MessageRead\n | Blujay.WebhookEvent.MessageFailed\n | Blujay.WebhookEvent.ReactionAdded\n | Blujay.WebhookEvent.ReactionRemoved\n | Blujay.WebhookEvent.MessageReceived\n | Blujay.WebhookEvent.ChatTypingIndicatorStarted\n | Blujay.WebhookEvent.ChatTypingIndicatorStopped\n | Blujay.WebhookEvent.ParticipantAdded\n | Blujay.WebhookEvent.ParticipantRemoved\n | Blujay.WebhookEvent.ChatGroupNameUpdated\n | Blujay.WebhookEvent.MessageEdited\n | Blujay.WebhookEvent.MessageUnsent\n | Blujay.WebhookEvent.PhoneNumberAssigned\n | Blujay.WebhookEvent.PhoneNumberReleased\n | Blujay.WebhookEvent.
|
|
1
|
+
{"version":3,"file":"WebhookEvent.js","sourceRoot":"","sources":["../../../../src/api/types/WebhookEvent.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport type * as Blujay from \"../index.js\";\n\n/**\n * A webhook event. Check `event_type` to know the shape of `data`.\n */\nexport type WebhookEvent =\n | Blujay.WebhookEvent.CallEnded\n | Blujay.WebhookEvent.CallRecordingReady\n | Blujay.WebhookEvent.MessageAccepted\n | Blujay.WebhookEvent.MessageSent\n | Blujay.WebhookEvent.MessageDelivered\n | Blujay.WebhookEvent.MessageRead\n | Blujay.WebhookEvent.MessageFailed\n | Blujay.WebhookEvent.ReactionAdded\n | Blujay.WebhookEvent.ReactionRemoved\n | Blujay.WebhookEvent.MessageReceived\n | Blujay.WebhookEvent.ChatTypingIndicatorStarted\n | Blujay.WebhookEvent.ChatTypingIndicatorStopped\n | Blujay.WebhookEvent.ParticipantAdded\n | Blujay.WebhookEvent.ParticipantRemoved\n | Blujay.WebhookEvent.ChatGroupNameUpdated\n | Blujay.WebhookEvent.MessageEdited\n | Blujay.WebhookEvent.MessageUnsent\n | Blujay.WebhookEvent.PhoneNumberAssigned\n | Blujay.WebhookEvent.PhoneNumberReleased\n | Blujay.WebhookEvent.ContactTagAdded\n | Blujay.WebhookEvent.ContactAssigned\n | Blujay.WebhookEvent.PhoneNumberStatusUpdated;\n\nexport namespace WebhookEvent {\n export interface CallEnded extends Blujay.CallEndedWebhookEvent {\n event_type: \"call.ended\";\n }\n\n export interface CallRecordingReady extends Blujay.CallRecordingReadyWebhookEvent {\n event_type: \"call.recording_ready\";\n }\n\n export interface MessageAccepted extends Blujay.MessageLifecycleWebhookEvent {\n event_type: \"message.accepted\";\n }\n\n export interface MessageSent extends Blujay.MessageLifecycleWebhookEvent {\n event_type: \"message.sent\";\n }\n\n export interface MessageDelivered extends Blujay.MessageLifecycleWebhookEvent {\n event_type: \"message.delivered\";\n }\n\n export interface MessageRead extends Blujay.MessageLifecycleWebhookEvent {\n event_type: \"message.read\";\n }\n\n export interface MessageFailed extends Blujay.MessageLifecycleWebhookEvent {\n event_type: \"message.failed\";\n }\n\n export interface ReactionAdded extends Blujay.ReactionWebhookEvent {\n event_type: \"reaction.added\";\n }\n\n export interface ReactionRemoved extends Blujay.ReactionWebhookEvent {\n event_type: \"reaction.removed\";\n }\n\n export interface MessageReceived extends Blujay.MessageReceivedWebhookEvent {\n event_type: \"message.received\";\n }\n\n export interface ChatTypingIndicatorStarted extends Blujay.TypingWebhookEvent {\n event_type: \"chat.typing_indicator.started\";\n }\n\n export interface ChatTypingIndicatorStopped extends Blujay.TypingWebhookEvent {\n event_type: \"chat.typing_indicator.stopped\";\n }\n\n export interface ParticipantAdded extends Blujay.GroupParticipantWebhookEvent {\n event_type: \"participant.added\";\n }\n\n export interface ParticipantRemoved extends Blujay.GroupParticipantWebhookEvent {\n event_type: \"participant.removed\";\n }\n\n export interface ChatGroupNameUpdated extends Blujay.GroupNameWebhookEvent {\n event_type: \"chat.group_name_updated\";\n }\n\n export interface MessageEdited extends Blujay.MessageEditedWebhookEvent {\n event_type: \"message.edited\";\n }\n\n export interface MessageUnsent extends Blujay.MessageUnsentWebhookEvent {\n event_type: \"message.unsent\";\n }\n\n export interface PhoneNumberAssigned extends Blujay.PhoneNumberAssignedWebhookEvent {\n event_type: \"phone_number.assigned\";\n }\n\n export interface PhoneNumberReleased extends Blujay.PhoneNumberReleasedWebhookEvent {\n event_type: \"phone_number.released\";\n }\n\n export interface ContactTagAdded extends Blujay.ContactTagAddedWebhookEvent {\n event_type: \"contact.tag_added\";\n }\n\n export interface ContactAssigned extends Blujay.ContactAssignedWebhookEvent {\n event_type: \"contact.assigned\";\n }\n\n export interface PhoneNumberStatusUpdated extends Blujay.GenericWebhookEvent {\n event_type: \"phone_number.status_updated\";\n }\n}\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The payload version the event was created with. New events carry `2026-12-01`. An event created before 2026-12-01 keeps its original version and payload when it is delivered again, so don't reject an event only because of this value.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventPayloadVersion = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebhookEventPayloadVersion.js","sourceRoot":"","sources":["../../../../src/api/types/WebhookEventPayloadVersion.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\n/**\n * The payload version the event was created with. New events carry `2026-12-01`. An event created before 2026-12-01 keeps its original version and payload when it is delivered again, so don't reject an event only because of this value.\n */\nexport type WebhookEventPayloadVersion = string;\n"]}
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The payload version for a subscription's events.
|
|
3
|
-
* - `2026-08-20` reports the service you asked for as `requested_service` and the service actually used as `service`.
|
|
4
|
-
* - `2026-09-02` adds message `parts`.
|
|
5
|
-
* - `2026-10-03` adds iMessage group typing with a `participants` snapshot, `reply_to` on message events, voice memos as `audio` parts (`2026-09-02` reports them as `media` parts), and `saved` on the `contact` in `contact.tag_added` and `contact.assigned`.
|
|
6
|
-
* - `2026-10-30` reports contacts' emoji reactions as `reaction.added` / `reaction.removed` with type `custom` and `emoji`, and stickers with type `sticker` and `sticker`. Earlier versions receive them as `message.received`, as before.
|
|
7
|
-
*
|
|
8
|
-
* Earlier versions keep their original payload shapes and never receive group typing. Each event uses the subscription's version at the time the event was created, so changing the version affects only later events.
|
|
9
|
-
*/
|
|
1
|
+
/** The payload version for a subscription's events. `2026-12-01` is the only version today. Every event names its version in `webhook_version`. A later version would be added beside this one, and a subscription would keep its version until you change it. */
|
|
10
2
|
export declare const WebhookPayloadVersion: {
|
|
11
|
-
readonly
|
|
12
|
-
readonly TwoThousandTwentySix0801: "2026-08-01";
|
|
13
|
-
readonly TwoThousandTwentySix0820: "2026-08-20";
|
|
14
|
-
readonly TwoThousandTwentySix0902: "2026-09-02";
|
|
15
|
-
readonly TwoThousandTwentySix1003: "2026-10-03";
|
|
16
|
-
readonly TwoThousandTwentySix1030: "2026-10-30";
|
|
3
|
+
readonly TwoThousandTwentySix1201: "2026-12-01";
|
|
17
4
|
};
|
|
18
5
|
export type WebhookPayloadVersion = (typeof WebhookPayloadVersion)[keyof typeof WebhookPayloadVersion];
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/**
|
|
3
|
-
* The payload version for a subscription's events.
|
|
4
|
-
* - `2026-08-20` reports the service you asked for as `requested_service` and the service actually used as `service`.
|
|
5
|
-
* - `2026-09-02` adds message `parts`.
|
|
6
|
-
* - `2026-10-03` adds iMessage group typing with a `participants` snapshot, `reply_to` on message events, voice memos as `audio` parts (`2026-09-02` reports them as `media` parts), and `saved` on the `contact` in `contact.tag_added` and `contact.assigned`.
|
|
7
|
-
* - `2026-10-30` reports contacts' emoji reactions as `reaction.added` / `reaction.removed` with type `custom` and `emoji`, and stickers with type `sticker` and `sticker`. Earlier versions receive them as `message.received`, as before.
|
|
8
|
-
*
|
|
9
|
-
* Earlier versions keep their original payload shapes and never receive group typing. Each event uses the subscription's version at the time the event was created, so changing the version affects only later events.
|
|
10
|
-
*/
|
|
2
|
+
/** The payload version for a subscription's events. `2026-12-01` is the only version today. Every event names its version in `webhook_version`. A later version would be added beside this one, and a subscription would keep its version until you change it. */
|
|
11
3
|
export const WebhookPayloadVersion = {
|
|
12
|
-
|
|
13
|
-
TwoThousandTwentySix0801: "2026-08-01",
|
|
14
|
-
TwoThousandTwentySix0820: "2026-08-20",
|
|
15
|
-
TwoThousandTwentySix0902: "2026-09-02",
|
|
16
|
-
TwoThousandTwentySix1003: "2026-10-03",
|
|
17
|
-
TwoThousandTwentySix1030: "2026-10-30",
|
|
4
|
+
TwoThousandTwentySix1201: "2026-12-01",
|
|
18
5
|
};
|
|
19
6
|
//# sourceMappingURL=WebhookPayloadVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookPayloadVersion.js","sourceRoot":"","sources":["../../../../src/api/types/WebhookPayloadVersion.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAEhE
|
|
1
|
+
{"version":3,"file":"WebhookPayloadVersion.js","sourceRoot":"","sources":["../../../../src/api/types/WebhookPayloadVersion.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAEhE,kQAAkQ;AAClQ,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,wBAAwB,EAAE,YAAY;CAChC,CAAC","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\n/** The payload version for a subscription's events. `2026-12-01` is the only version today. Every event names its version in `webhook_version`. A later version would be added beside this one, and a subscription would keep its version until you change it. */\nexport const WebhookPayloadVersion = {\n TwoThousandTwentySix1201: \"2026-12-01\",\n} as const;\nexport type WebhookPayloadVersion = (typeof WebhookPayloadVersion)[keyof typeof WebhookPayloadVersion];\n"]}
|
|
@@ -26,6 +26,8 @@ export * from "./ChatList.js";
|
|
|
26
26
|
export * from "./ChatParticipant.js";
|
|
27
27
|
export * from "./ChatType.js";
|
|
28
28
|
export * from "./Contact.js";
|
|
29
|
+
export * from "./ContactAssignedWebhookData.js";
|
|
30
|
+
export * from "./ContactAssignedWebhookEvent.js";
|
|
29
31
|
export * from "./ContactAssignmentActionResult.js";
|
|
30
32
|
export * from "./ContactCardProfile.js";
|
|
31
33
|
export * from "./ContactId.js";
|
|
@@ -36,6 +38,9 @@ export * from "./ContactSearchResult.js";
|
|
|
36
38
|
export * from "./ContactStageActionResult.js";
|
|
37
39
|
export * from "./ContactSuppression.js";
|
|
38
40
|
export * from "./ContactTagActionResult.js";
|
|
41
|
+
export * from "./ContactTagAddedWebhookData.js";
|
|
42
|
+
export * from "./ContactTagAddedWebhookEvent.js";
|
|
43
|
+
export * from "./ContactWebhookContact.js";
|
|
39
44
|
export * from "./DirectChatParticipant.js";
|
|
40
45
|
export * from "./ErrorEnvelope.js";
|
|
41
46
|
export * from "./ErrorObject.js";
|
|
@@ -110,6 +115,7 @@ export * from "./WebhookDeliveryAttempt.js";
|
|
|
110
115
|
export * from "./WebhookDeliveryAttemptList.js";
|
|
111
116
|
export * from "./WebhookEnvelope.js";
|
|
112
117
|
export * from "./WebhookEvent.js";
|
|
118
|
+
export * from "./WebhookEventPayloadVersion.js";
|
|
113
119
|
export * from "./WebhookEventType.js";
|
|
114
120
|
export * from "./WebhookPayloadVersion.js";
|
|
115
121
|
export * from "./WebhookPhoneNumberFilter.js";
|
|
@@ -26,6 +26,8 @@ export * from "./ChatList.js";
|
|
|
26
26
|
export * from "./ChatParticipant.js";
|
|
27
27
|
export * from "./ChatType.js";
|
|
28
28
|
export * from "./Contact.js";
|
|
29
|
+
export * from "./ContactAssignedWebhookData.js";
|
|
30
|
+
export * from "./ContactAssignedWebhookEvent.js";
|
|
29
31
|
export * from "./ContactAssignmentActionResult.js";
|
|
30
32
|
export * from "./ContactCardProfile.js";
|
|
31
33
|
export * from "./ContactId.js";
|
|
@@ -36,6 +38,9 @@ export * from "./ContactSearchResult.js";
|
|
|
36
38
|
export * from "./ContactStageActionResult.js";
|
|
37
39
|
export * from "./ContactSuppression.js";
|
|
38
40
|
export * from "./ContactTagActionResult.js";
|
|
41
|
+
export * from "./ContactTagAddedWebhookData.js";
|
|
42
|
+
export * from "./ContactTagAddedWebhookEvent.js";
|
|
43
|
+
export * from "./ContactWebhookContact.js";
|
|
39
44
|
export * from "./DirectChatParticipant.js";
|
|
40
45
|
export * from "./ErrorEnvelope.js";
|
|
41
46
|
export * from "./ErrorObject.js";
|
|
@@ -110,6 +115,7 @@ export * from "./WebhookDeliveryAttempt.js";
|
|
|
110
115
|
export * from "./WebhookDeliveryAttemptList.js";
|
|
111
116
|
export * from "./WebhookEnvelope.js";
|
|
112
117
|
export * from "./WebhookEvent.js";
|
|
118
|
+
export * from "./WebhookEventPayloadVersion.js";
|
|
113
119
|
export * from "./WebhookEventType.js";
|
|
114
120
|
export * from "./WebhookPayloadVersion.js";
|
|
115
121
|
export * from "./WebhookPhoneNumberFilter.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,oCAAoC,CAAC;AACnD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC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BAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC","sourcesContent":["export * from \"./AcceptedChatLeave.js\";\nexport * from \"./AcceptedChatMetadataMutation.js\";\nexport * from \"./AcceptedGroupParticipantMutation.js\";\nexport * from \"./AcceptedMessage.js\";\nexport * from \"./AcceptedMessageReaction.js\";\nexport * from \"./ApiKeyCredential.js\";\nexport * from \"./ApiKeySummary.js\";\nexport * from \"./AssignableTeamMemberList.js\";\nexport * from \"./AssignedTeamMember.js\";\nexport * from \"./Attachment.js\";\nexport * from \"./AttachmentId.js\";\nexport * from \"./AttachmentUpload.js\";\nexport * from \"./AudioOutputPart.js\";\nexport * from \"./AudioPart.js\";\nexport * from \"./CallEndedWebhookData.js\";\nexport * from \"./CallEndedWebhookEvent.js\";\nexport * from \"./CallId.js\";\nexport * from \"./CallRecordingReadyWebhookData.js\";\nexport * from \"./CallRecordingReadyWebhookEvent.js\";\nexport * from \"./CapabilityServiceResult.js\";\nexport * from \"./Chat.js\";\nexport * from \"./ChatIcon.js\";\nexport * from \"./ChatIconInput.js\";\nexport * from \"./ChatId.js\";\nexport * from \"./ChatList.js\";\nexport * from \"./ChatParticipant.js\";\nexport * from \"./ChatType.js\";\nexport * from \"./Contact.js\";\nexport * from \"./ContactAssignmentActionResult.js\";\nexport * from \"./ContactCardProfile.js\";\nexport * from \"./ContactId.js\";\nexport * from \"./ContactList.js\";\nexport * from \"./ContactNote.js\";\nexport * from \"./ContactNoteList.js\";\nexport * from \"./ContactSearchResult.js\";\nexport * from \"./ContactStageActionResult.js\";\nexport * from \"./ContactSuppression.js\";\nexport * from \"./ContactTagActionResult.js\";\nexport * from \"./DirectChatParticipant.js\";\nexport * from \"./ErrorEnvelope.js\";\nexport * from \"./ErrorObject.js\";\nexport * from \"./EventId.js\";\nexport * from \"./GenericWebhookEvent.js\";\nexport * from \"./GroupNameWebhookData.js\";\nexport * from \"./GroupNameWebhookEvent.js\";\nexport * from \"./GroupParticipant.js\";\nexport * from \"./GroupParticipantList.js\";\nexport * from \"./GroupParticipantWebhookData.js\";\nexport * from \"./GroupParticipantWebhookEvent.js\";\nexport * from \"./GroupPhoneNumber.js\";\nexport * from \"./GroupWebhookParticipant.js\";\nexport * from \"./LinkPart.js\";\nexport * from \"./Me.js\";\nexport * from \"./MediaOutputPart.js\";\nexport * from \"./MediaPart.js\";\nexport * from \"./MemberId.js\";\nexport * from \"./Message.js\";\nexport * from \"./MessageDegradation.js\";\nexport * from \"./MessageEditedWebhookData.js\";\nexport * from \"./MessageEditedWebhookEvent.js\";\nexport * from \"./MessageEditHistoryEntry.js\";\nexport * from \"./MessageEffect.js\";\nexport * from \"./MessageFailure.js\";\nexport * from \"./MessageId.js\";\nexport * from \"./MessageInput.js\";\nexport * from \"./MessageLifecycleWebhookData.js\";\nexport * from \"./MessageLifecycleWebhookEvent.js\";\nexport * from \"./MessageList.js\";\nexport * from \"./MessageOutputPart.js\";\nexport * from \"./MessagePart.js\";\nexport * from \"./MessageReaction.js\";\nexport * from \"./MessageReceivedWebhookData.js\";\nexport * from \"./MessageReceivedWebhookEvent.js\";\nexport * from \"./MessageReplyTo.js\";\nexport * from \"./MessageReplyToInfo.js\";\nexport * from \"./MessageSender.js\";\nexport * from \"./MessageStatus.js\";\nexport * from \"./MessageTeamMemberId.js\";\nexport * from \"./MessageUnsentWebhookData.js\";\nexport * from \"./MessageUnsentWebhookEvent.js\";\nexport * from \"./MessageWebhookRecipient.js\";\nexport * from \"./PhoneNumber.js\";\nexport * from \"./PhoneNumberAssignedWebhookData.js\";\nexport * from \"./PhoneNumberAssignedWebhookEvent.js\";\nexport * from \"./PhoneNumberId.js\";\nexport * from \"./PhoneNumberList.js\";\nexport * from \"./PhoneNumberReleasedWebhookData.js\";\nexport * from \"./PhoneNumberReleasedWebhookEvent.js\";\nexport * from \"./ReactionEmoji.js\";\nexport * from \"./ReactionKind.js\";\nexport * from \"./ReactionReactor.js\";\nexport * from \"./ReactionSticker.js\";\nexport * from \"./ReactionType.js\";\nexport * from \"./ReactionWebhookData.js\";\nexport * from \"./ReactionWebhookEvent.js\";\nexport * from \"./SuccessEnvelope.js\";\nexport * from \"./TeamMember.js\";\nexport * from \"./TextDecoration.js\";\nexport * from \"./TextPart.js\";\nexport * from \"./TraceId.js\";\nexport * from \"./TypingWebhookData.js\";\nexport * from \"./TypingWebhookEvent.js\";\nexport * from \"./TypingWebhookParticipant.js\";\nexport * from \"./Vcard.js\";\nexport * from \"./VcardFields.js\";\nexport * from \"./VcardId.js\";\nexport * from \"./VcardList.js\";\nexport * from \"./VcardPart.js\";\nexport * from \"./WebhookDeliveryAttempt.js\";\nexport * from \"./WebhookDeliveryAttemptList.js\";\nexport * from \"./WebhookEnvelope.js\";\nexport * from \"./WebhookEvent.js\";\nexport * from \"./WebhookEventType.js\";\nexport * from \"./WebhookPayloadVersion.js\";\nexport * from \"./WebhookPhoneNumberFilter.js\";\nexport * from \"./WebhookReplayAccepted.js\";\nexport * from \"./WebhookSubscribableEventType.js\";\nexport * from \"./WebhookSubscription.js\";\nexport * from \"./WebhookSubscriptionId.js\";\nexport * from \"./WebhookSubscriptionList.js\";\nexport * from \"./WebhookSubscriptionStatus.js\";\nexport * from \"./WebhookSubscriptionWithSecret.js\";\nexport * from \"./Workflow.js\";\nexport * from \"./WorkflowId.js\";\nexport * from \"./WorkflowList.js\";\nexport * from \"./WorkflowMetadata.js\";\nexport * from \"./WorkflowRunSummary.js\";\nexport * from \"./WorkflowTrigger.js\";\nexport * from \"./WorkspaceId.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8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Ac,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC","sourcesContent":["export * from \"./AcceptedChatLeave.js\";\nexport * from \"./AcceptedChatMetadataMutation.js\";\nexport * from \"./AcceptedGroupParticipantMutation.js\";\nexport * from \"./AcceptedMessage.js\";\nexport * from \"./AcceptedMessageReaction.js\";\nexport * from \"./ApiKeyCredential.js\";\nexport * from \"./ApiKeySummary.js\";\nexport * from \"./AssignableTeamMemberList.js\";\nexport * from \"./AssignedTeamMember.js\";\nexport * from \"./Attachment.js\";\nexport * from \"./AttachmentId.js\";\nexport * from \"./AttachmentUpload.js\";\nexport * from \"./AudioOutputPart.js\";\nexport * from \"./AudioPart.js\";\nexport * from \"./CallEndedWebhookData.js\";\nexport * from \"./CallEndedWebhookEvent.js\";\nexport * from \"./CallId.js\";\nexport * from \"./CallRecordingReadyWebhookData.js\";\nexport * from \"./CallRecordingReadyWebhookEvent.js\";\nexport * from \"./CapabilityServiceResult.js\";\nexport * from \"./Chat.js\";\nexport * from \"./ChatIcon.js\";\nexport * from \"./ChatIconInput.js\";\nexport * from \"./ChatId.js\";\nexport * from \"./ChatList.js\";\nexport * from \"./ChatParticipant.js\";\nexport * from \"./ChatType.js\";\nexport * from \"./Contact.js\";\nexport * from \"./ContactAssignedWebhookData.js\";\nexport * from \"./ContactAssignedWebhookEvent.js\";\nexport * from \"./ContactAssignmentActionResult.js\";\nexport * from \"./ContactCardProfile.js\";\nexport * from \"./ContactId.js\";\nexport * from \"./ContactList.js\";\nexport * from \"./ContactNote.js\";\nexport * from \"./ContactNoteList.js\";\nexport * from \"./ContactSearchResult.js\";\nexport * from \"./ContactStageActionResult.js\";\nexport * from \"./ContactSuppression.js\";\nexport * from \"./ContactTagActionResult.js\";\nexport * from \"./ContactTagAddedWebhookData.js\";\nexport * from \"./ContactTagAddedWebhookEvent.js\";\nexport * from \"./ContactWebhookContact.js\";\nexport * from \"./DirectChatParticipant.js\";\nexport * from \"./ErrorEnvelope.js\";\nexport * from \"./ErrorObject.js\";\nexport * from \"./EventId.js\";\nexport * from \"./GenericWebhookEvent.js\";\nexport * from \"./GroupNameWebhookData.js\";\nexport * from \"./GroupNameWebhookEvent.js\";\nexport * from \"./GroupParticipant.js\";\nexport * from \"./GroupParticipantList.js\";\nexport * from \"./GroupParticipantWebhookData.js\";\nexport * from \"./GroupParticipantWebhookEvent.js\";\nexport * from \"./GroupPhoneNumber.js\";\nexport * from \"./GroupWebhookParticipant.js\";\nexport * from \"./LinkPart.js\";\nexport * from \"./Me.js\";\nexport * from \"./MediaOutputPart.js\";\nexport * from \"./MediaPart.js\";\nexport * from \"./MemberId.js\";\nexport * from \"./Message.js\";\nexport * from \"./MessageDegradation.js\";\nexport * from \"./MessageEditedWebhookData.js\";\nexport * from \"./MessageEditedWebhookEvent.js\";\nexport * from \"./MessageEditHistoryEntry.js\";\nexport * from \"./MessageEffect.js\";\nexport * from \"./MessageFailure.js\";\nexport * from \"./MessageId.js\";\nexport * from \"./MessageInput.js\";\nexport * from \"./MessageLifecycleWebhookData.js\";\nexport * from \"./MessageLifecycleWebhookEvent.js\";\nexport * from \"./MessageList.js\";\nexport * from \"./MessageOutputPart.js\";\nexport * from \"./MessagePart.js\";\nexport * from \"./MessageReaction.js\";\nexport * from \"./MessageReceivedWebhookData.js\";\nexport * from \"./MessageReceivedWebhookEvent.js\";\nexport * from \"./MessageReplyTo.js\";\nexport * from \"./MessageReplyToInfo.js\";\nexport * from \"./MessageSender.js\";\nexport * from \"./MessageStatus.js\";\nexport * from \"./MessageTeamMemberId.js\";\nexport * from \"./MessageUnsentWebhookData.js\";\nexport * from \"./MessageUnsentWebhookEvent.js\";\nexport * from \"./MessageWebhookRecipient.js\";\nexport * from \"./PhoneNumber.js\";\nexport * from \"./PhoneNumberAssignedWebhookData.js\";\nexport * from \"./PhoneNumberAssignedWebhookEvent.js\";\nexport * from \"./PhoneNumberId.js\";\nexport * from \"./PhoneNumberList.js\";\nexport * from \"./PhoneNumberReleasedWebhookData.js\";\nexport * from \"./PhoneNumberReleasedWebhookEvent.js\";\nexport * from \"./ReactionEmoji.js\";\nexport * from \"./ReactionKind.js\";\nexport * from \"./ReactionReactor.js\";\nexport * from \"./ReactionSticker.js\";\nexport * from \"./ReactionType.js\";\nexport * from \"./ReactionWebhookData.js\";\nexport * from \"./ReactionWebhookEvent.js\";\nexport * from \"./SuccessEnvelope.js\";\nexport * from \"./TeamMember.js\";\nexport * from \"./TextDecoration.js\";\nexport * from \"./TextPart.js\";\nexport * from \"./TraceId.js\";\nexport * from \"./TypingWebhookData.js\";\nexport * from \"./TypingWebhookEvent.js\";\nexport * from \"./TypingWebhookParticipant.js\";\nexport * from \"./Vcard.js\";\nexport * from \"./VcardFields.js\";\nexport * from \"./VcardId.js\";\nexport * from \"./VcardList.js\";\nexport * from \"./VcardPart.js\";\nexport * from \"./WebhookDeliveryAttempt.js\";\nexport * from \"./WebhookDeliveryAttemptList.js\";\nexport * from \"./WebhookEnvelope.js\";\nexport * from \"./WebhookEvent.js\";\nexport * from \"./WebhookEventPayloadVersion.js\";\nexport * from \"./WebhookEventType.js\";\nexport * from \"./WebhookPayloadVersion.js\";\nexport * from \"./WebhookPhoneNumberFilter.js\";\nexport * from \"./WebhookReplayAccepted.js\";\nexport * from \"./WebhookSubscribableEventType.js\";\nexport * from \"./WebhookSubscription.js\";\nexport * from \"./WebhookSubscriptionId.js\";\nexport * from \"./WebhookSubscriptionList.js\";\nexport * from \"./WebhookSubscriptionStatus.js\";\nexport * from \"./WebhookSubscriptionWithSecret.js\";\nexport * from \"./Workflow.js\";\nexport * from \"./WorkflowId.js\";\nexport * from \"./WorkflowList.js\";\nexport * from \"./WorkflowMetadata.js\";\nexport * from \"./WorkflowRunSummary.js\";\nexport * from \"./WorkflowTrigger.js\";\nexport * from \"./WorkspaceId.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Hand-written (not generated): the library version sent in User-Agent.
|
|
2
2
|
// Keep it equal to package.json's version; `npm test` checks.
|
|
3
3
|
import { getUserAgent } from "../core/runtime/index.js";
|
|
4
|
-
export const SDK_VERSION = "
|
|
4
|
+
export const SDK_VERSION = "2.0.0";
|
|
5
5
|
/** For example `blujay-node/1.0.0 (darwin; arm64) Node/22.11.0`: this library, the platform, the runtime. */
|
|
6
6
|
export function userAgent() {
|
|
7
7
|
return getUserAgent("blujay-node", SDK_VERSION);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/custom/version.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,8DAA8D;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AAEnC,6GAA6G;AAC7G,MAAM,UAAU,SAAS;IACrB,OAAO,YAAY,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;AACpD,CAAC","sourcesContent":["// Hand-written (not generated): the library version sent in User-Agent.\n// Keep it equal to package.json's version; `npm test` checks.\nimport { getUserAgent } from \"../core/runtime/index.js\";\n\nexport const SDK_VERSION = \"
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/custom/version.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,8DAA8D;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AAEnC,6GAA6G;AAC7G,MAAM,UAAU,SAAS;IACrB,OAAO,YAAY,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;AACpD,CAAC","sourcesContent":["// Hand-written (not generated): the library version sent in User-Agent.\n// Keep it equal to package.json's version; `npm test` checks.\nimport { getUserAgent } from \"../core/runtime/index.js\";\n\nexport const SDK_VERSION = \"2.0.0\";\n\n/** For example `blujay-node/1.0.0 (darwin; arm64) Node/22.11.0`: this library, the platform, the runtime. */\nexport function userAgent(): string {\n return getUserAgent(\"blujay-node\", SDK_VERSION);\n}\n"]}
|
package/package.json
CHANGED