@messagebird/n8n-nodes-bird 0.17.0 → 0.19.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.
@@ -3056,7 +3056,7 @@ exports.birdProperties = [
3056
3056
  name: "error_code",
3057
3057
  type: "string",
3058
3058
  default: "",
3059
- description: "Keep only messages whose failure reason (`last_error.code`) matches; separate values with a comma to match any of several. One of `invalid_destination`, `unreachable`, `blocked_by_carrier`, `blocked_by_recipient`, `landline_unreachable`, `content_rejected`, `sender_unregistered`, `recipient_opted_out`, `provider_unavailable`, `insufficient_balance`, or `unknown`.",
3059
+ description: "Keep only messages whose failure reason (`last_error.code`) matches; separate values with a comma to match any of several. One of `invalid_destination`, `unreachable`, `blocked_by_carrier`, `blocked_by_fraud_protection`, `blocked_by_recipient`, `landline_unreachable`, `content_rejected`, `sender_unregistered`, `recipient_opted_out`, `provider_unavailable`, `insufficient_balance`, or `unknown`.",
3060
3060
  },
3061
3061
  {
3062
3062
  displayName: "From",
@@ -5587,7 +5587,7 @@ exports.birdProperties = [
5587
5587
  name: "search",
5588
5588
  type: "string",
5589
5589
  default: "",
5590
- description: "Matches part of the number, name, or reference, ignoring case. Characters such as percent and underscore match literally.",
5590
+ description: "Matches part of the number, name, or reference, ignoring case. Number matching also ignores phone formatting such as spaces, parentheses, and hyphens. Name and reference matching preserves punctuation. Characters such as percent and underscore match literally.",
5591
5591
  },
5592
5592
  ],
5593
5593
  },
@@ -6631,6 +6631,13 @@ exports.birdProperties = [
6631
6631
  default: false,
6632
6632
  description: "Whether the response includes a `total` field with the total number of items matching the request's filters across all pages",
6633
6633
  },
6634
+ {
6635
+ displayName: "URL",
6636
+ name: "url",
6637
+ type: "string",
6638
+ default: "",
6639
+ description: "Only endpoints delivering to exactly this URL. Several endpoints can share a URL, so this finds matches for a setup to reuse; it does not prevent a duplicate.",
6640
+ },
6634
6641
  ],
6635
6642
  },
6636
6643
  {
@@ -6689,15 +6696,6 @@ exports.birdProperties = [
6689
6696
  ],
6690
6697
  description: "ID of the webhook endpoint (`whk_` prefix), as returned when it was created",
6691
6698
  },
