@messagebird/n8n-nodes-bird 0.13.1 → 0.15.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.
|
@@ -3,6 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.birdEvents = void 0;
|
|
4
4
|
// Code generated by surface-gen; DO NOT EDIT.
|
|
5
5
|
exports.birdEvents = [
|
|
6
|
+
{ name: "amb.accepted", value: "amb.accepted", description: "Bird charged and accepted an outbound message for processing. This does not mean Apple received the message." },
|
|
7
|
+
{ name: "amb.conversation_closed", value: "amb.conversation_closed", description: "A customer conversation closed. Closing a conversation is not a message." },
|
|
8
|
+
{ name: "amb.conversation_reopened", value: "amb.conversation_reopened", description: "An existing customer conversation reopened after it had closed" },
|
|
9
|
+
{ name: "amb.conversation_started", value: "amb.conversation_started", description: "A customer conversation opened for the first time" },
|
|
10
|
+
{ name: "amb.received", value: "amb.received", description: "Bird received an ordinary customer message from Apple. Invitation responses are excluded." },
|
|
11
|
+
{ name: "amb.rejected", value: "amb.rejected", description: "Bird refused an outbound message before acceptance. This message has no accepted event." },
|
|
12
|
+
{ name: "amb.send_failed", value: "amb.send_failed", description: "An accepted outbound message could not be handed to Apple. The message snapshot carries the failure detail." },
|
|
13
|
+
{ name: "amb.sent", value: "amb.sent", description: "Apple accepted an outbound message from Bird. This does not establish delivery to the customer or a read receipt." },
|
|
14
|
+
{ name: "amb_suppression.created", value: "amb_suppression.created", description: "An address was added to the workspace's Apple Messages for Business suppression ledger" },
|
|
6
15
|
{ name: "domain.failed", value: "domain.failed", description: "A sending domain failed DNS verification" },
|
|
7
16
|
{ name: "domain.verified", value: "domain.verified", description: "A sending domain completed DNS verification successfully" },
|
|
8
17
|
{ name: "email.accepted", value: "email.accepted", description: "The API accepted the email send and is preparing it for delivery. Fires once per requested recipient." },
|
|
@@ -26,7 +26,7 @@ exports.birdProperties = [
|
|
|
26
26
|
{ name: "SMS Template", value: "sms_templates", description: "Browse the SMS templates available to the workspace" },
|
|
27
27
|
{ name: "Suppression", value: "suppression", description: "Manage the email suppression list" },
|
|
28
28
|
{ name: "Verify", value: "verify", description: "Send one-time passcodes and check them" },
|
|
29
|
-
{ name: "Voice", value: "voice", description: "
|
|
29
|
+
{ name: "Voice", value: "voice", description: "Place and read calls, read legs and statistics, and configure Voice" },
|
|
30
30
|
{ name: "Webhook", value: "webhooks", description: "Manage outbound webhook endpoints" },
|
|
31
31
|
{ name: "WhatsApp", value: "whatsapp", description: "Send WhatsApp messages, connect its senders, and read templates and stats" },
|
|
32
32
|
{ name: "Workspace", value: "workspace", description: "Inspect the current workspace and its settings" },
|
|
@@ -2591,33 +2591,40 @@ exports.birdProperties = [
|
|
|
2591
2591
|
default: {},
|
|
2592
2592
|
displayOptions: { show: { resource: ["email"], operation: ["stats_by_broadcast"] } },
|
|
2593
2593
|
options: [
|
|
2594
|
+
{
|
|
2595
|
+
displayName: "Category",
|
|
2596
|
+
name: "category",
|
|
2597
|
+
type: "string",
|
|
2598
|
+
default: "",
|
|
2599
|
+
description: "Not supported on breakdown endpoints. Supplying it returns a `422`. To compare categories, use `GET /v1/email/stats/categories`. The summary, daily, and hourly statistics accept `category` as a filter.",
|
|
2600
|
+
},
|
|
2594
2601
|
{
|
|
2595
2602
|
displayName: "From",
|
|
2596
2603
|
name: "from",
|
|
2597
2604
|
type: "string",
|
|
2598
2605
|
default: "",
|
|
2599
|
-
description: "Start date (inclusive) in `YYYY-MM-DD`, UTC. Defaults to 30 days before `to` when omitted.",
|
|
2606
|
+
description: "Start date (inclusive) in `YYYY-MM-DD`, interpreted as a calendar day in `timezone` (UTC when omitted). Defaults to 30 days before `to` when omitted.",
|
|
2600
2607
|
},
|
|
2601
2608
|
{
|
|
2602
|
-
displayName: "
|
|
2603
|
-
name: "
|
|
2604
|
-
type: "
|
|
2609
|
+
displayName: "Max Results",
|
|
2610
|
+
name: "max_results",
|
|
2611
|
+
type: "number",
|
|
2605
2612
|
default: "",
|
|
2606
|
-
description: "
|
|
2613
|
+
description: "Maximum number of broadcast rows to return, ranked by the `sort` field descending",
|
|
2607
2614
|
},
|
|
2608
2615
|
{
|
|
2609
|
-
displayName: "
|
|
2610
|
-
name: "
|
|
2616
|
+
displayName: "Timezone",
|
|
2617
|
+
name: "timezone",
|
|
2611
2618
|
type: "string",
|
|
2612
2619
|
default: "",
|
|
2613
|
-
description: "
|
|
2620
|
+
description: "IANA timezone identifier used to group statistics, for example `Asia/Kathmandu`. The default is UTC. Day and hour boundaries, including the default window when `from` and `to` are omitted, follow this timezone. When this parameter is set, pass `from` and `to` as calendar days or `Z` instants instead of timestamps with explicit UTC offsets.",
|
|
2614
2621
|
},
|
|
2615
2622
|
{
|
|
2616
|
-
displayName: "
|
|
2617
|
-
name: "
|
|
2618
|
-
type: "
|
|
2623
|
+
displayName: "To",
|
|
2624
|
+
name: "to",
|
|
2625
|
+
type: "string",
|
|
2619
2626
|
default: "",
|
|
2620
|
-
description: "
|
|
2627
|
+
description: "End date (inclusive) in `YYYY-MM-DD`, interpreted as a calendar day in `timezone` (UTC when omitted). Defaults to today in that timezone when omitted. Window may not exceed 365 days.",
|
|
2621
2628
|
},
|
|
2622
2629
|
],
|
|
2623
2630
|
},
|
|
@@ -6619,6 +6626,15 @@ exports.birdProperties = [
|
|
|
6619
6626
|
required: true,
|
|
6620
6627
|
displayOptions: { show: { resource: ["webhooks"], operation: ["create"] } },
|
|
6621
6628
|
options: [
|
|
6629
|
+
{ name: "Amb Accepted", value: "amb.accepted" },
|
|
6630
|
+
{ name: "Amb Conversation Closed", value: "amb.conversation_closed" },
|
|
6631
|
+
{ name: "Amb Conversation Reopened", value: "amb.conversation_reopened" },
|
|
6632
|
+
{ name: "Amb Conversation Started", value: "amb.conversation_started" },
|
|
6633
|
+
{ name: "Amb Received", value: "amb.received" },
|
|
6634
|
+
{ name: "Amb Rejected", value: "amb.rejected" },
|
|
6635
|
+
{ name: "Amb Send Failed", value: "amb.send_failed" },
|
|
6636
|
+
{ name: "Amb Sent", value: "amb.sent" },
|
|
6637
|
+
{ name: "Amb Suppression Created", value: "amb_suppression.created" },
|
|
6622
6638
|
{ name: "Domain Failed", value: "domain.failed" },
|
|
6623
6639
|
{ name: "Domain Verified", value: "domain.verified" },
|
|
6624
6640
|
{ name: "Email Accepted", value: "email.accepted" },
|
|
@@ -6813,6 +6829,53 @@ exports.birdProperties = [
|
|
|
6813
6829
|
},
|
|
6814
6830
|
],
|
|
6815
6831
|
},
|
|
6832
|
+
{
|
|
6833
|
+
displayName: "Webhook",
|
|
6834
|
+
name: "webhook_id",
|
|
6835
|
+
type: "resourceLocator",
|
|
6836
|
+
required: true,
|
|
6837
|
+
default: { mode: "list", value: "" },
|
|
6838
|
+
displayOptions: { show: { resource: ["webhooks"], operation: ["replay"] } },
|
|
6839
|
+
modes: [
|
|
6840
|
+
{
|
|
6841
|
+
displayName: "From List",
|
|
6842
|
+
name: "list",
|
|
6843
|
+
type: "list",
|
|
6844
|
+
placeholder: "Select a Webhook...",
|
|
6845
|
+
typeOptions: { searchListMethod: "webhooksList", searchable: true },
|
|
6846
|
+
},
|
|
6847
|
+
{
|
|
6848
|
+
displayName: "By ID",
|
|
6849
|
+
name: "id",
|
|
6850
|
+
type: "string",
|
|
6851
|
+
},
|
|
6852
|
+
],
|
|
6853
|
+
description: "ID of the webhook endpoint (`whk_` prefix), as returned when it was created",
|
|
6854
|
+
},
|
|
6855
|
+
{
|
|
6856
|
+
displayName: "Additional Fields",
|
|
6857
|
+
name: "additionalFields",
|
|
6858
|
+
type: "collection",
|
|
6859
|
+
placeholder: "Add Field",
|
|
6860
|
+
default: {},
|
|
6861
|
+
displayOptions: { show: { resource: ["webhooks"], operation: ["replay"] } },
|
|
6862
|
+
options: [
|
|
6863
|
+
{
|
|
6864
|
+
displayName: "Since",
|
|
6865
|
+
name: "since",
|
|
6866
|
+
type: "dateTime",
|
|
6867
|
+
default: "",
|
|
6868
|
+
description: "Replay events whose delivery attempt failed at or after this timestamp. The bound is inclusive and applies to attempt time, not to when the event occurred, so a retry that trailed its event by a day falls in the window by the hour it was attempted. Defaults to 24 hours before the request when omitted. Attempts are retained for three days, so that is the oldest history a replay reaches: an earlier `since` widens the window without recovering anything older.",
|
|
6869
|
+
},
|
|
6870
|
+
{
|
|
6871
|
+
displayName: "Until",
|
|
6872
|
+
name: "until",
|
|
6873
|
+
type: "dateTime",
|
|
6874
|
+
default: "",
|
|
6875
|
+
description: "Replay events whose delivery attempt failed at or before this timestamp, on the same attempt-time bound as `since`. Omitted, it resolves to the time of the request.",
|
|
6876
|
+
},
|
|
6877
|
+
],
|
|
6878
|
+
},
|
|
6816
6879
|
{
|
|
6817
6880
|
displayName: "Webhook",
|
|
6818
6881
|
name: "webhook_id",
|
|
@@ -6886,6 +6949,15 @@ exports.birdProperties = [
|
|
|
6886
6949
|
name: "events",
|
|
6887
6950
|
type: "multiOptions",
|
|
6888
6951
|
options: [
|
|
6952
|
+
{ name: "Amb Accepted", value: "amb.accepted" },
|
|
6953
|
+
{ name: "Amb Conversation Closed", value: "amb.conversation_closed" },
|
|
6954
|
+
{ name: "Amb Conversation Reopened", value: "amb.conversation_reopened" },
|
|
6955
|
+
{ name: "Amb Conversation Started", value: "amb.conversation_started" },
|
|
6956
|
+
{ name: "Amb Received", value: "amb.received" },
|
|
6957
|
+
{ name: "Amb Rejected", value: "amb.rejected" },
|
|
6958
|
+
{ name: "Amb Send Failed", value: "amb.send_failed" },
|
|
6959
|
+
{ name: "Amb Sent", value: "amb.sent" },
|
|
6960
|
+
{ name: "Amb Suppression Created", value: "amb_suppression.created" },
|
|
6889
6961
|
{ name: "Domain Failed", value: "domain.failed" },
|
|
6890
6962
|
{ name: "Domain Verified", value: "domain.verified" },
|
|
6891
6963
|
{ name: "Email Accepted", value: "email.accepted" },
|
|
@@ -7061,8 +7133,9 @@ exports.birdProperties = [
|
|
|
7061
7133
|
name: "channel",
|
|
7062
7134
|
type: "options",
|
|
7063
7135
|
options: [
|
|
7064
|
-
{ name: "
|
|
7136
|
+
{ name: "Amb", value: "amb" },
|
|
7065
7137
|
{ name: "Email", value: "email" },
|
|
7138
|
+
{ name: "Not Set", value: "" },
|
|
7066
7139
|
{ name: "SMS", value: "sms" },
|
|
7067
7140
|
{ name: "Whatsapp", value: "whatsapp" },
|
|
7068
7141
|
],
|
|
@@ -7108,7 +7181,7 @@ exports.birdProperties = [
|
|
|
7108
7181
|
required: true,
|
|
7109
7182
|
displayOptions: { show: { resource: ["preferences"], operation: ["create"] } },
|
|
7110
7183
|
default: "",
|
|
7111
|
-
description: "Who the statement is about: an email address on the email channel, a phone number in E.164 format on SMS and
|
|
7184
|
+
description: "Who the statement is about: an email address on the email channel, a phone number in E.164 format on SMS, WhatsApp, and Apple Messages for Business",
|
|
7112
7185
|
},
|
|
7113
7186
|
{
|
|
7114
7187
|
displayName: "Channel",
|
|
@@ -7117,8 +7190,9 @@ exports.birdProperties = [
|
|
|
7117
7190
|
required: true,
|
|
7118
7191
|
displayOptions: { show: { resource: ["preferences"], operation: ["create"] } },
|
|
7119
7192
|
options: [
|
|
7120
|
-
{ name: "
|
|
7193
|
+
{ name: "Amb", value: "amb" },
|
|
7121
7194
|
{ name: "Email", value: "email" },
|
|
7195
|
+
{ name: "Not Set", value: "" },
|
|
7122
7196
|
{ name: "SMS", value: "sms" },
|
|
7123
7197
|
{ name: "Whatsapp", value: "whatsapp" },
|
|
7124
7198
|
],
|
|
@@ -7157,14 +7231,14 @@ exports.birdProperties = [
|
|
|
7157
7231
|
{ name: "Non Transactional", value: "non_transactional" },
|
|
7158
7232
|
],
|
|
7159
7233
|
default: "",
|
|
7160
|
-
description: "How much traffic the statement covers. Defaults to `non_transactional`, which keeps transactional messages such as receipts and verification codes flowing.",
|
|
7234
|
+
description: "How much traffic the statement covers. Defaults to `non_transactional`, which keeps transactional messages such as receipts and verification codes flowing. Apple Messages for Business phone invitations have no transactional exemption, so either value covers them.",
|
|
7161
7235
|
},
|
|
7162
7236
|
{
|
|
7163
7237
|
displayName: "Sender Scope",
|
|
7164
7238
|
name: "sender_scope",
|
|
7165
7239
|
type: "string",
|
|
7166
7240
|
default: "",
|
|
7167
|
-
description: "Limit the statement to one sender instead of the whole channel. On SMS this is the originator; on WhatsApp it identifies the business account. Not supported on email, where preferences are always channel-wide.",
|
|
7241
|
+
description: "Limit the statement to one sender instead of the whole channel. On SMS this is the originator; on WhatsApp it identifies the business account; on Apple Messages for Business it is the Apple business ID used for invitations. Not supported on email, where preferences are always channel-wide.",
|
|
7168
7242
|
},
|
|
7169
7243
|
{
|
|
7170
7244
|
displayName: "Source",
|
|
@@ -10059,53 +10133,6 @@ exports.birdProperties = [
|
|
|
10059
10133
|
],
|
|
10060
10134
|
description: "ID of the Realtime app key (`rak_` prefix), as returned when the key was created",
|
|
10061
10135
|
},
|
|
10062
|
-
{
|
|
10063
|
-
displayName: "Webhook",
|
|
10064
|
-
name: "webhook_id",
|
|
10065
|
-
type: "resourceLocator",
|
|
10066
|
-
required: true,
|
|
10067
|
-
default: { mode: "list", value: "" },
|
|
10068
|
-
displayOptions: { show: { resource: ["webhooks"], operation: ["replay"] } },
|
|
10069
|
-
modes: [
|
|
10070
|
-
{
|
|
10071
|
-
displayName: "From List",
|
|
10072
|
-
name: "list",
|
|
10073
|
-
type: "list",
|
|
10074
|
-
placeholder: "Select a Webhook...",
|
|
10075
|
-
typeOptions: { searchListMethod: "webhooksList", searchable: true },
|
|
10076
|
-
},
|
|
10077
|
-
{
|
|
10078
|
-
displayName: "By ID",
|
|
10079
|
-
name: "id",
|
|
10080
|
-
type: "string",
|
|
10081
|
-
},
|
|
10082
|
-
],
|
|
10083
|
-
description: "ID of the webhook endpoint (`whk_` prefix), as returned when it was created",
|
|
10084
|
-
},
|
|
10085
|
-
{
|
|
10086
|
-
displayName: "Additional Fields",
|
|
10087
|
-
name: "additionalFields",
|
|
10088
|
-
type: "collection",
|
|
10089
|
-
placeholder: "Add Field",
|
|
10090
|
-
default: {},
|
|
10091
|
-
displayOptions: { show: { resource: ["webhooks"], operation: ["replay"] } },
|
|
10092
|
-
options: [
|
|
10093
|
-
{
|
|
10094
|
-
displayName: "Since",
|
|
10095
|
-
name: "since",
|
|
10096
|
-
type: "dateTime",
|
|
10097
|
-
default: "",
|
|
10098
|
-
description: "Replay events whose delivery attempt failed at or after this timestamp. The bound is inclusive and applies to attempt time, not to when the event occurred, so a retry that trailed its event by a day falls in the window by the hour it was attempted. Defaults to 24 hours before the request when omitted. Attempts are retained for three days, so that is the oldest history a replay reaches: an earlier `since` widens the window without recovering anything older.",
|
|
10099
|
-
},
|
|
10100
|
-
{
|
|
10101
|
-
displayName: "Until",
|
|
10102
|
-
name: "until",
|
|
10103
|
-
type: "dateTime",
|
|
10104
|
-
default: "",
|
|
10105
|
-
description: "Replay events whose delivery attempt failed at or before this timestamp, on the same attempt-time bound as `since`. Omitted, it resolves to the time of the request.",
|
|
10106
|
-
},
|
|
10107
|
-
],
|
|
10108
|
-
},
|
|
10109
10136
|
{
|
|
10110
10137
|
displayName: "Message",
|
|
10111
10138
|
name: "message_id",
|
|
@@ -22,7 +22,7 @@ exports.birdRoutes = {
|
|
|
22
22
|
"email:stats_by_client": { method: "GET", path: "/v1/email/stats/clients", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["starting_after", "ending_before", "from", "to", "timezone", "category", "group_by", "sort", "limit"], body: [], jsonFields: [], structured: {}, renames: { "max_results": "limit" }, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["emails"] },
|
|
23
23
|
"email:stats_by_bounce_code": { method: "GET", path: "/v1/email/stats/bounce-codes", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["starting_after", "ending_before", "from", "to", "timezone", "category", "sort", "limit"], body: [], jsonFields: [], structured: {}, renames: { "max_results": "limit" }, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["emails"] },
|
|
24
24
|
"email:stats_by_complaint_type": { method: "GET", path: "/v1/email/stats/complaint-types", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["starting_after", "ending_before", "from", "to", "timezone", "category", "sort", "limit"], body: [], jsonFields: [], structured: {}, renames: { "max_results": "limit" }, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["emails"] },
|
|
25
|
-
"email:stats_by_broadcast": { method: "GET", path: "/v1/email/stats/broadcasts", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["starting_after", "ending_before", "from", "to", "category", "sort", "limit"], body: [], jsonFields: [], structured: {}, renames: { "max_results": "limit" }, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["email_marketing"] },
|
|
25
|
+
"email:stats_by_broadcast": { method: "GET", path: "/v1/email/stats/broadcasts", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["starting_after", "ending_before", "from", "to", "timezone", "category", "sort", "limit"], body: [], jsonFields: [], structured: {}, renames: { "max_results": "limit" }, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["email_marketing"] },
|
|
26
26
|
"email:templates_list": { method: "GET", path: "/v1/email/templates", pathParams: [], topLevel: [], collections: ["additionalFields"], query: ["scope", "category", "source", "theme", "q", "limit", "starting_after", "ending_before"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["email_management"] },
|
|
27
27
|
"sms:send": { method: "POST", path: "/v1/sms/messages", pathParams: [], topLevel: ["to"], collections: ["additionalFields"], query: [], body: ["to", "from", "text", "category", "tags", "metadata", "options", "template"], jsonFields: [], structured: { "tags": "list", "metadata": "map", "options": "struct", "template": "struct" }, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["sms"] },
|
|
28
28
|
"sms:send_batch": { method: "POST", path: "/v1/sms/batches", pathParams: [], topLevel: ["messages"], collections: ["additionalFields"], query: [], body: ["messages"], jsonFields: ["messages"], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: true, idempotencyHeader: true, scopes: ["sms"] },
|
|
@@ -101,6 +101,7 @@ exports.birdRoutes = {
|
|
|
101
101
|
"webhooks:test": { method: "POST", path: "/v1/webhooks/{webhook_id}/test", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["additionalFields"], query: [], body: ["event_type"], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
|
|
102
102
|
"webhooks:delete": { method: "DELETE", path: "/v1/webhooks/{webhook_id}", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
|
|
103
103
|
"webhooks:attempts": { method: "GET", path: "/v1/webhooks/{webhook_id}/attempts", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["additionalFields"], query: ["limit", "before", "after"], body: [], jsonFields: [], structured: {}, renames: { "max_results": "limit" }, arrayFields: [], dateTimeFields: ["before", "after"], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: true, idempotencyHeader: false, scopes: ["webhooks"] },
|
|
104
|
+
"webhooks:replay": { method: "POST", path: "/v1/webhooks/{webhook_id}/replay", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["additionalFields"], query: [], body: ["since", "until"], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: ["since", "until"], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
|
|
104
105
|
"webhooks:rotate_secret": { method: "POST", path: "/v1/webhooks/{webhook_id}/rotate-secret", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
|
|
105
106
|
"webhooks:update": { method: "PATCH", path: "/v1/webhooks/{webhook_id}", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["updateFields"], query: [], body: ["url", "description", "events", "status"], jsonFields: [], structured: {}, renames: {}, arrayFields: ["events"], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
|
|
106
107
|
"workspace:get": { method: "GET", path: "/v1/workspace", pathParams: [], topLevel: [], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["workspace"] },
|
|
@@ -165,7 +166,6 @@ exports.birdRoutes = {
|
|
|
165
166
|
"realtime:apps_keys_create": { method: "POST", path: "/v1/realtime/apps/{realtime_app_id}/keys", pathParams: ["realtime_app_id"], topLevel: ["realtime_app_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["realtime"] },
|
|
166
167
|
"realtime:apps_keys_revoke": { method: "POST", path: "/v1/realtime/apps/{realtime_app_id}/keys/{realtime_app_key_id}/revoke", pathParams: ["realtime_app_id", "realtime_app_key_id"], topLevel: ["realtime_app_id", "realtime_app_key_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["realtime"] },
|
|
167
168
|
"realtime:regions_list": { method: "GET", path: "/v1/realtime/regions", pathParams: [], topLevel: [], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: true, idempotencyHeader: false, scopes: ["realtime"] },
|
|
168
|
-
"webhooks:replay": { method: "POST", path: "/v1/webhooks/{webhook_id}/replay", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["additionalFields"], query: [], body: ["since", "until"], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: ["since", "until"], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
|
|
169
169
|
"email:list_events": { method: "GET", path: "/v1/email/messages/{message_id}/events", pathParams: ["message_id"], topLevel: ["message_id"], collections: ["additionalFields"], query: ["limit", "starting_after", "ending_before", "type"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["emails"] },
|
|
170
170
|
"email:threads_messages_update": { method: "PATCH", path: "/v1/email/threads/{thread_id}/messages/{message_id}", pathParams: ["thread_id", "message_id"], topLevel: ["thread_id", "message_id"], collections: ["updateFields"], query: [], body: ["labels", "contact_id"], jsonFields: [], structured: { "labels": "struct" }, renames: {}, arrayFields: ["labels.add", "labels.remove"], dateTimeFields: [], nullableFields: ["contact_id"], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["mailbox"] },
|
|
171
171
|
"email:threads_messages_delete": { method: "DELETE", path: "/v1/email/threads/{thread_id}/messages/{message_id}", pathParams: ["thread_id", "message_id"], topLevel: ["thread_id", "message_id"], collections: ["additionalFields"], query: ["permanent"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["mailbox"] },
|
package/package.json
CHANGED