@messagebird/n8n-nodes-bird 0.24.0 → 0.26.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.
@@ -6424,6 +6424,13 @@ exports.birdProperties = [
6424
6424
  default: "",
6425
6425
  description: "Filter to messages received on a specific inbound address",
6426
6426
  },
6427
+ {
6428
+ displayName: "Mailbox ID",
6429
+ name: "mailbox_id",
6430
+ type: "string",
6431
+ default: "",
6432
+ description: "Filter to messages received by a specific mailbox",
6433
+ },
6427
6434
  {
6428
6435
  displayName: "Received After",
6429
6436
  name: "received_after",
@@ -7063,41 +7070,40 @@ exports.birdProperties = [
7063
7070
  displayOptions: { show: { resource: ["webhooks"], operation: ["update"] } },
7064
7071
  options: [
7065
7072
  {
7066
- displayName: "Credentials",
7067
- name: "credentials",
7068
- type: "fixedCollection",
7069
- typeOptions: { multipleValues: true },
7070
- placeholder: "Add Pair",
7073
+ displayName: "Description",
7074
+ name: "description",
7075
+ type: "string",
7076
+ default: "",
7077
+ description: "Human-readable label for this endpoint, up to 256 characters",
7078
+ },
7079
+ {
7080
+ displayName: "Destination",
7081
+ name: "destination",
7082
+ type: "collection",
7083
+ placeholder: "Add Field",
7071
7084
  default: {},
7072
- description: "New values for a `connector` destination's secret fields, merged over the stored ones: a key given replaces that field and an omitted key keeps its value. The merged set is checked as at creation, and the next delivery, retries included, uses it. On an endpoint without a `connector` destination this returns a `422`. Omit to keep the current credentials.",
7085
+ description: "Changes to how deliveries are built, shaped as at creation. Only a `connector` destination takes `connector`; on any other endpoint it returns a `422`. Omit to keep the destination.",
7073
7086
  options: [
7074
7087
  {
7075
- displayName: "Pair",
7076
- name: "pairs",
7077
- values: [
7078
- {
7079
- displayName: "Key",
7080
- name: "key",
7081
- type: "string",
7082
- default: "",
7083
- },
7084
- {
7085
- displayName: "Value",
7086
- name: "value",
7087
- type: "string",
7088
- default: "",
7089
- },
7088
+ displayName: "Type",
7089
+ name: "type",
7090
+ type: "options",
7091
+ options: [
7092
+ { name: "Not Set", value: "" },
7093
+ { name: "Webhook", value: "webhook" },
7094
+ { name: "Connector", value: "connector" },
7090
7095
  ],
7096
+ default: "",
7097
+ description: "How deliveries to the webhook endpoint are built: `webhook` posts the signed event unchanged to the endpoint URL; `connector` builds the delivery using the configured connector action. An existing endpoint's type cannot change; a different value returns a `422`.",
7098
+ },
7099
+ {
7100
+ displayName: "Connector",
7101
+ name: "connector",
7102
+ type: "json",
7103
+ default: "",
7091
7104
  },
7092
7105
  ],
7093
7106
  },
7094
- {
7095
- displayName: "Description",
7096
- name: "description",
7097
- type: "string",
7098
- default: "",
7099
- description: "Human-readable label for this endpoint, up to 256 characters",
7100
- },
7101
7107
  {
7102
7108
  displayName: "Events",
7103
7109
  name: "events",
@@ -89,7 +89,7 @@ exports.birdRoutes = {
89
89
  "inbound_address:get": { method: "GET", path: "/v1/email/inbound-addresses/{inbound_address_id}", pathParams: ["inbound_address_id"], topLevel: ["inbound_address_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["emails"] },
90
90
  "inbound_address:update": { method: "PATCH", path: "/v1/email/inbound-addresses/{inbound_address_id}", pathParams: ["inbound_address_id"], topLevel: ["inbound_address_id"], collections: ["updateFields"], query: [], body: ["label"], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: ["label"], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["email_management"] },
91
91
  "inbound_address:delete": { method: "DELETE", path: "/v1/email/inbound-addresses/{inbound_address_id}", pathParams: ["inbound_address_id"], topLevel: ["inbound_address_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["email_management"] },
92
- "inbound_message:list": { method: "GET", path: "/v1/email/inbound-messages", pathParams: [], topLevel: [], collections: ["additionalFields"], query: ["from", "inbound_address_id", "received_after", "received_before", "limit", "starting_after", "ending_before"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: ["received_after", "received_before"], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["emails"] },
92
+ "inbound_message:list": { method: "GET", path: "/v1/email/inbound-messages", pathParams: [], topLevel: [], collections: ["additionalFields"], query: ["from", "inbound_address_id", "mailbox_id", "received_after", "received_before", "limit", "starting_after", "ending_before"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: ["received_after", "received_before"], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["emails"] },
93
93
  "inbound_message:get": { method: "GET", path: "/v1/email/inbound-messages/{inbound_message_id}", pathParams: ["inbound_message_id"], topLevel: ["inbound_message_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["emails"] },
94
94
  "inbound_message:body": { method: "GET", path: "/v1/email/inbound-messages/{inbound_message_id}/body", pathParams: ["inbound_message_id"], topLevel: ["inbound_message_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["emails"] },
95
95
  "inbound_message:attachments": { method: "GET", path: "/v1/email/inbound-messages/{inbound_message_id}/attachments", pathParams: ["inbound_message_id"], topLevel: ["inbound_message_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: true, idempotencyHeader: false, scopes: ["emails"] },
@@ -105,7 +105,7 @@ exports.birdRoutes = {
105
105
  "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"] },
106
106
  "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"] },
107
107
  "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"] },
108
- "webhooks:update": { method: "PATCH", path: "/v1/webhooks/{webhook_id}", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["updateFields"], query: [], body: ["url", "description", "filter", "events", "credentials", "status"], jsonFields: [], structured: { "filter": "struct", "credentials": "map" }, renames: {}, arrayFields: ["events"], dateTimeFields: [], nullableFields: ["filter"], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
108
+ "webhooks:update": { method: "PATCH", path: "/v1/webhooks/{webhook_id}", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["updateFields"], query: [], body: ["url", "description", "filter", "events", "destination", "status"], jsonFields: ["destination.connector"], structured: { "filter": "struct", "destination": "struct" }, renames: {}, arrayFields: ["events"], dateTimeFields: [], nullableFields: ["filter"], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
109
109
  "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"] },
110
110
  "docs:search": { method: "GET", path: "/v1/docs/search", pathParams: [], topLevel: ["q"], collections: ["additionalFields"], query: ["q", "locale", "limit", "contents"], body: [], jsonFields: [], structured: {}, renames: { "max_results": "limit" }, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: [] },
111
111
  "docs:read": { method: "GET", path: "/v1/docs/pages", pathParams: [], topLevel: ["slug"], collections: ["additionalFields"], query: ["slug", "locale"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: [] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messagebird/n8n-nodes-bird",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "The official Bird node for n8n: email, SMS, WhatsApp, and verification, plus a webhook trigger for Bird events.",
5
5
  "license": "MIT",
6
6
  "author": {