6692
- {
6693
- displayName: "URL",
6694
- name: "url",
6695
- type: "string",
6696
- required: true,
6697
- displayOptions: { show: { resource: ["webhooks"], operation: ["create"] } },
6698
- default: "",
6699
- description: "HTTPS URL to deliver events to, at most 2048 characters. The host must be publicly reachable: URLs on private, loopback, or link-local addresses are rejected with a `422`.",
6700
- },
6701
6699
  {
6702
6700
  displayName: "Events",
6703
6701
  name: "events",
@@ -6782,6 +6780,13 @@ exports.birdProperties = [
6782
6780
  default: {},
6783
6781
  displayOptions: { show: { resource: ["webhooks"], operation: ["create"] } },
6784
6782
  options: [
6783
+ {
6784
+ displayName: "URL",
6785
+ name: "url",
6786
+ type: "string",
6787
+ default: "",
6788
+ description: "HTTPS URL to deliver events to, at most 2048 characters. The host must be publicly reachable: URLs on private, loopback, or link-local addresses are rejected with a `422`. Required unless `destination` is a connector, whose URL comes from the connector and its `config`; a URL given with one must equal it.",
6789
+ },
6785
6790
  {
6786
6791
  displayName: "Description",
6787
6792
  name: "description",
@@ -7010,11 +7015,33 @@ exports.birdProperties = [
7010
7015
  displayOptions: { show: { resource: ["webhooks"], operation: ["update"] } },
7011
7016
  options: [
7012
7017
  {
7013
- displayName: "URL",
7014
- name: "url",
7015
- type: "string",
7016
- default: "",
7017
- description: "Replacement delivery URL. Same rules as at creation: HTTPS, at most 2048 characters, and the host must be publicly reachable (private, loopback, and link-local addresses return a `422`). Omit to keep the current URL.",
7018
+ displayName: "Credentials",
7019
+ name: "credentials",
7020
+ type: "fixedCollection",
7021
+ typeOptions: { multipleValues: true },
7022
+ placeholder: "Add Pair",
7023
+ default: {},
7024
+ 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.",
7025
+ options: [
7026
+ {
7027
+ displayName: "Pair",
7028
+ name: "pairs",
7029
+ values: [
7030
+ {
7031
+ displayName: "Key",
7032
+ name: "key",
7033
+ type: "string",
7034
+ default: "",
7035
+ },
7036
+ {
7037
+ displayName: "Value",
7038
+ name: "value",
7039
+ type: "string",
7040
+ default: "",
7041
+ },
7042
+ ],
7043
+ },
7044
+ ],
7018
7045
  },
7019
7046
  {
7020
7047
  displayName: "Description",
@@ -7109,6 +7136,13 @@ exports.birdProperties = [
7109
7136
  default: "",
7110
7137
  description: "`paused` stops all deliveries; `active` re-enables a paused endpoint. Omit to leave the status unchanged. Events that fire while paused are not delivered and a replay cannot recover them, because they were never attempted; after re-enabling, [Replay failed deliveries](/docs/api/reference/create-webhook-replay) reaches only the deliveries that failed before the pause. A `degraded` endpoint cannot be reset through this field: it returns to `active` automatically once deliveries succeed again.",
7111
7138
  },
7139
+ {
7140
+ displayName: "URL",
7141
+ name: "url",
7142
+ type: "string",
7143
+ default: "",
7144
+ description: "Replacement delivery URL. Same rules as at creation: HTTPS, at most 2048 characters, and the host must be publicly reachable (private, loopback, and link-local addresses return a `422`). Omit to keep the current URL. A connector endpoint's URL comes from its connector and cannot be replaced: any value returns a `422`.",
7145
+ },
7112
7146
  ],
7113
7147
  },
7114
7148
  {
@@ -96,15 +96,15 @@ exports.birdRoutes = {
96
96
  "suppression:get": { method: "GET", path: "/v1/email/suppressions/{suppression_id}", pathParams: ["suppression_id"], topLevel: ["suppression_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["email_management"] },
97
97
  "suppression:add": { method: "POST", path: "/v1/email/suppressions", pathParams: [], topLevel: ["email"], collections: ["additionalFields"], query: [], body: ["email"], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["email_management"] },
98
98
  "suppression:remove": { method: "DELETE", path: "/v1/email/suppressions/{suppression_id}", pathParams: ["suppression_id"], topLevel: ["suppression_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["email_management"] },
99
- "webhooks:list": { method: "GET", path: "/v1/webhooks", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["sort", "order", "limit", "starting_after", "ending_before", "include_total"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["webhooks"] },
99
+ "webhooks:list": { method: "GET", path: "/v1/webhooks", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["sort", "order", "limit", "starting_after", "ending_before", "include_total", "url"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["webhooks"] },
100
100
  "webhooks:get": { method: "GET", 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: false, scopes: ["webhooks"] },
101
- "webhooks:create": { method: "POST", path: "/v1/webhooks", pathParams: [], topLevel: ["url", "events"], collections: ["additionalFields"], query: [], body: ["url", "events", "description"], jsonFields: [], structured: {}, renames: {}, arrayFields: ["events"], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
101
+ "webhooks:create": { method: "POST", path: "/v1/webhooks", pathParams: [], topLevel: ["events"], collections: ["additionalFields"], query: [], body: ["url", "events", "description"], jsonFields: [], structured: {}, renames: {}, arrayFields: ["events"], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
102
102
  "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"] },
103
103
  "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"] },
104
104
  "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"] },
105
105
  "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"] },
106
106
  "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"] },
107
- "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"] },
107
+ "webhooks:update": { method: "PATCH", path: "/v1/webhooks/{webhook_id}", pathParams: ["webhook_id"], topLevel: ["webhook_id"], collections: ["updateFields"], query: [], body: ["url", "description", "events", "credentials", "status"], jsonFields: [], structured: { "credentials": "map" }, renames: {}, arrayFields: ["events"], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["webhooks"] },
108
108
  "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"] },
109
109
  "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: [] },
110
110
  "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.17.0",
3
+ "version": "0.19.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": {